From 465c3d9186e3c925fe1d6725a935ac44a2730c72 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 26 Oct 2020 11:17:26 +0100 Subject: [PATCH] proc_sr: remove info log when starting SR proc this was a very noisy log that was printed in pretty much every TTI because the BSR procedure starts a SR whenever it needs to send a regular BSR. The SR is canceled when a UL grant arrives but the log line stays there. Since we are printing a log when we actually signal a SR to the PHY, this line is not needed. --- srsue/src/stack/mac/proc_sr.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srsue/src/stack/mac/proc_sr.cc b/srsue/src/stack/mac/proc_sr.cc index f2f1bdb8d..c47503a62 100644 --- a/srsue/src/stack/mac/proc_sr.cc +++ b/srsue/src/stack/mac/proc_sr.cc @@ -74,6 +74,9 @@ void sr_proc::set_config(srslte::sr_cfg_t& cfg) Error("Zero is an invalid value for dsr-TransMax (n4, n8, n16, n32, n64 are supported). Disabling SR.\n"); return; } + if (cfg.enabled) { + Info("SR: Set dsr_transmax=%d\n", sr_cfg.dsr_transmax); + } sr_cfg = cfg; } @@ -115,9 +118,6 @@ void sr_proc::start() sr_counter = 0; is_pending_sr = true; } - if (sr_cfg.enabled) { - Info("SR: Starting Procedure. dsrTransMax=%d\n", sr_cfg.dsr_transmax); - } } }