Only reestablish RLC while processing reconfiguration complete after a RRCReestablishment and not for every RRCReconfiguration
This commit is contained in:
@@ -787,15 +787,15 @@ void ue_context_modification_request(const f1ap_ue_context_modif_req_t *req)
|
|||||||
// temporarily. Reapply now before doing the reconfiguration.
|
// temporarily. Reapply now before doing the reconfiguration.
|
||||||
UE->CellGroup->spCellConfig = UE->reconfigSpCellConfig;
|
UE->CellGroup->spCellConfig = UE->reconfigSpCellConfig;
|
||||||
UE->reconfigSpCellConfig = NULL;
|
UE->reconfigSpCellConfig = NULL;
|
||||||
|
for (int i = 1; i < seq_arr_size(&UE->UE_sched_ctrl.lc_config); ++i) {
|
||||||
|
nr_lc_config_t *c = seq_arr_at(&UE->UE_sched_ctrl.lc_config, i);
|
||||||
|
c->suspended = false;
|
||||||
|
nr_rlc_reestablish_entity(req->gNB_DU_ue_id, c->lcid);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// we re-configure the BWP to apply the CellGroup and to use UE specific Search Space with DCIX1
|
// we re-configure the BWP to apply the CellGroup and to use UE specific Search Space with DCIX1
|
||||||
nr_mac_clean_cellgroup(UE->CellGroup);
|
nr_mac_clean_cellgroup(UE->CellGroup);
|
||||||
configure_UE_BWP(mac, scc, UE, false, NR_SearchSpace__searchSpaceType_PR_ue_Specific, -1, -1);
|
configure_UE_BWP(mac, scc, UE, false, NR_SearchSpace__searchSpaceType_PR_ue_Specific, -1, -1);
|
||||||
for (int i = 1; i < seq_arr_size(&UE->UE_sched_ctrl.lc_config); ++i) {
|
|
||||||
nr_lc_config_t *c = seq_arr_at(&UE->UE_sched_ctrl.lc_config, i);
|
|
||||||
c->suspended = false;
|
|
||||||
nr_rlc_reestablish_entity(req->gNB_DU_ue_id, c->lcid);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ue_cap != NULL) {
|
if (ue_cap != NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user