From: sphoorthi Date: Mon, 31 May 2021 15:29:38 +0000 (+0530) Subject: schGetSlotSymbFrmt fixes for TDD X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=47233d9133bc657fcb47df4a9d6a447a841a0967;p=o-du%2Fl2.git schGetSlotSymbFrmt fixes for TDD Change-Id: I024c46b4d70ef3125f7fd8caf88b8798eb6e5581 Signed-off-by: sphoorthi --- diff --git a/src/5gnrsch/sch_common.c b/src/5gnrsch/sch_common.c index e064b8376..2e74c88ad 100644 --- a/src/5gnrsch/sch_common.c +++ b/src/5gnrsch/sch_common.c @@ -205,7 +205,8 @@ void schPrachResAlloc(SchCellCb *cell, UlSchedInfo *ulSchedInfo, SlotIndInfo pra { /* prach ocassion present in this subframe */ #ifdef NR_TDD - if(UL_SLOT != schGetSlotSymbFrmt(prachOccasionTimingInfo.slot, cell->slotFrmtBitMap)) + if(UL_SLOT != schGetSlotSymbFrmt(prachOccasionTimingInfo.slot%cell->numSlotsInPeriodicity,\ + cell->slotFrmtBitMap)) { DU_LOG("\nERROR --> SCH : PrachCfgIdx %d doesn't support UL slot", prachCfgIdx); }