nr,gnb,rrc: remove obsolete TODO comment and set default rrc inactivity timeout

master
Francisco 3 years ago committed by Francisco Paisana
parent 61e923a6a6
commit 68ec3eaba0

@ -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<srsran::CIPHERING_ALGORITHM_ID_NR_ENUM, srsran::CIPHERING_ALGORITHM_ID_NR_N_ITEMS> nea_preference_list;

@ -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:

Loading…
Cancel
Save