From ca7a3cf2014c10dd83b7ae115266e142a32d2b13 Mon Sep 17 00:00:00 2001 From: Francisco Date: Tue, 12 Oct 2021 12:18:45 +0100 Subject: [PATCH] nr,sched: fix sched tbs acked metric computation --- srsenb/src/stack/mac/nr/sched_nr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/src/stack/mac/nr/sched_nr.cc b/srsenb/src/stack/mac/nr/sched_nr.cc index f1a4ffc2e..28e88bba6 100644 --- a/srsenb/src/stack/mac/nr/sched_nr.cc +++ b/srsenb/src/stack/mac/nr/sched_nr.cc @@ -165,7 +165,7 @@ void sched_nr::dl_ack_info(uint16_t rnti, uint32_t cc, uint32_t pid, uint32_t tb int tbs = ue_cc.harq_ent.dl_ack_info(pid, tb_idx, ack); if (tbs >= 0) { if (ack) { - ue_cc.metrics.tx_brate += tbs * 8; + ue_cc.metrics.tx_brate += tbs; } else { ue_cc.metrics.tx_errors++; }