bugfix: set max MCS to 10 when UL scheduling a UE with no known uplink data
This commit is contained in:
@@ -1370,11 +1370,14 @@ void assign_max_mcs_min_rb(module_id_t module_idP,int frameP, sub_frame_t subfra
|
||||
/* if UE has pending scheduling request then pre-allocate 3 RBs */
|
||||
//if (UE_template->ul_active == 1 && UE_template->ul_SR == 1) {
|
||||
if (UE_is_to_be_scheduled(module_idP, CC_id, i)) {
|
||||
/* use QPSK mcs */
|
||||
UE_template->pre_assigned_mcs_ul = 10;
|
||||
UE_template->pre_allocated_rb_table_index_ul = 2;
|
||||
UE_template->pre_allocated_nb_rb_ul = 3;
|
||||
} else {
|
||||
UE_template->pre_allocated_rb_table_index_ul=-1;
|
||||
UE_template->pre_allocated_nb_rb_ul=0;
|
||||
UE_template->pre_assigned_mcs_ul = 0;
|
||||
UE_template->pre_allocated_rb_table_index_ul = -1;
|
||||
UE_template->pre_allocated_nb_rb_ul = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user