|
|
@ -1010,6 +1010,7 @@ proc_outcome_t rrc::go_idle_proc::init()
|
|
|
|
srslte::proc_outcome_t rrc::go_idle_proc::react(bool timeout)
|
|
|
|
srslte::proc_outcome_t rrc::go_idle_proc::react(bool timeout)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
rrc_ptr->leave_connected();
|
|
|
|
rrc_ptr->leave_connected();
|
|
|
|
|
|
|
|
Info("Left connected state\n");
|
|
|
|
return proc_outcome_t::success;
|
|
|
|
return proc_outcome_t::success;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1024,6 +1025,7 @@ proc_outcome_t rrc::go_idle_proc::step()
|
|
|
|
// wait for max. 2s for RLC on SRB1 to be flushed
|
|
|
|
// wait for max. 2s for RLC on SRB1 to be flushed
|
|
|
|
if (rrc_ptr->rlc->is_suspended(RB_ID_SRB1) || not rrc_ptr->rlc->has_data(RB_ID_SRB1)) {
|
|
|
|
if (rrc_ptr->rlc->is_suspended(RB_ID_SRB1) || not rrc_ptr->rlc->has_data(RB_ID_SRB1)) {
|
|
|
|
rrc_ptr->leave_connected();
|
|
|
|
rrc_ptr->leave_connected();
|
|
|
|
|
|
|
|
Info("Left connected state\n");
|
|
|
|
return proc_outcome_t::success;
|
|
|
|
return proc_outcome_t::success;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
Debug("Postponing transition to RRC IDLE (%d ms < %d ms)\n", rlc_flush_timer.time_elapsed(), rlc_flush_timeout);
|
|
|
|
Debug("Postponing transition to RRC IDLE (%d ms < %d ms)\n", rlc_flush_timer.time_elapsed(), rlc_flush_timeout);
|
|
|
|