From bc1b14efea0e21f8ffb77cf0fbbbeef53c51ca04 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Fri, 9 Apr 2021 21:33:04 +0200 Subject: [PATCH] Fix NR common PDSCH Resource allocation count --- srsue/src/stack/rrc/rrc_nr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsue/src/stack/rrc/rrc_nr.cc b/srsue/src/stack/rrc/rrc_nr.cc index 5ce963306..5efb79d13 100644 --- a/srsue/src/stack/rrc/rrc_nr.cc +++ b/srsue/src/stack/rrc/rrc_nr.cc @@ -665,7 +665,7 @@ bool rrc_nr::apply_dl_common_cfg(const asn1::rrc_nr::dl_cfg_common_s& dl_cfg_com srsran_sch_time_ra_t common_time_ra; if (make_phy_common_time_ra(pdsch_cfg_common.pdsch_time_domain_alloc_list[i], &common_time_ra) == true) { phy_cfg.pdsch.common_time_ra[i] = common_time_ra; - phy_cfg.pdsch.nof_common_time_ra = i; + phy_cfg.pdsch.nof_common_time_ra = i + 1; } else { logger.warning("Warning while building common_time_ra structure"); return false;