22,// 22 , to be included in // to be replaced by NB_IoT_start ??
1,// 0 (3.75 KHz) or 1 (15 KHz)
65522,//= 65522
proc->subframe_dscr_msg3,// first received subframe
proc->frame_dscr_msg3,// first received frame
16,// total number of occupied slots
11,
1,
2,
88,// A = TBS
proc->counter_msg3,// proc->counter_msg3
subframerx,
0,
data_or_control);// data (0) or control (1)
rx_ulsch_Gen_NB_IoT(eNB,
proc,
0,// this is the effective sector id
0,
nulsch,
nulsch->npusch_format,//npusch_format, // 1, 2
22,// 22 , to be included in // to be replaced by NB_IoT_start ??
1,// 0 (3.75 KHz) or 1 (15 KHz)
nulsch->rnti,//= 65522
nulsch->Msg3_subframe,// first received subframe
nulsch->Msg3_frame,// first received frame
get_UL_slots_per_RU_NB_IoT(nulsch_harq->subcarrier_spacing,nulsch_harq->subcarrier_indication,nulsch->npusch_format)*get_UL_N_ru_NB_IoT(nulsch_harq->mcs,nulsch_harq->resource_assignment,nulsch->Msg3_flag),// total number of occupied slots = get_nb_slot_per_RU * NB_of_RU