configuration of timeAlignmentTimerCommon at MAC UE

This commit is contained in:
francescomani
2024-09-24 10:39:25 +02:00
parent 2a85d9905e
commit 25b94f12b3
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -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) {
+1
View File
@@ -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;