diff --git a/openair2/LAYER2/NR_MAC_UE/config_ue.c b/openair2/LAYER2/NR_MAC_UE/config_ue.c index 25d226f4b7..4652cb0d18 100644 --- a/openair2/LAYER2/NR_MAC_UE/config_ue.c +++ b/openair2/LAYER2/NR_MAC_UE/config_ue.c @@ -1623,10 +1623,12 @@ void nr_rrc_mac_config_req_sib1(module_id_t module_id, configure_common_BWP_dl(mac, 0, // bwp-id &scc->downlinkConfigCommon.initialDownlinkBWP); - if (scc->uplinkConfigCommon) + if (scc->uplinkConfigCommon) { + mac->timeAlignmentTimerCommon = scc->uplinkConfigCommon->timeAlignmentTimerCommon; configure_common_BWP_ul(mac, 0, // bwp-id &scc->uplinkConfigCommon->initialUplinkBWP); + } // set current BWP only if coming from non-connected state // otherwise it is just a periodically update of the SIB1 content if (mac->state < UE_CONNECTED) { diff --git a/openair2/LAYER2/NR_MAC_UE/mac_defs.h b/openair2/LAYER2/NR_MAC_UE/mac_defs.h index 00743420a2..2eb6415980 100644 --- a/openair2/LAYER2/NR_MAC_UE/mac_defs.h +++ b/openair2/LAYER2/NR_MAC_UE/mac_defs.h @@ -595,6 +595,7 @@ typedef struct NR_UE_MAC_INST_s { NR_TAG_Id_t tag_Id; A_SEQUENCE_OF(NR_TAG_t) TAG_list; + NR_TimeAlignmentTimer_t timeAlignmentTimerCommon; nr_emulated_l1_t nr_ue_emul_l1;