From 7ce71c0e4df07b57be9cee30725d498f4699b5c6 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Mon, 15 Nov 2021 17:28:25 +0100 Subject: [PATCH] nr,sched: propagate offset_rb to PDCCH ctx --- srsgnb/src/stack/mac/sched_nr_grant_allocator.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srsgnb/src/stack/mac/sched_nr_grant_allocator.cc b/srsgnb/src/stack/mac/sched_nr_grant_allocator.cc index 81e1227d2..3fcfaa7ec 100644 --- a/srsgnb/src/stack/mac/sched_nr_grant_allocator.cc +++ b/srsgnb/src/stack/mac/sched_nr_grant_allocator.cc @@ -97,7 +97,9 @@ alloc_result bwp_slot_allocator::alloc_si(uint32_t aggr_idx, bwp_pdcch_slot.coresets[coreset_id]->rem_last_dci(); return alloc_result::invalid_coderate; } - pdcch.dci.coreset0_bw = pdcch.dci_cfg.coreset0_bw; + + pdcch.dci.coreset0_bw = pdcch.dci_cfg.coreset0_bw; + pdcch.dci.ctx.coreset_start_rb = cfg.cfg.pdcch.coreset[0].offset_rb; // Generate PDSCH bwp_pdcch_slot.dl.phy.pdsch.emplace_back();