mprime=0;// mprime = 0,1 for NB_IoT // for LTE , maximum number of resources blocks (110) - the total number of RB in the selected bandwidth (.... 15 , 25 , 50, 100)
//mprime = 0; // mprime = 0,1 for NB_IoT // for LTE , maximum number of resources blocks (110) - the total number of RB in the selected bandwidth (.... 15 , 25 , 50, 100)
re++;// adjacent carriers are taken care of by precoding
*re_allocated=*re_allocated+1;// incremented variable but never used
}
}
}
}
return(0);
}
int dci_modulation_NB_IoT(int32_t **txdataF,
int16_t amp,
NB_IoT_DL_FRAME_PARMS *frame_parms,
uint8_t control_region_size,//XXX we pass the npdcch_start_symbol // control region size for LTE , values between 0..3, (0 for stand-alone / 1, 2 or 3 for in-band)
uint8_t *e[2], // Input data
int G, // number of bits per subframe
uint8_t dci_number, // This variable should takes the 1 or 2 (1 for in case of one DCI, 2 in case of two DCI)
uint8_t agr_level) // Aggregation level
intdci_modulation_NB_IoT(int32_t**txdataF,
int16_tamp,
NB_IoT_DL_FRAME_PARMS*frame_parms,
uint8_tcontrol_region_size,//XXX we pass the npdcch_start_symbol // control region size for LTE , values between 0..3, (0 for stand-alone / 1, 2 or 3 for in-band)
uint8_t*e[2],// Input data
intG,// number of bits per subframe
uint8_tdci_number,// This variable should takes the 1 or 2 (1 for in case of one DCI, 2 in case of two DCI)
uint8_tagr_level)// Aggregation level
{
uint32_tjj=0;
uint32_tre_allocated,symbol_offset;
...
...
@@ -416,10 +422,10 @@ int dci_modulation_NB_IoT(int32_t **txdataF,
re_allocated=0;
id_offset=0;
// testing if the total number of RBs is even or odd