From 4a1b67a6711f34695306d575a3d9733b86fd61e6 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Thu, 8 Jun 2017 11:29:08 +0200 Subject: [PATCH] cleaned BSR logs --- srsue/src/mac/proc_bsr.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srsue/src/mac/proc_bsr.cc b/srsue/src/mac/proc_bsr.cc index 7c8b99f27..d93b7f0f4 100644 --- a/srsue/src/mac/proc_bsr.cc +++ b/srsue/src/mac/proc_bsr.cc @@ -82,7 +82,7 @@ void bsr_proc::timer_expired(uint32_t timer_id) { if (triggered_bsr_type == NONE) { // Check condition 4 in Sec 5.4.5 triggered_bsr_type = PERIODIC; - Info("BSR: Triggering Periodic BSR\n"); + Debug("BSR: Triggering Periodic BSR\n"); } break; case mac::BSR_TIMER_RETX: @@ -90,7 +90,7 @@ void bsr_proc::timer_expired(uint32_t timer_id) { int periodic = liblte_rrc_periodic_bsr_timer_num[mac_cfg->main.ulsch_cnfg.periodic_bsr_timer]; if (periodic >= 0) { triggered_bsr_type = REGULAR; - Info("BSR: Triggering BSR reTX\n"); + Debug("BSR: Triggering BSR reTX\n"); sr_is_sent = false; } break; @@ -121,7 +121,7 @@ bool bsr_proc::check_highest_channel() { if (nbytes > last_pending_data[pending_data_lcid]) { if (triggered_bsr_type != REGULAR) { - Info("BSR: Triggered REGULAR BSR for Max Priority LCID=%d\n", pending_data_lcid); + Debug("BSR: Triggered REGULAR BSR for Max Priority LCID=%d\n", pending_data_lcid); } triggered_bsr_type = REGULAR; return true; @@ -158,7 +158,7 @@ bool bsr_proc::check_single_channel() { // If there is new data available for this logical channel if (nbytes > last_pending_data[pending_data_lcid]) { triggered_bsr_type = REGULAR; - Info("BSR: Triggered REGULAR BSR for single LCID=%d\n", pending_data_lcid); + Debug("BSR: Triggered REGULAR BSR for single LCID=%d\n", pending_data_lcid); return true; } } @@ -370,7 +370,7 @@ bool bsr_proc::need_to_send_sr(uint32_t tti) { if (srslte_tti_interval(tti,next_tx_tti)>0 && srslte_tti_interval(tti,next_tx_tti) < 10240-4) { reset_sr = false; sr_is_sent = true; - Info("BSR: Need to send sr: sr_is_sent=true, reset_sr=false, tti=%d, next_tx_tti=%d\n", tti, next_tx_tti); + Debug("BSR: Need to send sr: sr_is_sent=true, reset_sr=false, tti=%d, next_tx_tti=%d\n", tti, next_tx_tti); return true; } else { Debug("BSR: Not sending SR because tti=%d, next_tx_tti=%d\n", tti, next_tx_tti);