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
c4547c7a
Commit
c4547c7a
authored
Feb 18, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing wrong interpretation of support for 256qam table
parent
9f02206b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
25 deletions
+1
-25
openair2/RRC/NR/nr_rrc_config.c
openair2/RRC/NR/nr_rrc_config.c
+1
-25
No files found.
openair2/RRC/NR/nr_rrc_config.c
View file @
c4547c7a
...
@@ -184,31 +184,7 @@ void set_dl_mcs_table(int scs, NR_UE_NR_Capability_t *cap,
...
@@ -184,31 +184,7 @@ void set_dl_mcs_table(int scs, NR_UE_NR_Capability_t *cap,
else
if
(
cap
->
phy_Parameters
.
phy_ParametersFR1
&&
cap
->
phy_Parameters
.
phy_ParametersFR1
->
pdsch_256QAM_FR1
)
else
if
(
cap
->
phy_Parameters
.
phy_ParametersFR1
&&
cap
->
phy_Parameters
.
phy_ParametersFR1
->
pdsch_256QAM_FR1
)
supported
=
true
;
supported
=
true
;
// check featureSet
if
(
supported
)
{
NR_FeatureSets_t
*
fs
=
cap
->
featureSets
;
NR_ModulationOrder_t
supported_mo
=
0
;
if
(
fs
&&
supported
)
{
// go through DL feature sets and look for one with current SCS
for
(
int
i
=
0
;
i
<
fs
->
featureSetsDownlinkPerCC
->
list
.
count
;
i
++
)
{
int
supported_bw
;
NR_FeatureSetDownlinkPerCC_t
*
fs_cc
=
fs
->
featureSetsDownlinkPerCC
->
list
.
array
[
i
];
switch
(
fs_cc
->
supportedBandwidthDL
.
present
)
{
case
NR_SupportedBandwidth_PR_fr1
:
supported_bw
=
fs_cc
->
supportedBandwidthDL
.
choice
.
fr1
;
break
;
case
NR_SupportedBandwidth_PR_fr2
:
supported_bw
=
fs_cc
->
supportedBandwidthDL
.
choice
.
fr2
;
break
;
default:
AssertFatal
(
1
==
0
,
"Invalid parameter for supported bandwith choice
\n
"
);
}
if
(
fs_cc
->
supportedSubcarrierSpacingDL
==
scs
&&
supported_bw
==
bw
&&
fs_cc
->
supportedModulationOrderDL
)
supported_mo
=
*
fs_cc
->
supportedModulationOrderDL
;
}
}
if
(
supported
&&
(
supported_mo
==
NR_ModulationOrder_qam256
))
{
if
(
bwp_Dedicated
->
pdsch_Config
->
choice
.
setup
->
mcs_Table
==
NULL
)
if
(
bwp_Dedicated
->
pdsch_Config
->
choice
.
setup
->
mcs_Table
==
NULL
)
bwp_Dedicated
->
pdsch_Config
->
choice
.
setup
->
mcs_Table
=
calloc
(
1
,
sizeof
(
*
bwp_Dedicated
->
pdsch_Config
->
choice
.
setup
->
mcs_Table
));
bwp_Dedicated
->
pdsch_Config
->
choice
.
setup
->
mcs_Table
=
calloc
(
1
,
sizeof
(
*
bwp_Dedicated
->
pdsch_Config
->
choice
.
setup
->
mcs_Table
));
*
bwp_Dedicated
->
pdsch_Config
->
choice
.
setup
->
mcs_Table
=
NR_PDSCH_Config__mcs_Table_qam256
;
*
bwp_Dedicated
->
pdsch_Config
->
choice
.
setup
->
mcs_Table
=
NR_PDSCH_Config__mcs_Table_qam256
;
...
...
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