uint8_tNsf,// number of subframes required for npdsch pdu transmission calculated from Isf (3GPP spec table)
unsignedintG,
uint8_toption)// G (number of available RE) is implicitly multiplied by 2 (since only QPSK modulation)
intdlsch_encoding_NB_IoT(unsignedchar*a,
NB_IoT_eNB_NDLSCH_t*dlsch,//NB_IoT_eNB_NDLSCH_t
uint8_tNsf,// number of subframes required for npdsch pdu transmission calculated from Isf (3GPP spec table)
unsignedintG)// G (number of available RE) is implicitly multiplied by 2 (since only QPSK modulation)
{
uint32_tcrc=1;
//unsigned char harq_pid = dlsch->current_harq_pid; // to check during implementation if harq_pid is required in the NB_IoT_eNB_DLSCH_t structure in defs_NB_IoT.h