sched,nr: disable simultaneous RAR and SSB until the PHY supports it

This commit is contained in:
Francisco 2021-10-06 15:46:24 +01:00 committed by Ismael Gomez
parent b060c3deca
commit cda4275ed0
1 changed files with 10 additions and 4 deletions

View File

@ -93,6 +93,12 @@ alloc_result bwp_slot_allocator::alloc_rar_and_msg3(uint16_t
static const uint32_t msg3_nof_prbs = 3, m = 0;
bwp_slot_grid& bwp_pdcch_slot = bwp_grid[pdcch_slot];
if (not bwp_pdcch_slot.ssb.empty()) {
// TODO: support concurrent PDSCH and SSB
logger.info("SCHED: skipping ra-rnti=0x%x RAR allocation. Cause: concurrent PDSCH and SSB not yet supported",
ra_rnti);
return alloc_result::no_sch_space;
}
slot_point msg3_slot = pdcch_slot + cfg.pusch_ra_list[m].msg3_delay;
bwp_slot_grid& bwp_msg3_slot = bwp_grid[msg3_slot];
alloc_result ret = verify_pusch_space(bwp_msg3_slot, nullptr);