Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openairinterface-6g
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
OpenXG
openairinterface-6g
Commits
78f36b64
Commit
78f36b64
authored
Oct 22, 2025
by
Robert Schmidt
Committed by
francescomani
Oct 23, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use of config module handling for CSI report type input
parent
e06d0c71
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
openair2/GNB_APP/gnb_config.c
openair2/GNB_APP/gnb_config.c
+4
-9
openair2/GNB_APP/gnb_paramdef.h
openair2/GNB_APP/gnb_paramdef.h
+4
-1
No files found.
openair2/GNB_APP/gnb_config.c
View file @
78f36b64
...
@@ -1432,14 +1432,8 @@ void RCconfig_nr_macrlc(configmodule_interface_t *cfg)
...
@@ -1432,14 +1432,8 @@ void RCconfig_nr_macrlc(configmodule_interface_t *cfg)
config
.
do_CSIRS
=
*
GNBParamList
.
paramarray
[
0
][
GNB_DO_CSIRS_IDX
].
iptr
;
config
.
do_CSIRS
=
*
GNBParamList
.
paramarray
[
0
][
GNB_DO_CSIRS_IDX
].
iptr
;
config
.
do_SRS
=
*
GNBParamList
.
paramarray
[
0
][
GNB_DO_SRS_IDX
].
iptr
;
config
.
do_SRS
=
*
GNBParamList
.
paramarray
[
0
][
GNB_DO_SRS_IDX
].
iptr
;
config
.
max_num_rsrp
=
*
GNBParamList
.
paramarray
[
0
][
GNB_LIMIT_RSRP_REPORT_IDX
].
iptr
;
config
.
max_num_rsrp
=
*
GNBParamList
.
paramarray
[
0
][
GNB_LIMIT_RSRP_REPORT_IDX
].
iptr
;
if
(
strcmp
(
*
(
GNBParamList
.
paramarray
[
0
][
GNB_CONFIG_REP_IDX
].
strptr
),
"ssb_rsrp"
)
==
0
)
const
char
*
report_type_s
=
*
GNBParamList
.
paramarray
[
0
][
GNB_CONFIG_REP_IDX
].
strptr
;
config
.
report_type
=
SSB_RSRP
;
config
.
report_type
=
config_get_processedint
(
cfg
,
&
GNBParamList
.
paramarray
[
0
][
GNB_CONFIG_REP_IDX
]);
else
if
(
strcmp
(
*
(
GNBParamList
.
paramarray
[
0
][
GNB_CONFIG_REP_IDX
].
strptr
),
"ssb_sinr"
)
==
0
)
config
.
report_type
=
SSB_SINR
;
else
if
(
strcmp
(
*
(
GNBParamList
.
paramarray
[
0
][
GNB_CONFIG_REP_IDX
].
strptr
),
"cri_rsrp"
)
==
0
)
config
.
report_type
=
CRI_RSRP
;
else
AssertFatal
(
false
,
"Invalid report type
\n
"
);
config
.
force_256qam_off
=
*
GNBParamList
.
paramarray
[
0
][
GNB_FORCE256QAMOFF_IDX
].
iptr
;
config
.
force_256qam_off
=
*
GNBParamList
.
paramarray
[
0
][
GNB_FORCE256QAMOFF_IDX
].
iptr
;
config
.
force_UL256qam_off
=
*
GNBParamList
.
paramarray
[
0
][
GNB_FORCEUL256QAMOFF_IDX
].
iptr
;
config
.
force_UL256qam_off
=
*
GNBParamList
.
paramarray
[
0
][
GNB_FORCEUL256QAMOFF_IDX
].
iptr
;
config
.
use_deltaMCS
=
*
GNBParamList
.
paramarray
[
0
][
GNB_USE_DELTA_MCS_IDX
].
iptr
!=
0
;
config
.
use_deltaMCS
=
*
GNBParamList
.
paramarray
[
0
][
GNB_USE_DELTA_MCS_IDX
].
iptr
!=
0
;
...
@@ -1450,10 +1444,11 @@ void RCconfig_nr_macrlc(configmodule_interface_t *cfg)
...
@@ -1450,10 +1444,11 @@ void RCconfig_nr_macrlc(configmodule_interface_t *cfg)
if
(
config
.
disable_harq
)
if
(
config
.
disable_harq
)
LOG_W
(
GNB_APP
,
"
\"
disable_harq
\"
is a REL17 feature and is incompatible with REL15 and REL16 UEs!
\n
"
);
LOG_W
(
GNB_APP
,
"
\"
disable_harq
\"
is a REL17 feature and is incompatible with REL15 and REL16 UEs!
\n
"
);
LOG_I
(
GNB_APP
,
LOG_I
(
GNB_APP
,
"CSI-RS %d, SRS %d, rep
rt type:%d
, 256 QAM %s, delta_MCS %s, maxMIMO_Layers %d, HARQ feedback %s, num DLHARQ:%d, num ULHARQ:%d
\n
"
,
"CSI-RS %d, SRS %d, rep
ort type %d (%s)
, 256 QAM %s, delta_MCS %s, maxMIMO_Layers %d, HARQ feedback %s, num DLHARQ:%d, num ULHARQ:%d
\n
"
,
config
.
do_CSIRS
,
config
.
do_CSIRS
,
config
.
do_SRS
,
config
.
do_SRS
,
config
.
report_type
,
config
.
report_type
,
report_type_s
,
config
.
force_256qam_off
?
"force off"
:
"may be on"
,
config
.
force_256qam_off
?
"force off"
:
"may be on"
,
config
.
use_deltaMCS
?
"on"
:
"off"
,
config
.
use_deltaMCS
?
"on"
:
"off"
,
config
.
maxMIMO_layers
,
config
.
maxMIMO_layers
,
...
...
openair2/GNB_APP/gnb_paramdef.h
View file @
78f36b64
...
@@ -293,7 +293,10 @@ typedef enum {
...
@@ -293,7 +293,10 @@ typedef enum {
{ .s5 = { NULL } }, \
{ .s5 = { NULL } }, \
{ .s5 = { NULL } }, \
{ .s5 = { NULL } }, \
{ .s5 = { NULL } }, \
{ .s5 = { NULL } }, \
{ .s5 = { NULL } }, \
{ .s3a = { config_checkstr_assign_integer, \
{"ssb_rsrp", "ssb_sinr", "cri_rsrp"}, \
{SSB_RSRP, SSB_SINR, CRI_RSRP}, \
3 } }, \
{ .s5 = { NULL } }, \
{ .s5 = { NULL } }, \
{ .s5 = { NULL } }, \
{ .s5 = { NULL } }, \
}
}
...
...
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