Change order which reestablish is called in eNB

Make sure that RLC info queue is reset when reestablish happens
This commit is contained in:
Pedro Alvarez 2021-02-17 18:48:01 +00:00
parent a7949e69c8
commit ba5367bc56
2 changed files with 5 additions and 1 deletions

View File

@ -242,6 +242,10 @@ void rlc_am_lte::rlc_am_lte_tx::stop()
// Drop all messages in RETX queue
retx_queue.clear();
// Drop all SDU info in queue
undelivered_sdu_info_queue.clear();
pthread_mutex_unlock(&mutex);
}

View File

@ -970,8 +970,8 @@ void rrc::ue::rrc_mobility::handle_crnti_ce(intraenb_ho_st& s, const user_crnti_
if (is_first_crnti_ce) {
// Need to reset SNs of bearers.
rrc_enb->pdcp->reestablish(rrc_ue->rnti);
rrc_enb->rlc->reestablish(rrc_ue->rnti);
rrc_enb->pdcp->reestablish(rrc_ue->rnti);
// Change PCell in MAC/Scheduler
rrc_ue->mac_ctrl.handle_crnti_ce(ev.temp_crnti);