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)
unsignedintG,
uint8_toption)// 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
...
...
@@ -105,10 +106,19 @@ int dlsch_encoding_NB_IoT(unsigned char *a,