diff --git a/srsgnb/hdr/stack/rrc/rrc_nr_config.h b/srsgnb/hdr/stack/rrc/rrc_nr_config.h index 11c4873f1..3e289ac4c 100644 --- a/srsgnb/hdr/stack/rrc/rrc_nr_config.h +++ b/srsgnb/hdr/stack/rrc/rrc_nr_config.h @@ -51,7 +51,7 @@ struct rrc_nr_cfg_t { rrc_nr_cfg_sr_t sr_cfg; rrc_cfg_cqi_t cqi_cfg; rrc_cell_list_nr_t cell_list; - uint32_t inactivity_timeout_ms; + uint32_t inactivity_timeout_ms = 100000; bool is_standalone; std::array nea_preference_list; diff --git a/srsgnb/src/stack/rrc/rrc_nr_ue.cc b/srsgnb/src/stack/rrc/rrc_nr_ue.cc index 7c35f2392..00a25860e 100644 --- a/srsgnb/src/stack/rrc/rrc_nr_ue.cc +++ b/srsgnb/src/stack/rrc/rrc_nr_ue.cc @@ -58,7 +58,6 @@ void rrc_nr::ue::set_activity_timeout(activity_timeout_type_t type) deadline_ms = 5000; break; case UE_INACTIVITY_TIMEOUT: - // TODO: Retrieve the parameters from somewhere(RRC?) - Currently hardcoded to 5s deadline_ms = parent->cfg.inactivity_timeout_ms; break; default: