Commit 683bccaf authored by Vijay C's avatar Vijay C

Merge branch 'ASSec_PDCPCount_EnquireTime_Porting' into 'Porting_Integration_branch'

q_QualMin changes

See merge request firecell/rdsubscription/sequansrd!16
parents 4bf519e8 03069857
......@@ -939,12 +939,12 @@ uint8_t do_SIB1(rrc_eNB_carrier_data_t *carrier,
if (RC.ss.mode == SS_SOFTMODEM)
{
LOG_D(RRC,"Updating q_RxLevMin: %d\n", configuration->q_RxLevMin);
(*sib1)->cellSelectionInfo.q_RxLevMin=configuration->q_RxLevMin;
LOG_D(RRC,"Updating q_RxLevMin: %d\n", configuration->q_RxLevMin);
(*sib1)->cellSelectionInfo.q_RxLevMin=configuration->q_RxLevMin;
}
else
{
(*sib1)->cellSelectionInfo.q_RxLevMin=-65;
{
(*sib1)->cellSelectionInfo.q_RxLevMin=-65;
}
(*sib1)->cellSelectionInfo.q_RxLevMinOffset=NULL;
......@@ -982,7 +982,18 @@ uint8_t do_SIB1(rrc_eNB_carrier_data_t *carrier,
memset(sib1_890->nonCriticalExtension, 0, sizeof(LTE_SystemInformationBlockType1_v920_IEs_t));
LTE_SystemInformationBlockType1_v920_IEs_t *sib1_920 = (*sib1_890).nonCriticalExtension;
sib1_920->ims_EmergencySupport_r9 = NULL; // ptr
sib1_920->cellSelectionInfo_v920 = NULL;
/** TODO: Temporary hack */
if (RC.ss.mode == SS_SOFTMODEM) {
if (configuration->q_QualMin != 0 /*&& RC.ss.State > SS_STATE_CELL_CONFIGURED*/) {
LOG_A(RRC, "Updating q_QualMin: %ld\n", configuration->q_QualMin);
sib1_920->cellSelectionInfo_v920 = calloc (1, sizeof(struct LTE_CellSelectionInfo_v920));
sib1_920->cellSelectionInfo_v920->q_QualMin_r9 = configuration->q_QualMin;
} else {
sib1_920->cellSelectionInfo_v920 = NULL;
}
} else {
sib1_920->cellSelectionInfo_v920 = NULL;
}
sib1_920->nonCriticalExtension = calloc(1, sizeof(LTE_SystemInformationBlockType1_v1130_IEs_t));
memset(sib1_920->nonCriticalExtension, 0, sizeof(LTE_SystemInformationBlockType1_v1130_IEs_t));
//////Rel11
......
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