Commit 1783932e authored by Robert Schmidt's avatar Robert Schmidt

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.
parent dadd05e0
......@@ -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);
}
}
......
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