|
|
@ -314,12 +314,11 @@ void rrc::release_complete(uint16_t rnti)
|
|
|
|
if (!users[rnti].is_idle()) {
|
|
|
|
if (!users[rnti].is_idle()) {
|
|
|
|
rlc->clear_buffer(rnti);
|
|
|
|
rlc->clear_buffer(rnti);
|
|
|
|
users[rnti].send_connection_release();
|
|
|
|
users[rnti].send_connection_release();
|
|
|
|
// There is no RRCReleaseComplete message from UE thus sleep to enable all retx in PHY +50%
|
|
|
|
// There is no RRCReleaseComplete message from UE thus wait ~100 subframes for tx
|
|
|
|
usleep(1500*8*cfg.mac_cnfg.ulsch_cnfg.max_harq_tx);
|
|
|
|
usleep(100000);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
rem_user(rnti);
|
|
|
|
rem_user(rnti);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
rrc_log->error("Received ReleaseComplete for unknown rnti=0x%x\n", rnti);
|
|
|
|
rrc_log->error("Received ReleaseComplete for unknown rnti=0x%x\n", rnti);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|