Commit 8777b70f authored by wangdong's avatar wangdong

fix Bugs

parent 1a2c1680
...@@ -703,7 +703,8 @@ dlsch_scheduler_pre_processor(module_id_t Mod_id, ...@@ -703,7 +703,8 @@ dlsch_scheduler_pre_processor(module_id_t Mod_id,
cur = &UE_to_sched.next[UE_id]; cur = &UE_to_sched.next[UE_id];
} }
*cur = -1; *cur = -1;
//debug : 查看无数据传送时调度如何取消?
printf("debug : 707@/root/oai/openairinterface5g/openair2/LAYER2/MAC/pre_processor.c");
if (UE_to_sched.head < 0) if (UE_to_sched.head < 0)
return; return;
...@@ -718,6 +719,7 @@ dlsch_scheduler_pre_processor(module_id_t Mod_id, ...@@ -718,6 +719,7 @@ dlsch_scheduler_pre_processor(module_id_t Mod_id,
rbgalloc_mask[i] &= !vrb_map[RBGsize * i + j]; rbgalloc_mask[i] &= !vrb_map[RBGsize * i + j];
n_rbg_sched += rbgalloc_mask[i]; n_rbg_sched += rbgalloc_mask[i];
} }
printf("debug : 721@/root/oai/openairinterface5g/openair2/LAYER2/MAC/pre_processor.c");
mac->pre_processor_dl.dl_algo.run(Mod_id, mac->pre_processor_dl.dl_algo.run(Mod_id,
CC_id, CC_id,
...@@ -1136,8 +1138,7 @@ void ulsch_scheduler_pre_processor(module_id_t Mod_id, ...@@ -1136,8 +1138,7 @@ void ulsch_scheduler_pre_processor(module_id_t Mod_id,
cur = &UE_to_sched.next[UE_id]; cur = &UE_to_sched.next[UE_id];
} }
*cur = -1; *cur = -1;
//debug : 查看无数据传送时调度如何取消?
printf("debug : 1139@/root/oai/openairinterface5g/openair2/LAYER2/MAC/pre_processor.c")
if (UE_to_sched.head < 0) if (UE_to_sched.head < 0)
return; return;
...@@ -1156,7 +1157,6 @@ void ulsch_scheduler_pre_processor(module_id_t Mod_id, ...@@ -1156,7 +1157,6 @@ void ulsch_scheduler_pre_processor(module_id_t Mod_id,
rbs[n_contig - 1].length = i - rbs[n_contig - 1].start; rbs[n_contig - 1].length = i - rbs[n_contig - 1].start;
} }
} }
printf("debug : 1158@/root/oai/openairinterface5g/openair2/LAYER2/MAC/pre_processor.c")
mac->pre_processor_ul.ul_algo.run(Mod_id, mac->pre_processor_ul.ul_algo.run(Mod_id,
CC_id, CC_id,
frameP, frameP,
......
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