ndlcch->counter_repetition_number[ncce_index]=DCIrep_to_real_rep(DCIRep,4);////??????? should be repalce by the value in spec table 16.6-3, check also Rmax
LOG_D(MAC,"[%d][computing flags] UE-spec searching space: %d, num subframe: %d\n",mac_inst->current_subframe,i,mac_inst->UE_list_spec[i].NPDCCH_config_dedicated.T);
}
}
*/
*max_subframe=max;// the maximum subframe to be extend
}
...
...
@@ -137,9 +137,9 @@ void eNB_dlsch_ulsch_scheduler_NB_IoT(eNB_MAC_INST_NB_IoT *mac_inst, uint32_t ab
for(i=0;i<mac_inst->num_uss_list;++i)
{
if((scheduler_flags&(flag_uss_v<<i))>0){
LOG_I(MAC,"--------------[%04d][SchedulerUSS] Schedule USS list %d------------\n",mac_inst->current_subframe,(scheduler_flags&(flag_uss_v<<i))>>3);
LOG_D(MAC,"--------------[%04d][SchedulerUSS] Schedule USS list %d------------\n",mac_inst->current_subframe,(scheduler_flags&(flag_uss_v<<i))>>3);
schedule_uss_NB_IoT(0,mac_inst,sf,f,h,i);
LOG_I(MAC,"--------------[%04d][SchedulerUSS] Schedule USS list %d end------------\n",mac_inst->current_subframe,(scheduler_flags&(flag_uss_v<<i))>>3);
LOG_D(MAC,"--------------[%04d][SchedulerUSS] Schedule USS list %d end------------\n",mac_inst->current_subframe,(scheduler_flags&(flag_uss_v<<i))>>3);
scheduler_flags&=~(flag_uss_v<<i);
}
}
...
...
@@ -291,7 +291,7 @@ void schedule_uss_NB_IoT(module_id_t module_id, eNB_MAC_INST_NB_IoT *mac_inst, u
LOG_D(MAC,"[%04d][schedule_uss_NB_IoT][UE%d] UE_sched_ctrl NPUSCH information:sf_start %d sf end %d\n",mac_inst->current_subframe,UE_template_temp->rnti,UE_sched_ctrl_info->NPUSCH_sf_start,UE_sched_ctrl_info->NPUSCH_sf_end);
LOG_D(MAC,"[%04d][ULSchedulerUSS][%d][Success] complete scheduling with data size %d\n",mac_inst->current_subframe,UE_info->rnti,UE_info->ul_total_buffer);