From a42c20b73d66b5f18f5a5753102f2beb70e2a7cd Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Tue, 16 Jun 2020 19:33:56 +0100 Subject: [PATCH] preemptive transmission of the rrc reconf complete --- srsue/src/stack/rrc/rrc_procedures.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srsue/src/stack/rrc/rrc_procedures.cc b/srsue/src/stack/rrc/rrc_procedures.cc index 5d1a6e897..c12fbc49e 100644 --- a/srsue/src/stack/rrc/rrc_procedures.cc +++ b/srsue/src/stack/rrc/rrc_procedures.cc @@ -1448,6 +1448,9 @@ srslte::proc_outcome_t rrc::ho_proc::react(srsue::cell_select_event_t ev) rrc_ptr->pdcp->config_security_all(rrc_ptr->sec_cfg); + // Have RRCReconfComplete message ready when Msg3 is sent + rrc_ptr->send_rrc_con_reconfig_complete(); + state = wait_ra_completion; return proc_outcome_t::yield; } @@ -1517,8 +1520,6 @@ void rrc::ho_proc::then(const srslte::proc_state_t& result) Info("Finished HO Preparation %s\n", result.is_success() ? "successfully" : "with error"); if (result.is_error()) { rrc_ptr->con_reconfig_failed(); - } else { - rrc_ptr->send_rrc_con_reconfig_complete(); } }