-Solve segmentation fault in do_MIB_NR

-Amend do_ServingCellConfigCommon function
This commit is contained in:
WEI-TAI CHEN
2018-06-26 08:11:39 -07:00
parent 607525f84b
commit 89e39c8851
6 changed files with 455 additions and 2681 deletions
+2
View File
@@ -60,6 +60,7 @@ int create_gNB_tasks(uint32_t gnb_nb)
}
}
/*
# if defined(ENABLE_USE_MME)
if (gnb_nb > 0) {
if (itti_create_task (TASK_SCTP, sctp_eNB_task, NULL) < 0) {
@@ -85,6 +86,7 @@ int create_gNB_tasks(uint32_t gnb_nb)
}
# endif
*/
if (gnb_nb > 0) {
LOG_I(NR_RRC,"Creating NR RRC gNB Task\n");
@@ -41,7 +41,7 @@ gNBs =
nb_antennas_rx = 1;
tx_gain = 90;
rx_gain = 125;
MIB_subCarrierSpacingCommon = 30000;
MIB_subCarrierSpacingCommon = 30;
MIB_ssb_SubcarrierOffset = 0;
MIB_dmrs_TypeA_Position = 2;
pdcch_ConfigSIB1 = 0;
@@ -73,7 +73,7 @@ gNBs =
UL_BWP_prefix_type = "NORMAL";
ServingCellConfigCommon__ssb_PositionsInBurst_PR = "shortBitmap";
ServingCellConfigCommon_ssb_periodicityServingCell = 10;
ServingCellConfigCommon_dmrs_TypeA_Position = 0;
ServingCellConfigCommon_dmrs_TypeA_Position = 2;
NIA_SubcarrierSpacing = "kHz15";
ServingCellConfigCommon_ss_PBCH_BlockPower = -60;
referenceSubcarrierSpacing = "kHz15";