Commit b969ef8f authored by Nick Ho's avatar Nick Ho

scheduler schedule single tonle resource for MSG3 defautly

parent 994956c9
...@@ -195,7 +195,7 @@ void schedule_rar_NB_IoT(eNB_MAC_INST_NB_IoT *mac_inst, int abs_subframe){ ...@@ -195,7 +195,7 @@ void schedule_rar_NB_IoT(eNB_MAC_INST_NB_IoT *mac_inst, int abs_subframe){
for(msg3_scheduling_delay=0; msg3_scheduling_delay<4; ++msg3_scheduling_delay){ for(msg3_scheduling_delay=0; msg3_scheduling_delay<4; ++msg3_scheduling_delay){
// 36.213 Table 16.3.3-1 Imcs=3'b000 Nru=4 // 36.213 Table 16.3.3-1 Imcs=3'b000 Nru=4
msg3_subframe = msg2_end_subframe+msg3_scheduling_delay_table[msg3_scheduling_delay]+1; msg3_subframe = msg2_end_subframe+msg3_scheduling_delay_table[msg3_scheduling_delay]+1;
if(0==Check_UL_resource(msg3_subframe, Nru*rep, &npusch_info, 1, 0)){ //1: multi-tones 0: single-tone. 1: format 2(ack/nack) 0: format 1 if(0==Check_UL_resource(msg3_subframe, Nru*rep, &npusch_info, 0, 0)){ //1: multi-tones 0: single-tone. 1: format 2(ack/nack) 0: format 1
break; break;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment