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
wangjie
OpenXG-RAN
Commits
93fd90e2
Commit
93fd90e2
authored
Nov 20, 2020
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Isolate DMRS ul_dmrs_symb_pos and dmrs_cdm_grps_no_data in ULSCH
parent
7c7075d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+7
-7
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
93fd90e2
...
...
@@ -606,6 +606,11 @@ void nr_schedule_ulsch(module_id_t module_id,
const
pusch_maxLength_t
pusch_maxLength
=
NR_DMRS_UplinkConfig
->
maxLength
==
NULL
?
1
:
2
;
uint16_t
l_prime_mask
=
get_l_prime
(
NrOfSymbols
,
mapping_type
,
additional_pos
,
pusch_maxLength
);
const
uint16_t
ul_dmrs_symb_pos
=
l_prime_mask
<<
StartSymbolIndex
;
uint8_t
num_dmrs_symb
=
0
;
for
(
int
i
=
StartSymbolIndex
;
i
<
StartSymbolIndex
+
NrOfSymbols
;
i
++
)
num_dmrs_symb
+=
(
ul_dmrs_symb_pos
>>
i
)
&
1
;
const
uint8_t
num_dmrs_cdm_grps_no_data
=
1
;
uint8_t
mcs_table
=
0
;
if
(
transform_precoding
)
...
...
@@ -710,9 +715,8 @@ void nr_schedule_ulsch(module_id_t module_id,
else
pusch_pdu
->
pusch_identity
=
*
scc
->
physCellId
;
}
pusch_pdu
->
ul_dmrs_symb_pos
=
l_prime_mask
<<
pusch_pdu
->
start_symbol_index
;
pusch_pdu
->
num_dmrs_cdm_grps_no_data
=
1
;
pusch_pdu
->
ul_dmrs_symb_pos
=
ul_dmrs_symb_pos
;
pusch_pdu
->
num_dmrs_cdm_grps_no_data
=
num_dmrs_cdm_grps_no_data
;
pusch_pdu
->
dmrs_ports
=
1
;
// --------------------
...
...
@@ -740,10 +744,6 @@ void nr_schedule_ulsch(module_id_t module_id,
pusch_pdu
->
pusch_data
.
new_data_indicator
=
cur_harq
->
ndi
;
pusch_pdu
->
pusch_data
.
rv_index
=
nr_rv_round_map
[
cur_harq
->
round
];
uint8_t
num_dmrs_symb
=
0
;
for
(
int
i
=
pusch_pdu
->
start_symbol_index
;
i
<
pusch_pdu
->
start_symbol_index
+
pusch_pdu
->
nr_of_symbols
;
i
++
)
num_dmrs_symb
+=
(
pusch_pdu
->
ul_dmrs_symb_pos
>>
i
)
&
1
;
uint8_t
N_PRB_DMRS
;
if
(
pusch_pdu
->
dmrs_config_type
==
0
)
N_PRB_DMRS
=
pusch_pdu
->
num_dmrs_cdm_grps_no_data
*
6
;
...
...
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