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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
f9cebbde
Commit
f9cebbde
authored
Mar 03, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix for dl_dmrs_config in SA
parent
dcb414c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+7
-5
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
f9cebbde
...
...
@@ -865,12 +865,14 @@ int8_t nr_ue_process_dci(module_id_t module_id, int cc_id, uint8_t gNB_index, fr
}
int
mappingtype
=
pdsch_TimeDomainAllocationList
?
pdsch_TimeDomainAllocationList
->
list
.
array
[
dci
->
time_domain_assignment
.
val
]
->
mappingType
:
((
dlsch_config_pdu_1_0
->
start_symbol
<=
3
)
?
typeA
:
typeB
);
struct
NR_DMRS_DownlinkConfig
*
dl_dmrs_config
=
(
mappingtype
==
typeA
)
?
mac
->
DLbwp
[
0
]
->
bwp_Dedicated
->
pdsch_Config
->
choice
.
setup
->
dmrs_DownlinkForPDSCH_MappingTypeA
->
choice
.
setup
:
mac
->
DLbwp
[
0
]
->
bwp_Dedicated
->
pdsch_Config
->
choice
.
setup
->
dmrs_DownlinkForPDSCH_MappingTypeB
->
choice
.
setup
;
struct
NR_DMRS_DownlinkConfig
*
dl_dmrs_config
=
NULL
;
if
(
mac
->
DLbwp
[
0
])
dl_dmrs_config
=
(
mappingtype
==
typeA
)
?
mac
->
DLbwp
[
0
]
->
bwp_Dedicated
->
pdsch_Config
->
choice
.
setup
->
dmrs_DownlinkForPDSCH_MappingTypeA
->
choice
.
setup
:
mac
->
DLbwp
[
0
]
->
bwp_Dedicated
->
pdsch_Config
->
choice
.
setup
->
dmrs_DownlinkForPDSCH_MappingTypeB
->
choice
.
setup
;
dlsch_config_pdu_1_0
->
nscid
=
0
;
if
(
mac
->
DLbwp
[
0
]
&&
dl_dmrs_config
->
scramblingID0
)
if
(
dl_dmrs_config
&&
dl_dmrs_config
->
scramblingID0
)
dlsch_config_pdu_1_0
->
dlDmrsScramblingId
=
*
dl_dmrs_config
->
scramblingID0
;
else
dlsch_config_pdu_1_0
->
dlDmrsScramblingId
=
mac
->
physCellId
;
...
...
@@ -881,7 +883,7 @@ int8_t nr_ue_process_dci(module_id_t module_id, int cc_id, uint8_t gNB_index, fr
dlsch_config_pdu_1_0
->
number_symbols
,
dlsch_config_pdu_1_0
->
start_symbol
,
mappingtype
,
1
);
dlsch_config_pdu_1_0
->
dmrsConfigType
=
(
mac
->
DLbwp
[
0
]
!=
NULL
)
?
dlsch_config_pdu_1_0
->
dmrsConfigType
=
(
dl_dmrs_config
!=
NULL
)
?
(
dl_dmrs_config
->
dmrs_Type
==
NULL
?
0
:
1
)
:
0
;
/* number of DM-RS CDM groups without data according to subclause 5.1.6.2 of 3GPP TS 38.214 version 15.9.0 Release 15 */
...
...
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