Commit 25b94f12 authored by francescomani's avatar francescomani

configuration of timeAlignmentTimerCommon at MAC UE

parent 2a85d990
......@@ -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) {
......
......@@ -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;
......
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