mirror of https://github.com/PentHertz/srsLTE.git
sched,nr: fix assignment of PID for PUSCH grants that the scheduler outputs
This commit is contained in:
parent
2b1be3dbce
commit
14b3a65dfe
|
@ -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();
|
||||
srsran_slot_cfg_t slot_cfg;
|
||||
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);
|
||||
srsran_assert(success, "Error converting DCI to PUSCH grant");
|
||||
pusch.sch.grant.tb[0].softbuffer.rx = ue.h_ul->get_softbuffer().get();
|
||||
|
|
Loading…
Reference in New Issue