|
|
@ -310,6 +310,7 @@ alloc_result bwp_slot_allocator::alloc_pusch(slot_ue& ue, const prb_grant& ul_pr
|
|
|
|
pusch_t& pusch = bwp_pusch_slot.puschs.back();
|
|
|
|
pusch_t& pusch = bwp_pusch_slot.puschs.back();
|
|
|
|
srsran_slot_cfg_t slot_cfg;
|
|
|
|
srsran_slot_cfg_t slot_cfg;
|
|
|
|
slot_cfg.idx = ue.pusch_slot.to_uint();
|
|
|
|
slot_cfg.idx = ue.pusch_slot.to_uint();
|
|
|
|
|
|
|
|
pusch.pid = ue.h_ul->pid;
|
|
|
|
bool success = ue.cfg->phy().get_pusch_cfg(slot_cfg, pdcch.dci, pusch.sch);
|
|
|
|
bool success = ue.cfg->phy().get_pusch_cfg(slot_cfg, pdcch.dci, pusch.sch);
|
|
|
|
srsran_assert(success, "Error converting DCI to PUSCH grant");
|
|
|
|
srsran_assert(success, "Error converting DCI to PUSCH grant");
|
|
|
|
pusch.sch.grant.tb[0].softbuffer.rx = ue.h_ul->get_softbuffer().get();
|
|
|
|
pusch.sch.grant.tb[0].softbuffer.rx = ue.h_ul->get_softbuffer().get();
|
|
|
|