Fujitsu No.6 Correct DAI incrementation
This commit is contained in:
Regular → Executable
+5
-7
@@ -612,17 +612,15 @@ schedule_ue_spec(
|
|||||||
|
|
||||||
if (round > 0) {
|
if (round > 0) {
|
||||||
|
|
||||||
if (frame_parms[CC_id]->frame_type == TDD) {
|
|
||||||
UE_list->UE_template[CC_id][UE_id].DAI++;
|
|
||||||
update_ul_dci(module_idP,CC_id,rnti,UE_list->UE_template[CC_id][UE_id].DAI);
|
|
||||||
LOG_D(MAC,"DAI update: CC_id %d subframeP %d: UE %d, DAI %d\n",
|
|
||||||
CC_id,subframeP,UE_id,UE_list->UE_template[CC_id][UE_id].DAI);
|
|
||||||
}
|
|
||||||
|
|
||||||
// get freq_allocation
|
// get freq_allocation
|
||||||
nb_rb = UE_list->UE_template[CC_id][UE_id].nb_rb[harq_pid];
|
nb_rb = UE_list->UE_template[CC_id][UE_id].nb_rb[harq_pid];
|
||||||
|
|
||||||
if (nb_rb <= nb_available_rb) {
|
if (nb_rb <= nb_available_rb) {
|
||||||
|
if (frame_parms[CC_id]->frame_type == TDD) {
|
||||||
|
UE_list->UE_template[CC_id][UE_id].DAI++;
|
||||||
|
update_ul_dci(module_idP,CC_id,rnti,UE_list->UE_template[CC_id][UE_id].DAI);
|
||||||
|
LOG_D(MAC,"DAI update: CC_id %d subframeP %d: UE %d, DAI %d\n", CC_id,subframeP,UE_id,UE_list->UE_template[CC_id][UE_id].DAI);
|
||||||
|
}
|
||||||
|
|
||||||
if(nb_rb == ue_sched_ctl->pre_nb_available_rbs[CC_id]) {
|
if(nb_rb == ue_sched_ctl->pre_nb_available_rbs[CC_id]) {
|
||||||
for(j=0; j<frame_parms[CC_id]->N_RBG; j++) { // for indicating the rballoc for each sub-band
|
for(j=0; j<frame_parms[CC_id]->N_RBG; j++) { // for indicating the rballoc for each sub-band
|
||||||
|
|||||||
Reference in New Issue
Block a user