From 643b5a188583827266a7f79f43470ec6469d9ffc Mon Sep 17 00:00:00 2001 From: Francisco Date: Sun, 17 Oct 2021 23:41:39 +0100 Subject: [PATCH] nr,gnb,rrc: Add comment explaining how the UE rrc_endc is updated in case of reestablishment --- srsenb/src/stack/rrc/rrc_ue.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srsenb/src/stack/rrc/rrc_ue.cc b/srsenb/src/stack/rrc/rrc_ue.cc index 4c7ee845a..56c1a686d 100644 --- a/srsenb/src/stack/rrc/rrc_ue.cc +++ b/srsenb/src/stack/rrc/rrc_ue.cc @@ -699,8 +699,12 @@ void rrc::ue::handle_rrc_con_reest_req(rrc_conn_reest_request_s* msg) } if (endc_handler) { if (req_r8.reest_cause.value == reest_cause_opts::recfg_fail) { + // In case of Reestablishment due to ReconfFailure, avoid re-enabling NR EN-DC, otherwise + // the eNB and UE may enter in a reconfiguration + reestablishment loop. endc_handler->trigger(rrc_endc::disable_endc_ev{}); } else { + // In case of Reestablishment with cause other than ReconfFailure, recompute whether + // the new RNTI supports NR EN-DC. endc_handler->handle_eutra_capabilities(eutra_capabilities); } }