sched_nr: move DCI config for SIB to fill_dci_sib()

master
Andre Puschmann 3 years ago
parent c73a77330f
commit fe0db905c2

@ -99,9 +99,6 @@ alloc_result bwp_slot_allocator::alloc_si(uint32_t aggr_idx,
return alloc_result::invalid_coderate; return alloc_result::invalid_coderate;
} }
pdcch.dci.coreset0_bw = pdcch.dci_cfg.coreset0_bw;
pdcch.dci.ctx.coreset_start_rb = cfg.cfg.pdcch.coreset[0].offset_rb;
// Generate PDSCH // Generate PDSCH
bwp_pdcch_slot.dl.phy.pdsch.emplace_back(); bwp_pdcch_slot.dl.phy.pdsch.emplace_back();
pdsch_t& pdsch = bwp_pdcch_slot.dl.phy.pdsch.back(); pdsch_t& pdsch = bwp_pdcch_slot.dl.phy.pdsch.back();

@ -114,6 +114,8 @@ bool fill_dci_sib(prb_interval interv,
dci.ctx.rnti_type = srsran_rnti_type_si; dci.ctx.rnti_type = srsran_rnti_type_si;
dci.ctx.rnti = SRSRAN_SIRNTI; dci.ctx.rnti = SRSRAN_SIRNTI;
dci.ctx.coreset_id = 0; dci.ctx.coreset_id = 0;
dci.ctx.coreset_start_rb = bwp_cfg.cfg.pdcch.coreset[0].offset_rb;
dci.coreset0_bw = srsran_coreset_get_bw(&bwp_cfg.cfg.pdcch.coreset[0]);
dci.freq_domain_assigment = dci.freq_domain_assigment =
srsran_ra_nr_type1_riv(srsran_coreset_get_bw(&bwp_cfg.cfg.pdcch.coreset[0]), interv.start(), interv.length()); srsran_ra_nr_type1_riv(srsran_coreset_get_bw(&bwp_cfg.cfg.pdcch.coreset[0]), interv.start(), interv.length());
dci.time_domain_assigment = 0; dci.time_domain_assigment = 0;

Loading…
Cancel
Save