From 5302fcfa4df95f7dcc63d4b92bf83031aff064c4 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Wed, 29 Jan 2020 12:05:22 +0100 Subject: [PATCH] SRSUE: listen to paging only when RRC is IDLE --- srsue/src/stack/rrc/rrc_procedures.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srsue/src/stack/rrc/rrc_procedures.cc b/srsue/src/stack/rrc/rrc_procedures.cc index 95540e1b0..317441ff3 100644 --- a/srsue/src/stack/rrc/rrc_procedures.cc +++ b/srsue/src/stack/rrc/rrc_procedures.cc @@ -873,7 +873,10 @@ proc_outcome_t rrc::cell_reselection_proc::step() Info("Cell Selection completed. Handling its result...\n"); switch (*cell_selection_fut.value()) { case cs_result_t::changed_cell: - Info("New cell has been selected\n"); + if (rrc_ptr->state == rrc_state_t::RRC_STATE_IDLE) { + Info("New cell has been selected, start receiving PCCH\n"); + rrc_ptr->mac->pcch_start_rx(); + } break; case cs_result_t::no_cell: Warning("Could not find any cell to camp on\n");