//uint8_t nb_rb=1; //ulsch_NB_IoT[0]->harq_process->nb_rb, high level parameter always one, to take into account in case it is changed in the 3GPP spec
uint32_tl;//,i;
//int32_t avgs;
// uint8_t log2_maxh = 0,aarx;
//uint8_t harq_pid;
uint8_tQm;
//int subframe = proc->subframe_rx;
//uint8_t npusch_format = 1; // NB-IoT: format 1 (data), or 2: ack. Should be defined in higher layer
//uint8_t subcarrier_spacing = frame_parms->subcarrier_spacing; // 15 kHz or 3.75 kHz
uint8_tpilot_pos1_format1_15k=3,pilot_pos2_format1_15k=10;// holds for npusch format 1, and 15 kHz subcarrier bandwidth
uint8_tpilot_pos1_format2_15k=2,pilot_pos2_format2_15k=9;// holds for npusch format 2, and 15 kHz subcarrier bandwidth
uint8_tpilot_pos1_format1_3_75k=4,pilot_pos2_format1_3_75k=11;// holds for npusch format 1, and 3.75 kHz subcarrier bandwidth
uint8_tpilot_pos1_format2_3_75k=0,pilot_pos2_format2_3_75k=7;// holds for npusch format 2, and 3.75 kHz subcarrier bandwidth
uint8_tpilot_pos1,pilot_pos2;// holds for npusch format 1, and 15 kHz subcarrier bandwidth
//int *pilot_pos_format2; // holds for npusch format 2, and 15 kHz subcarrier bandwidth