From 609366afce5075518d2b56fa57f8e7d2674acf5e Mon Sep 17 00:00:00 2001 From: Francisco Date: Tue, 23 Mar 2021 10:50:38 +0000 Subject: [PATCH] change sched buffer state update log level to info for SRBs --- srsenb/src/stack/mac/sched_ue_ctrl/sched_lch.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srsenb/src/stack/mac/sched_ue_ctrl/sched_lch.cc b/srsenb/src/stack/mac/sched_ue_ctrl/sched_lch.cc index 88b7452d4..10869e80b 100644 --- a/srsenb/src/stack/mac/sched_ue_ctrl/sched_lch.cc +++ b/srsenb/src/stack/mac/sched_ue_ctrl/sched_lch.cc @@ -139,9 +139,13 @@ void lch_ue_manager::dl_buffer_state(uint8_t lcid, uint32_t tx_queue, uint32_t r logger.warning("The provided lcid=%d is not valid", lcid); return; } + if (lcid < 3 and (lch[lcid].buf_tx != (int)tx_queue or lch[lcid].buf_retx != (int)retx_queue)) { + logger.info("SCHED: DL lcid=%d buffer_state=%d,%d", lcid, tx_queue, retx_queue); + } else { + logger.debug("SCHED: DL lcid=%d buffer_state=%d,%d", lcid, tx_queue, retx_queue); + } lch[lcid].buf_retx = retx_queue; lch[lcid].buf_tx = tx_queue; - logger.debug("SCHED: DL lcid=%d buffer_state=%d,%d", lcid, tx_queue, retx_queue); } int lch_ue_manager::get_max_prio_lcid() const