From 3d9e0cb840ca76554323ab32a7704ff257058f61 Mon Sep 17 00:00:00 2001 From: Piotr Gawlowicz Date: Fri, 24 Feb 2023 13:27:56 +0100 Subject: [PATCH] sched: fix total number of PRBs allocated to msg3 --- srsenb/src/stack/mac/sched_grid.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/src/stack/mac/sched_grid.cc b/srsenb/src/stack/mac/sched_grid.cc index 126c11aab..0cbeeea4f 100644 --- a/srsenb/src/stack/mac/sched_grid.cc +++ b/srsenb/src/stack/mac/sched_grid.cc @@ -439,7 +439,7 @@ alloc_result sf_sched::alloc_rar(uint32_t aggr_lvl, const pending_rar_t& rar, rb rar_alloc.alloc_data.rbg_range = rbgs; rar_alloc.alloc_data.req_bytes = buf_rar; rar_allocs.push_back(rar_alloc); - last_msg3_prb += total_ul_nof_prbs * nof_grants; + last_msg3_prb += total_ul_nof_prbs; return ret; }