Skip to content
Snippets Groups Projects
Commit c227a34d authored by He Shanyun's avatar He Shanyun
Browse files

fix tbs calculation error in ul scheduler

parent 48e2d78f
No related branches found
No related tags found
5 merge requests!650Release v1.1.0 Candidate,!649Develop: Integration 2019 Week 30,!642Develop: Integration 2019 Mid-Week 29,!630nfapi interface bug fix,!588Develop nr merge
......@@ -2402,8 +2402,8 @@ void ulsch_scheduler_pre_processor_fairRR(module_id_t module_idP,
while ( (tbs < bytes_to_schedule) && (rb_table[rb_table_index]<(frame_parms->N_RB_UL-num_pucch_rb-first_rb[CC_id])) &&
((UE_template->phr_info - tx_power) > 0) && (rb_table_index < 32 )) {
rb_table_index++;
tbs = get_TBS_UL(mcs,rb_table[rb_table_index])<<3;
tx_power= estimate_ue_tx_power(tbs,rb_table[rb_table_index],0,frame_parms->Ncp,0);
tbs = get_TBS_UL(mcs,rb_table[rb_table_index]);
tx_power= estimate_ue_tx_power(tbs*8,rb_table[rb_table_index],0,frame_parms->Ncp,0);
}
if ( rb_table[rb_table_index]<3 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment