From d38188e153d42adc1c203446b47a3c8fd913004e Mon Sep 17 00:00:00 2001 From: Guido Casati Date: Wed, 21 Jan 2026 12:30:56 +0100 Subject: [PATCH] RRC: remove unused drbs configuration parameter - Delete drbs field from gNB_RrcConfigurationReq and its use in RCconfig_NRRRC() - Remove GNB_CONFIG_STRING_DRBS, help text, index, and GNBPARAMS_CHECK entry from gnb_paramdef.h - Drop DU-side verification and DRB count logging in gnb_config.c --- doc/RRC/rrc-usage.md | 2 -- openair2/COMMON/rrc_messages_types.h | 1 - openair2/GNB_APP/gnb_config.c | 3 --- openair2/GNB_APP/gnb_paramdef.h | 33 ++++++++++++---------------- 4 files changed, 14 insertions(+), 25 deletions(-) diff --git a/doc/RRC/rrc-usage.md b/doc/RRC/rrc-usage.md index bae31e864a..05f55d5123 100644 --- a/doc/RRC/rrc-usage.md +++ b/doc/RRC/rrc-usage.md @@ -94,8 +94,6 @@ the [MAC configuration](../MAC/mac-usage.md) as well for SIB configuration. - `um_on_default_drb` (default: false): use RLC UM instead of RLC AM on default bearers -- `drbs` (default: 0): the number of DRBs to allocate for a UE, only useful for - do-ra or phy-test testing #### Neighbor-gNB configuration diff --git a/openair2/COMMON/rrc_messages_types.h b/openair2/COMMON/rrc_messages_types.h index cfc6914f4b..6b69959168 100644 --- a/openair2/COMMON/rrc_messages_types.h +++ b/openair2/COMMON/rrc_messages_types.h @@ -422,7 +422,6 @@ typedef struct NRRrcConfigurationReq_s { bool um_on_default_drb; bool enable_sdap; - int drbs; } gNB_RrcConfigurationReq; typedef struct NRDuDlReq_s { diff --git a/openair2/GNB_APP/gnb_config.c b/openair2/GNB_APP/gnb_config.c index 0b3845f5b9..01c44650ae 100644 --- a/openair2/GNB_APP/gnb_config.c +++ b/openair2/GNB_APP/gnb_config.c @@ -717,7 +717,6 @@ void RCconfig_verify(configmodule_interface_t *cfg, ngran_node_t node_type) } else if (NODE_IS_DU(node_type)) { // verify that there is no bearer config verify_gnb_param_notset(gnbp, GNB_ENABLE_SDAP_IDX, GNB_CONFIG_STRING_ENABLE_SDAP); - verify_gnb_param_notset(gnbp, GNB_DRBS, GNB_CONFIG_STRING_DRBS); verify_section_notset(cfg, GNB_CONFIG_STRING_GNB_LIST ".[0]", GNB_CONFIG_STRING_AMF_IP_ADDRESS); verify_section_notset(cfg, NULL, CONFIG_STRING_SECURITY); @@ -2092,9 +2091,7 @@ gNB_RRC_INST *RCconfig_NRRRC() nrrrc_config.num_plmn = set_plmn_config(nrrrc_config.plmn, k); nrrrc_config.enable_sdap = *GNBParamList.paramarray[i][GNB_ENABLE_SDAP_IDX].iptr; LOG_I(GNB_APP, "SDAP layer is %s\n", nrrrc_config.enable_sdap ? "enabled" : "disabled"); - nrrrc_config.drbs = *GNBParamList.paramarray[i][GNB_DRBS].iptr; nrrrc_config.um_on_default_drb = *(GNBParamList.paramarray[i][GNB_UMONDEFAULTDRB_IDX].uptr); - LOG_I(GNB_APP, "Data Radio Bearer count %d\n", nrrrc_config.drbs); }// }//End for (k=0; k