Commit 2c2915da authored by Cedric Roux's avatar Cedric Roux

reestablish only exisiting RBs

parent 107913d6
...@@ -1052,9 +1052,10 @@ static void rrc_gNB_generate_RRCReestablishment(rrc_gNB_ue_context_t *ue_context ...@@ -1052,9 +1052,10 @@ static void rrc_gNB_generate_RRCReestablishment(rrc_gNB_ue_context_t *ue_context
} }
// TODO: should send E1 UE Bearer Modification with PDCP Reestablishment flag // TODO: should send E1 UE Bearer Modification with PDCP Reestablishment flag
/* TODO: reestablish only exisiting RBs */ for (int drb_id = 1; drb_id <= MAX_DRBS_PER_UE; drb_id++) {
for (int drb_id = 1; drb_id <= MAX_DRBS_PER_UE; drb_id++) if (ue_p->established_drbs[drb_id - 1].status != DRB_INACTIVE)
nr_pdcp_reestablishment(ue_p->rrc_ue_id, drb_id, false); nr_pdcp_reestablishment(ue_p->rrc_ue_id, drb_id, false);
}
f1_ue_data_t ue_data = cu_get_f1_ue_data(ue_p->rrc_ue_id); f1_ue_data_t ue_data = cu_get_f1_ue_data(ue_p->rrc_ue_id);
RETURN_IF_INVALID_ASSOC_ID(ue_data); RETURN_IF_INVALID_ASSOC_ID(ue_data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment