ndlcch->counter_repetition_number[ncce_index]=DCIRep;////??????? should be repalce by the value in spec table 16.6-3, check also Rmax
ndlcch->counter_repetition_number[ncce_index]=DCIrep_to_real_rep(DCIRep,32);////??????? should be repalce by the value in spec table 16.6-3, check also Rmax
//ndlsch_harq->B; we don-t have now my is given when we receive the dlsch data
//ndlsch->error_treshold
//ndlsch->G??
...
...
@@ -320,10 +379,10 @@ int generate_eNB_dlsch_params_from_dci_NB_IoT(PHY_VARS_eNB *eNB,
ndlcch->active[ncce_index]=1;//will be activated by the corresponding NDSLCH pdu
// use this value to configure PHY both harq_processes and resource mapping.
ndlcch->scheduling_delay[ncce_index]=Sched_delay;
ndlcch->resource_assignment[ncce_index]=resource_to_subframe[ResAssign];//from Isf of DCI to the number of subframe
ndlcch->repetition_number[ncce_index]=RepNum;
ndlcch->dci_repetitions[ncce_index]=DCIRep;// ????????????? mapping with the table in spec, take into account Rmax
ndlcch->resource_assignment[ncce_index]=resource_to_subframe[ResAssign];//from Isf of DCI to the number of subframe
ndlcch->repetition_number[ncce_index]=Irep_to_Nrep[RepNum];// repetition number for NPDSCH
ndlcch->dci_repetitions[ncce_index]=DCIrep_to_real_rep(DCIRep,32);////??????? should be repalce by the value in spec table 16.6-3, check also Rmax
ndlcch->modulation[ncce_index]=2;//QPSK
//if(ndlcch->round == 0){ //this should be set from initialization (init-lte)
...
...
@@ -333,7 +392,7 @@ int generate_eNB_dlsch_params_from_dci_NB_IoT(PHY_VARS_eNB *eNB,
ndlcch->pdu[ncce_index]=DLSCH_DCI_NB_IoT;
ndlcch->counter_repetition_number[ncce_index]=DCIRep;////??????? should be repalce by the value in spec table 16.6-3, check also Rmax
ndlcch->counter_repetition_number[ncce_index]=DCIrep_to_real_rep(DCIRep,32);////??????? should be repalce by the value in spec table 16.6-3, check also Rmax
//}
//ndlcch->frame[ncce_index] = frame;
//ndlcch->subframe[ncce_index] = subframe;
...
...
@@ -376,7 +435,7 @@ int generate_eNB_dlsch_params_from_dci_NB_IoT(PHY_VARS_eNB *eNB,