do not start T304 RRC timer at UE for phy-test mode
This commit is contained in:
@@ -972,9 +972,12 @@ static void nr_rrc_process_reconfigurationWithSync(NR_UE_RRC_INST_t *rrc, NR_Rec
|
|||||||
|
|
||||||
NR_UE_Timers_Constants_t *tac = &rrc->timers_and_constants;
|
NR_UE_Timers_Constants_t *tac = &rrc->timers_and_constants;
|
||||||
nr_timer_stop(&tac->T310);
|
nr_timer_stop(&tac->T310);
|
||||||
int t304_value = nr_rrc_get_T304(reconfigurationWithSync->t304);
|
if (!get_softmodem_params()->phy_test) {
|
||||||
nr_timer_setup(&tac->T304, t304_value, 10); // 10ms step
|
// T304 is stopped upon completion of RA procedure which is not done in phy-test mode
|
||||||
nr_timer_start(&tac->T304);
|
int t304_value = nr_rrc_get_T304(reconfigurationWithSync->t304);
|
||||||
|
nr_timer_setup(&tac->T304, t304_value, 10); // 10ms step
|
||||||
|
nr_timer_start(&tac->T304);
|
||||||
|
}
|
||||||
rrc->rnti = reconfigurationWithSync->newUE_Identity;
|
rrc->rnti = reconfigurationWithSync->newUE_Identity;
|
||||||
// reset the MAC entity of this cell group (done at MAC in handle_reconfiguration_with_sync)
|
// reset the MAC entity of this cell group (done at MAC in handle_reconfiguration_with_sync)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user