From 14289ebcc68f21a9277a82f0f664ce7e1c574327 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 31 Aug 2020 23:54:20 +0200 Subject: [PATCH] dl_harq: lower log level when MCS changes in DL grant to debug fixes #1489 this is normal behavior and should not result in a warning message. --- srsue/src/stack/mac/dl_harq.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/srsue/src/stack/mac/dl_harq.cc b/srsue/src/stack/mac/dl_harq.cc index 2760b9780..7d489d3d2 100644 --- a/srsue/src/stack/mac/dl_harq.cc +++ b/srsue/src/stack/mac/dl_harq.cc @@ -262,10 +262,10 @@ void dl_harq_entity::dl_harq_process::dl_tb_process::new_grant_dl(mac_interface_ // If this is a new transmission or the size of the TB has changed if (is_new_transmission || (cur_grant.tb[tid].tbs != grant.tb[tid].tbs)) { if (!is_new_transmission) { - Warning("DL PID %d: Size of dci changed during a retransmission %d!=%d\n", - pid, - cur_grant.tb[tid].tbs, - grant.tb[tid].tbs); + Debug("DL PID %d: Size of dci changed during a retransmission %d!=%d\n", + pid, + cur_grant.tb[tid].tbs, + grant.tb[tid].tbs); } ack = false; n_retx = 0; @@ -379,7 +379,6 @@ void dl_harq_entity::dl_harq_process::dl_tb_process::tb_decoded(mac_interface_ph bool dl_harq_entity::dl_harq_process::dl_tb_process::calc_is_new_transmission( mac_interface_phy_lte::mac_grant_dl_t grant) { - if (((grant.tb[tid].ndi_present && grant.tb[tid].ndi != cur_grant.tb[tid].ndi) || // 1st condition (NDI provided and has changed) (is_bcch && grant.tb[tid].rv == 0) || // 2nd condition (Broadcast and 1st transmission)