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.
master
Andre Puschmann 4 years ago committed by Ismael Gomez
parent 06a5bdaab2
commit 14289ebcc6

@ -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 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 || (cur_grant.tb[tid].tbs != grant.tb[tid].tbs)) {
if (!is_new_transmission) { if (!is_new_transmission) {
Warning("DL PID %d: Size of dci changed during a retransmission %d!=%d\n", Debug("DL PID %d: Size of dci changed during a retransmission %d!=%d\n",
pid, pid,
cur_grant.tb[tid].tbs, cur_grant.tb[tid].tbs,
grant.tb[tid].tbs); grant.tb[tid].tbs);
} }
ack = false; ack = false;
n_retx = 0; 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( bool dl_harq_entity::dl_harq_process::dl_tb_process::calc_is_new_transmission(
mac_interface_phy_lte::mac_grant_dl_t grant) mac_interface_phy_lte::mac_grant_dl_t grant)
{ {
if (((grant.tb[tid].ndi_present && if (((grant.tb[tid].ndi_present &&
grant.tb[tid].ndi != cur_grant.tb[tid].ndi) || // 1st condition (NDI provided and has changed) 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) (is_bcch && grant.tb[tid].rv == 0) || // 2nd condition (Broadcast and 1st transmission)

Loading…
Cancel
Save