Enable T304 after receiving the reconfigurationWithSync
This commit is contained in:
@@ -1286,10 +1286,38 @@ nr_rrc_ue_process_masterCellGroup(
|
|||||||
xer_fprint(stdout, &asn_DEF_NR_CellGroupConfig, (const void *) cellGroupConfig);
|
xer_fprint(stdout, &asn_DEF_NR_CellGroupConfig, (const void *) cellGroupConfig);
|
||||||
}
|
}
|
||||||
|
|
||||||
if( cellGroupConfig->spCellConfig != NULL && cellGroupConfig->spCellConfig->reconfigurationWithSync != NULL){
|
// TS 38.331 - Section 5.3.5.5.2 Reconfiguration with sync
|
||||||
//TODO (perform Reconfiguration with sync according to 5.3.5.5.2)
|
if (cellGroupConfig->spCellConfig != NULL && cellGroupConfig->spCellConfig->reconfigurationWithSync != NULL) {
|
||||||
//TODO (resume all suspended radio bearers and resume SCG transmission for all radio bearers, if suspended)
|
|
||||||
// NSA procedures
|
LOG_A(NR_RRC, "Received the reconfigurationWithSync in %s\n", __FUNCTION__);
|
||||||
|
|
||||||
|
NR_ReconfigurationWithSync_t *reconfigurationWithSync = cellGroupConfig->spCellConfig->reconfigurationWithSync;
|
||||||
|
NR_UE_rrc_inst[ctxt_pP->module_id].Info[gNB_index].T304_active = 1;
|
||||||
|
switch (reconfigurationWithSync->t304) {
|
||||||
|
case NR_ReconfigurationWithSync__t304_ms100:
|
||||||
|
NR_UE_rrc_inst[ctxt_pP->module_id].Info[gNB_index].T304_cnt = 100;
|
||||||
|
break;
|
||||||
|
case NR_ReconfigurationWithSync__t304_ms150:
|
||||||
|
NR_UE_rrc_inst[ctxt_pP->module_id].Info[gNB_index].T304_cnt = 150;
|
||||||
|
break;
|
||||||
|
case NR_ReconfigurationWithSync__t304_ms200:
|
||||||
|
NR_UE_rrc_inst[ctxt_pP->module_id].Info[gNB_index].T304_cnt = 200;
|
||||||
|
break;
|
||||||
|
case NR_ReconfigurationWithSync__t304_ms500:
|
||||||
|
NR_UE_rrc_inst[ctxt_pP->module_id].Info[gNB_index].T304_cnt = 500;
|
||||||
|
break;
|
||||||
|
case NR_ReconfigurationWithSync__t304_ms1000:
|
||||||
|
NR_UE_rrc_inst[ctxt_pP->module_id].Info[gNB_index].T304_cnt = 1000;
|
||||||
|
break;
|
||||||
|
case NR_ReconfigurationWithSync__t304_ms2000:
|
||||||
|
NR_UE_rrc_inst[ctxt_pP->module_id].Info[gNB_index].T304_cnt = 2000;
|
||||||
|
break;
|
||||||
|
case NR_ReconfigurationWithSync__t304_ms10000:
|
||||||
|
NR_UE_rrc_inst[ctxt_pP->module_id].Info[gNB_index].T304_cnt = 10000;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
NR_UE_rrc_inst[ctxt_pP->module_id].Info[gNB_index].T304_cnt = 50;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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){
|
||||||
|
|||||||
Reference in New Issue
Block a user