Commit 6e6a108a authored by Robert Schmidt's avatar Robert Schmidt

Fixup -- can also remove Msg4_ACKed?

parent 10d3b5ca
......@@ -2946,7 +2946,7 @@ void nr_csirs_scheduling(int Mod_idP, frame_t frame, sub_frame_t slot, int n_slo
}
}
static void nr_mac_apply_cellgroup(gNB_MAC_INST *mac, NR_UE_info_t *UE, frame_t frame, sub_frame_t slot)
void nr_mac_apply_cellgroup(gNB_MAC_INST *mac, NR_UE_info_t *UE, frame_t frame, sub_frame_t slot)
{
LOG_D(NR_MAC, "%4d.%2d RNTI %04x: RRC processing timer expired\n", frame, slot, UE->rnti);
......
......@@ -453,4 +453,6 @@ bool nr_mac_remove_lcid(NR_UE_sched_ctrl_t *sched_ctrl, long lcid);
bool nr_mac_get_new_rnti(NR_UEs_t *UEs, const NR_RA_t *ra_base, int ra_count, rnti_t *rnti);
void nr_mac_apply_cellgroup(gNB_MAC_INST *mac, NR_UE_info_t *UE, frame_t frame, sub_frame_t slot);
#endif /*__LAYER2_NR_MAC_PROTO_H__*/
......@@ -415,6 +415,7 @@ static NR_UE_info_t *create_new_UE_handover(gNB_MAC_INST *mac, uint32_t cu_id)
// note: we don't pass it to add_new_nr_ue() because the internal logic is
// such that we then assume having received the ack of Msg4 (which is not the
// case)
UE->Msg4_ACKed = true;
UE->CellGroup = cellGroupConfig;
UE->CellGroup->spCellConfig->reconfigurationWithSync = get_reconfiguration_with_sync(UE->rnti, UE->uid, scc);
nr_rlc_activate_srb0(UE->rnti, UE, NULL);
......
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