diff --git a/srsenb/src/mac/scheduler_ue.cc b/srsenb/src/mac/scheduler_ue.cc index 5545efb51..b217a8157 100644 --- a/srsenb/src/mac/scheduler_ue.cc +++ b/srsenb/src/mac/scheduler_ue.cc @@ -26,6 +26,7 @@ #include #include +#include #include "srslte/srslte.h" #include "srslte/common/pdu.h" @@ -171,9 +172,8 @@ void sched_ue::ul_buffer_state(uint8_t lc_id, uint32_t bsr, bool set_value) } else { lch[lc_id].bsr += bsr; } - Debug("SCHED: UL lcid=%d buffer_state=%d\n", lc_id, bsr); } - Info("SCHED: bsr=%d, lcid=%d, bsr={%d,%d,%d,%d}\n", bsr, lc_id, + Debug("SCHED: bsr=%d, lcid=%d, bsr={%d,%d,%d,%d}\n", bsr, lc_id, lch[0].bsr, lch[1].bsr, lch[2].bsr, lch[3].bsr); } @@ -245,7 +245,7 @@ bool sched_ue::get_pucch_sched(uint32_t current_tti, uint32_t prb_idx[2], uint32 // First check if it has pending ACKs for (int i=0;i 2) { // Add BSR to the LCID for which most data was received sched->ul_bsr(rnti, lcid_most_data, 256, false); // false adds BSR instead of setting - Info("BSR not received. Giving extra grant\n"); + Debug("BSR not received. Giving extra grant\n"); } Debug("MAC PDU processed\n"); @@ -282,9 +282,9 @@ bool ue::process_ce(srslte::sch_subh *subh) { for (uint32_t i=0;iul_bsr(rnti, lc_groups[idx][i], buff_size[idx]); - Info("CE: Received %s BSR rnti=0x%x, lcg=%d, lcid=%d, value=%d\n", - subh->ce_type()==srslte::sch_subh::SHORT_BSR?"Short":"Trunc", rnti, idx, lc_groups[idx][i], buff_size[idx]); } + Info("CE: Received %s BSR rnti=0x%x, lcg=%d, value=%d\n", + subh->ce_type()==srslte::sch_subh::SHORT_BSR?"Short":"Trunc", rnti, idx, buff_size[idx]); is_bsr = true; break; case srslte::sch_subh::LONG_BSR: