Commit e918ce4c authored by Danil Ruban's avatar Danil Ruban Committed by Vijay Chadachan

bug #126504 - TC 9.2.1.1.2_VT_ENABLED_SECU_SSMODE1: ASN1 Fatal error in Paging msg

parent 40808113
......@@ -158,6 +158,10 @@ init_SI(
LTE_SystemInformationBlockType1_v1310_IEs_t *sib1_v13ext=(LTE_SystemInformationBlockType1_v1310_IEs_t *)NULL;
LOG_D(RRC,"%s()\n\n\n\n",__FUNCTION__);
if (CC_id >= MAX_NUM_CCs) {
LOG_E(RRC,"%s CC_ID (%d) > MAX_NUM_CCs (%d) \r\n",__FUNCTION__, CC_id, MAX_NUM_CCs);
}
if(configuration->radioresourceconfig[CC_id].mbms_dedicated_serving_cell == true) {
LOG_A(RRC, "Configuring MIB FeMBMS (N_RB_DL %d)\n",
(int)configuration->N_RB_DL[CC_id]);
......
......@@ -854,20 +854,23 @@ int sys_handle_cell_config_req(struct SYSTEM_CTRL_REQ *req)
{
//The flag is used to initilize the cell in the RRC layer during init_SI funciton
RC.ss.CC_conf_flag[cell_index] = 1;
returnState = SS_STATE_CELL_CONFIGURED;
//Increment nb_cc only from 2nd cell as the initilization is done for 1 CC
if (cell_index)
{
//Increment the nb_CC supported as new cell is confiured
RC.nb_CC[0] ++;
//Set the number of MAC_CC to current configured CC value
*RC.nb_mac_CC= RC.nb_CC[0];
LOG_A (ENB_SS,"CC-MGMT nb_cc is incremented current Configured CC are %d current CC_index %d nb_mac_CC %d\n",
RC.nb_CC[0],cell_index,*RC.nb_mac_CC);
//Increment the nb_CC supported as new cell is confiured.
if ((RC.nb_CC[0] + 1) >= MAX_NUM_CCs) {
LOG_E (ENB_SS,"[SYS] Can't add cell, MAX_NUM_CC reached (%d > %d) \n", RC.nb_CC[0], MAX_NUM_CCs);
} else {
RC.nb_CC[0] ++;
//Set the number of MAC_CC to current configured CC value
*RC.nb_mac_CC= RC.nb_CC[0];
LOG_I (ENB_SS,"[SYS] CC-MGMT nb_cc is incremented current Configured CC are %d current CC_index %d nb_mac_CC %d\n",
RC.nb_CC[0],cell_index,*RC.nb_mac_CC);
}
}
returnState = SS_STATE_CELL_CONFIGURED;
}
......
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