Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangwenhui
OpenXG-RAN
Commits
0d243546
Commit
0d243546
authored
Nov 20, 2020
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Isolate DMRS config type in ULSCH
parent
c821dd0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+10
-10
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
0d243546
...
...
@@ -588,6 +588,15 @@ void nr_schedule_ulsch(module_id_t module_id,
else
transform_precoding
=
*
pusch_Config
->
transformPrecoder
;
const
int
target_ss
=
NR_SearchSpace__searchSpaceType_PR_ue_Specific
;
/* DMRS calculations */
const
int
mapping_type
=
tdaList
->
list
.
array
[
tda
]
->
mappingType
;
const
NR_DMRS_UplinkConfig_t
*
NR_DMRS_UplinkConfig
=
mapping_type
==
NR_PUSCH_TimeDomainResourceAllocation__mappingType_typeA
?
pusch_Config
->
dmrs_UplinkForPUSCH_MappingTypeA
->
choice
.
setup
:
pusch_Config
->
dmrs_UplinkForPUSCH_MappingTypeB
->
choice
.
setup
;
const
uint8_t
dmrs_config_type
=
NR_DMRS_UplinkConfig
->
dmrs_Type
==
NULL
?
0
:
1
;
uint8_t
mcs_table
=
0
;
if
(
transform_precoding
)
mcs_table
=
get_pusch_mcs_table
(
pusch_Config
->
mcs_Table
,
...
...
@@ -671,16 +680,7 @@ void nr_schedule_ulsch(module_id_t module_id,
// --------------------
// ------- DMRS -------
// --------------------
const
int
mapping_type
=
tdaList
->
list
.
array
[
tda
]
->
mappingType
;
NR_DMRS_UplinkConfig_t
*
NR_DMRS_UplinkConfig
;
if
(
mapping_type
==
NR_PUSCH_TimeDomainResourceAllocation__mappingType_typeA
)
NR_DMRS_UplinkConfig
=
pusch_Config
->
dmrs_UplinkForPUSCH_MappingTypeA
->
choice
.
setup
;
else
NR_DMRS_UplinkConfig
=
pusch_Config
->
dmrs_UplinkForPUSCH_MappingTypeB
->
choice
.
setup
;
if
(
NR_DMRS_UplinkConfig
->
dmrs_Type
==
NULL
)
pusch_pdu
->
dmrs_config_type
=
0
;
else
pusch_pdu
->
dmrs_config_type
=
1
;
pusch_pdu
->
dmrs_config_type
=
dmrs_config_type
;
pusch_pdu
->
scid
=
0
;
// DMRS sequence initialization [TS38.211, sec 6.4.1.1.1]
if
(
pusch_pdu
->
transform_precoding
)
{
// transform precoding disabled
long
*
scramblingid
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment