From a5f9ea56546dcd2d504542d2d6795d4cc5a72597 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Wed, 28 Oct 2020 11:50:32 +0100 Subject: [PATCH] SRSUE: force paging for every cell reselection procedure end --- srsue/src/stack/rrc/rrc_procedures.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srsue/src/stack/rrc/rrc_procedures.cc b/srsue/src/stack/rrc/rrc_procedures.cc index 5e2d5227a..fe07c1623 100644 --- a/srsue/src/stack/rrc/rrc_procedures.cc +++ b/srsue/src/stack/rrc/rrc_procedures.cc @@ -1262,6 +1262,12 @@ void rrc::cell_reselection_proc::then(const srslte::proc_state_t& result) reselection_timer.set(cell_reselection_periodicity_ms); } + // starts listening to paging (PCCH) if necessary + // TODO: make sure PCCH is enabled in all possible idle cases. + if (rrc_ptr->phy_ctrl->is_in_sync() and rrc_ptr->state == RRC_STATE_IDLE) { + rrc_ptr->mac->pcch_start_rx(); + } + reselection_timer.run(); } }