Commit fedbc709 authored by General ABS's avatar General ABS Committed by abs

Reset L3 measurements

parent b9869277
...@@ -1128,6 +1128,12 @@ int8_t nr_rrc_ue_decode_NR_BCCH_DL_SCH_Message(module_id_t module_id, ...@@ -1128,6 +1128,12 @@ int8_t nr_rrc_ue_decode_NR_BCCH_DL_SCH_Message(module_id_t module_id,
return 0; return 0;
} }
void reset_l3_measurements(const module_id_t module_id)
{
l3_measurements_t *l3_measurements = &NR_UE_rrc_inst[module_id].l3_measurements;
memset((void *)l3_measurements, 0, sizeof(l3_measurements_t));
}
void nr_rrc_ue_process_masterCellGroup(protocol_ctxt_t *ctxt_pP, uint8_t gNB_index, OCTET_STRING_t *masterCellGroup) void nr_rrc_ue_process_masterCellGroup(protocol_ctxt_t *ctxt_pP, uint8_t gNB_index, OCTET_STRING_t *masterCellGroup)
{ {
NR_CellGroupConfig_t *cellGroupConfig=NULL; NR_CellGroupConfig_t *cellGroupConfig=NULL;
...@@ -1175,6 +1181,7 @@ void nr_rrc_ue_process_masterCellGroup(protocol_ctxt_t *ctxt_pP, uint8_t gNB_ind ...@@ -1175,6 +1181,7 @@ void nr_rrc_ue_process_masterCellGroup(protocol_ctxt_t *ctxt_pP, uint8_t gNB_ind
timers_and_constants->T304_cnt = 50; timers_and_constants->T304_cnt = 50;
} }
ctxt_pP->rntiMaybeUEid = reconfigurationWithSync->newUE_Identity; ctxt_pP->rntiMaybeUEid = reconfigurationWithSync->newUE_Identity;
reset_l3_measurements(ctxt_pP->module_id);
} }
if(NR_UE_rrc_inst[ctxt_pP->module_id].cell_group_config == NULL){ if(NR_UE_rrc_inst[ctxt_pP->module_id].cell_group_config == NULL){
......
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