From 1783932e37fd7961210c7e513a762bba21ecc002 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Wed, 7 Aug 2024 09:44:42 +0200 Subject: [PATCH] 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. --- openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c index 061ad1ba27..e43123b55c 100644 --- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c +++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c @@ -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); } }