From efa79bf40857d7f2c97cbd1762be1a247af407c0 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 3 Sep 2021 10:42:14 +0200 Subject: [PATCH] sched_nr_helpers: fix copy-paste error UL vs DL --- srsenb/src/stack/mac/nr/sched_nr_helpers.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srsenb/src/stack/mac/nr/sched_nr_helpers.cc b/srsenb/src/stack/mac/nr/sched_nr_helpers.cc index 658f0baf0..ddc49d081 100644 --- a/srsenb/src/stack/mac/nr/sched_nr_helpers.cc +++ b/srsenb/src/stack/mac/nr/sched_nr_helpers.cc @@ -163,12 +163,12 @@ void log_sched_bwp_result(srslog::basic_logger& logger, const slot_ue& ue = slot_ues[pdcch.dci.ctx.rnti]; fmt::format_to(fmtbuf, "SCHED: UL {}, cc={}, rnti=0x{:x}, pid={}, f={}, nrtx={}, tbs={}, tti_pusch={}", - ue.h_dl->nof_retx() == 0 ? "tx" : "retx", + ue.h_ul->nof_retx() == 0 ? "tx" : "retx", res_grid.cfg->cc, ue.rnti, pdcch.dci.pid, srsran_dci_format_nr_string(pdcch.dci.ctx.format), - ue.h_dl->nof_retx(), + ue.h_ul->nof_retx(), ue.h_ul->tbs(), ue.pusch_slot); } else if (pdcch.dci.ctx.rnti_type == srsran_rnti_type_tc) { @@ -178,7 +178,7 @@ void log_sched_bwp_result(srslog::basic_logger& logger, res_grid.cfg->cc, ue.rnti, pdcch.dci.pid, - ue.h_dl->nof_retx(), + ue.h_ul->nof_retx(), srsran_dci_format_nr_string(pdcch.dci.ctx.format), ue.pusch_slot); } else {