Msg2: Apply CellGroupConfig if necessary

After RA, in the case of HO, we need to make sure to use the right radio
configuration (MCS table, etc). This commit is important to make HO
actually work.
This commit is contained in:
Robert Schmidt
2024-10-22 18:12:51 +02:00
parent dadd05e0eb
commit 1783932e37
@@ -1678,7 +1678,8 @@ static void nr_generate_Msg2(module_id_t module_idP,
NR_UE_info_t *UE = find_nr_UE(&RC.nrmac[module_idP]->UE_info, ra->rnti);
if (UE) {
int delay = nr_mac_get_reconfig_delay_slots(ra->DL_BWP.scs);
nr_mac_interrupt_ue_transmission(RC.nrmac[module_idP], UE, FOLLOW_INSYNC, delay);
interrupt_followup_action_t action = UE->reconfigCellGroup ? FOLLOW_INSYNC_RECONFIG : FOLLOW_INSYNC;
nr_mac_interrupt_ue_transmission(RC.nrmac[module_idP], UE, action, delay);
}
}