Commit ff6ba403 authored by Vincent Savaux's avatar Vincent Savaux

fill config file

parent b78c96cb
...@@ -738,7 +738,8 @@ int ulsch_decoding_data(PHY_VARS_eNB *eNB,int UE_id,int harq_pid,int llr8_flag) ...@@ -738,7 +738,8 @@ int ulsch_decoding_data(PHY_VARS_eNB *eNB,int UE_id,int harq_pid,int llr8_flag)
int ret = 1; int ret = 1;
int16_t dummy_w[MAX_NUM_ULSCH_SEGMENTS][3*(6144+64)]; int16_t dummy_w[MAX_NUM_ULSCH_SEGMENTS][3*(6144+64)];
LTE_eNB_ULSCH_t *ulsch = eNB->ulsch[UE_id]; LTE_eNB_ULSCH_t *ulsch = eNB->ulsch[UE_id];
LTE_UL_eNB_HARQ_t *ulsch_harq = ulsch->harq_processes[harq_pid]; LTE_UL_eNB_HARQ_t *ulsch_harq = ulsch->harq_processes[harq_pid];
//int Q_m = get_Qm_ul(ulsch_harq->mcs); //int Q_m = get_Qm_ul(ulsch_harq->mcs);
int G = ulsch_harq->G; int G = ulsch_harq->G;
unsigned int E; unsigned int E;
......
...@@ -38,8 +38,8 @@ eNBs = ...@@ -38,8 +38,8 @@ eNBs =
prefix_type = "NORMAL"; prefix_type = "NORMAL";
#set of allowed bands TS 36.104: 1,2,3,5,8,11,12,13,17,18,19,20,25,26,28,31,66,70 #set of allowed bands TS 36.104: 1,2,3,5,8,11,12,13,17,18,19,20,25,26,28,31,66,70
eutra_band = 3; eutra_band = 3;
downlink_frequency = ; downlink_frequency = 2660000000L; //arbitrary, same as enb.band7.tm1.usrpx310.conf
uplink_frequency_offset = ; //shuld be the duplexing gap?? uplink_frequency_offset = -120000000; //should be the duplexing gap??
Nid_cell = 0; Nid_cell = 0;
N_RB_DL = 1;//only 1 RB assigned for NB_IoT N_RB_DL = 1;//only 1 RB assigned for NB_IoT
#it is also needed to know the NRB_DL and NRB_UL of LTE when we are in in-band and guard band mode #it is also needed to know the NRB_DL and NRB_UL of LTE when we are in in-band and guard band mode
...@@ -49,52 +49,53 @@ eNBs = ...@@ -49,52 +49,53 @@ eNBs =
tx_gain = 25; tx_gain = 25;
rx_gain = 20; rx_gain = 20;
nprach_CP_length = ; nprach_CP_length = 0; // (uss66dot7 (0), us266dot7 (1))
#OPTIONAL (rsrp_thresholdsNPRACH) #OPTIONAL (rsrp_thresholdsNPRACH)
rsrp_range = ; rsrp_range = 0; // ? not in 36.331
nprach_Periodicity = ; nprach_Periodicity = 640; // ms (40,80,160,240,320,640,1280,2560)
nprach_StartTime = ; nprach_StartTime = 8; // ms (8,16,32,64,128,256,512,1024)
nprach_SubcarrierOffset = ; nprach_SubcarrierOffset = 36; // sc (0,12,24,36,2,18,34)
nprach_NumSubcarriers_r13 = ; nprach_NumSubcarriers_r13 = 12; // (12,24,36,48)
nprach_SubcarrierMSG3_RangeStart = ; nprach_SubcarrierMSG3_RangeStart = "one"; // ("zero","oneThird","twoThird","one")
maxNumPreambleAttemptCE = ; maxNumPreambleAttemptCE = 10; // (3,4,5,6,7,8,10)
numRepetitionsPerPreambleAttempt = ; numRepetitionsPerPreambleAttempt = 4; // (1,2,4,8,16,32,64,128)
npdcch_NumRepetitions_RA = ; npdcch_NumRepetitions_RA = n4;
npdcch_StartSF_CSS_RA = ; npdcch_StartSF_CSS_RA = v2;
npdcch_Offset_RA = ; npdcch_Offset_RA = "zero";
npdsch_nrs_Power = ; npdsch_nrs_Power = 0; // dB (-60 .. 50)
ACK_NACK_NumRepetitions_NB = ; ACK_NACK_NumRepetitions_NB = 1; //
threeTone_CyclicShift = ; threeTone_CyclicShift = 0; // (0,1,2)
sixTone_CyclicShift = ; sixTone_CyclicShift = 0; // (0 .. 3)
pusch_groupAssignment = ; pusch_groupAssignment = 0; // (0 .. 29)
//OPTIONAL //OPTIONAL
srs_SubframeConfig = ; srs_SubframeConfig = sc0; // (0 .. 15)
threeTone_BaseSequence = ; threeTone_BaseSequence = 0; // (0 .. 12)
sixTone_BaseSequence = ; sixTone_BaseSequence = 0; // (0 .. 14)
twelveTone_BaseSequence = ; twelveTone_BaseSequence = 0; // (0 .. 30)
//OPTIONAL //OPTIONAL
dl_GapThreshold = ; dl_GapThreshold = n32; // (32,64,128,256)
dl_GapPeriodicity = ; dl_GapPeriodicity = sf64; // (64,128,256,512)
dl_GapDurationCoeff = ; dl_GapDurationCoeff = "oneEighth"; // ("oneEighth","oneFourth","threeEighth","oneHalf")
//ULPowerControlCommon //ULPowerControlCommon
p0_NominalNPUSCH = ; p0_NominalNPUSCH = 0; // dBm (-128 .. 24)
alpha_r13 = ; alpha_r13 = al0; // (0,04,05,..1)
deltaPreambleMsg3 = ; deltaPreambleMsg3 = 0; // dB (-1 .. 6)
msg3_delta_Preamble = ; // msg3_delta_Preamble = ;
p0_UE_NPUSCH = 0; // dB (-8 .. )
preambleTransMax_CE = ; preambleTransMax_CE = n3; // (3,4,5,6,7,8,10,20,50,100,200)
powerRampingStep = ; powerRampingStep = dB0; // dB (0,2,4,6)
preambleInitialReceivedTargetPower = ; preambleInitialReceivedTargetPower = dBm-112; // dBm (-120 : 2 : -90)
ra_ResponseWindowSize = ; ra_ResponseWindowSize = sf20; // (20,50,80,120,180,240,320,400)
mac_ContentionResolutionTimer = ; mac_ContentionResolutionTimer = sf80; // (80,100,120,160,200,240,480,960)
//OPTIONAL //OPTIONAL
connEstFailOffset = ; connEstFailOffset = 0; // (0 .. 15)
ue_TimersAndConstants_t300 = 1000; ue_TimersAndConstants_t300 = 1000;
ue_TimersAndConstants_t301 = 1000; ue_TimersAndConstants_t301 = 1000;
...@@ -105,13 +106,13 @@ eNBs = ...@@ -105,13 +106,13 @@ eNBs =
///freqInfo ///freqInfo
additionalSpectrumEmission = ; additionalSpectrumEmission = 1; // (1 .. 32)
//OPTIONAL //OPTIONAL
carrierFreq = ; // carrierFreq = ;
carrierFreqOffset = ; // carrierFreqOffset = ;
///multiBandInfoList(OPTIONAL) ///multiBandInfoList(OPTIONAL)
AdditionalSpectrumEmission_t = ; AdditionalSpectrumEmission_t = 1; // ?
ue_TransmissionMode = 1; ue_TransmissionMode = 1;
} }
......
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