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
Michael Black
OpenXG-RAN
Commits
29ec2715
Commit
29ec2715
authored
Nov 23, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes at UE for transform precoding
parent
f82bba55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+5
-7
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
29ec2715
...
@@ -145,8 +145,7 @@ void ul_layers_config(NR_UE_MAC_INST_t *mac, nfapi_nr_ue_pusch_pdu_t *pusch_conf
...
@@ -145,8 +145,7 @@ void ul_layers_config(NR_UE_MAC_INST_t *mac, nfapi_nr_ue_pusch_pdu_t *pusch_conf
NR_SRS_Config_t
*
srs_config
=
current_UL_BWP
->
srs_Config
;
NR_SRS_Config_t
*
srs_config
=
current_UL_BWP
->
srs_Config
;
NR_PUSCH_Config_t
*
pusch_Config
=
current_UL_BWP
->
pusch_Config
;
NR_PUSCH_Config_t
*
pusch_Config
=
current_UL_BWP
->
pusch_Config
;
long
transformPrecoder
=
get_transformPrecoding
(
current_UL_BWP
,
dci_format
,
0
);
int
transformPrecoder
=
pusch_config_pdu
->
transform_precoding
;
pusch_config_pdu
->
transform_precoding
=
transformPrecoder
;
/* PRECOD_NBR_LAYERS */
/* PRECOD_NBR_LAYERS */
// 0 bits if the higher layer parameter txConfig = nonCodeBook
// 0 bits if the higher layer parameter txConfig = nonCodeBook
...
@@ -606,7 +605,6 @@ int nr_config_pusch_pdu(NR_UE_MAC_INST_t *mac, NR_tda_info_t *tda_info, nfapi_nr
...
@@ -606,7 +605,6 @@ int nr_config_pusch_pdu(NR_UE_MAC_INST_t *mac, NR_tda_info_t *tda_info, nfapi_nr
pusch_config_pdu
->
scid
=
dci
->
dmrs_sequence_initialization
.
val
;
pusch_config_pdu
->
scid
=
dci
->
dmrs_sequence_initialization
.
val
;
/* TRANSFORM PRECODING ------------------------------------------------------------------------------------------*/
/* TRANSFORM PRECODING ------------------------------------------------------------------------------------------*/
if
(
pusch_config_pdu
->
transform_precoding
==
NR_PUSCH_Config__transformPrecoder_enabled
)
{
if
(
pusch_config_pdu
->
transform_precoding
==
NR_PUSCH_Config__transformPrecoder_enabled
)
{
pusch_config_pdu
->
num_dmrs_cdm_grps_no_data
=
2
;
pusch_config_pdu
->
num_dmrs_cdm_grps_no_data
=
2
;
...
@@ -616,15 +614,15 @@ int nr_config_pusch_pdu(NR_UE_MAC_INST_t *mac, NR_tda_info_t *tda_info, nfapi_nr
...
@@ -616,15 +614,15 @@ int nr_config_pusch_pdu(NR_UE_MAC_INST_t *mac, NR_tda_info_t *tda_info, nfapi_nr
NR_DMRS_ulconfig
->
transformPrecodingEnabled
->
nPUSCH_Identity
!=
NULL
)
NR_DMRS_ulconfig
->
transformPrecodingEnabled
->
nPUSCH_Identity
!=
NULL
)
n_RS_Id
=
*
NR_DMRS_ulconfig
->
transformPrecodingEnabled
->
nPUSCH_Identity
;
n_RS_Id
=
*
NR_DMRS_ulconfig
->
transformPrecodingEnabled
->
nPUSCH_Identity
;
else
else
n_RS_Id
=
*
mac
->
sc
c
->
physCellId
;
n_RS_Id
=
ma
c
->
physCellId
;
// U as specified in section 6.4.1.1.1.2 in 38.211, if sequence hopping and group hopping are disabled
// U as specified in section 6.4.1.1.1.2 in 38.211, if sequence hopping and group hopping are disabled
pusch_config_pdu
->
dfts_ofdm
.
low_papr_group_number
=
n_RS_Id
%
30
;
pusch_config_pdu
->
dfts_ofdm
.
low_papr_group_number
=
n_RS_Id
%
30
;
// V as specified in section 6.4.1.1.1.2 in 38.211 V = 0 if sequence hopping and group hopping are disabled
// V as specified in section 6.4.1.1.1.2 in 38.211 V = 0 if sequence hopping and group hopping are disabled
if
(
(
NR_DMRS_ulconfig
->
transformPrecodingEnabled
->
sequenceGroupHopping
==
NULL
)
&&
if
(
!
NR_DMRS_ulconfig
||
!
NR_DMRS_ulconfig
->
transformPrecodingEnabled
||
(
NR_DMRS_ulconfig
->
transformPrecodingEnabled
->
sequenceHopping
==
NULL
))
(
!
NR_DMRS_ulconfig
->
transformPrecodingEnabled
->
sequenceGroupHopping
&&
!
NR_DMRS_ulconfig
->
transformPrecodingEnabled
->
sequenceHopping
))
pusch_config_pdu
->
dfts_ofdm
.
low_papr_sequence_number
=
0
;
pusch_config_pdu
->
dfts_ofdm
.
low_papr_sequence_number
=
0
;
else
else
AssertFatal
(
1
==
0
,
"SequenceGroupHopping or sequenceHopping are NOT Supported
\n
"
);
AssertFatal
(
1
==
0
,
"SequenceGroupHopping or sequenceHopping are NOT Supported
\n
"
);
...
...
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