Commit 8cf85d53 authored by Vaibhav Shrivastava's avatar Vaibhav Shrivastava

Fix for systemInfoValueTag

parent b55ddcc7
......@@ -323,6 +323,7 @@ typedef struct RrcConfigurationReq_s {
int eMBMS_M2_configured;
int eMTC_configured;
int SL_configured;
uint8_t systemInfoValueTag;
RadioResourceConfig radioresourceconfig[MAX_NUM_CCs];
RadioResourceConfig radioresourceconfig_BR[MAX_NUM_CCs];
......
......@@ -974,7 +974,12 @@ uint8_t do_SIB1(rrc_eNB_carrier_data_t *carrier,
}
(*sib1)->si_WindowLength = LTE_SystemInformationBlockType1__si_WindowLength_ms20;
(*sib1)->systemInfoValueTag = 0;
if (RC.ss.mode == SS_SOFTMODEM) {
(*sib1)->systemInfoValueTag = configuration->systemInfoValueTag;
} else {
(*sib1)->systemInfoValueTag = 0;
}
LOG_A(RRC,"Updating systemInfoValueTag Value: (*sib1)->systemInfoValueTag: %d \n",(*sib1)->systemInfoValueTag);
(*sib1)->nonCriticalExtension = calloc(1, sizeof(LTE_SystemInformationBlockType1_v890_IEs_t));
LTE_SystemInformationBlockType1_v890_IEs_t *sib1_890 = (*sib1)->nonCriticalExtension;
sib1_890->lateNonCriticalExtension = NULL;
......
......@@ -423,6 +423,7 @@ int sys_add_reconfig_cell(struct CellConfigInfo_Type *AddOrReconfigure)
}
RRC_CONFIGURATION_REQ(msg_p).num_plmn = SIB1_CELL_ACCESS_REL_INFO.plmn_IdentityList.d;
RRC_CONFIGURATION_REQ(msg_p).systemInfoValueTag = SIDL_SIB1_VAL.c1.v.systemInformationBlockType1.systemInfoValueTag;
for (int i = 0; i < RRC_CONFIGURATION_REQ(msg_p).num_plmn; ++i) {
if(SIB1_CELL_ACCESS_REL_INFO.plmn_IdentityList.v->plmn_Identity.mcc.d == TRUE)
......
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