X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=src%2F5gnrsch%2Fsch_rach.c;h=025f38c4dda03256ba0c65de9fa61a44f5f98728;hb=5256719522354a90ea688e9c95a1212d0104b34e;hp=8872f8a2534ddcd0bd0ff7a3f58566ae54a8ebee;hpb=d42002c489df04b7a8346e6187a97f75cca9f85b;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch_rach.c b/src/5gnrsch/sch_rach.c index 8872f8a25..025f38c4d 100644 --- a/src/5gnrsch/sch_rach.c +++ b/src/5gnrsch/sch_rach.c @@ -568,7 +568,7 @@ bool schProcessRaReq(Inst schInst, SchCellCb *cell, SlotTimingInfo currTime, uin } /* Calculating time frame to send DCI for RAR */ - ADD_DELTA_TO_TIME(currTime, dciTime, PHY_DELTA_DL + SCHED_DELTA, cell->numSlots); + ADD_DELTA_TO_TIME(currTime, dciTime, gConfigInfo.gPhyDeltaDl + SCHED_DELTA, cell->numSlots); dciSlot = dciTime.slot; #ifdef NR_TDD /* Consider this slot for sending DCI, only if it is a DL slot */ @@ -698,7 +698,7 @@ bool schProcessRaReq(Inst schInst, SchCellCb *cell, SlotTimingInfo currTime, uin { /* Allocate resources for PUCCH */ cell->schUlSlotInfo[pucchTime.slot]->pucchUe = ueId; - ret = schAllocPucchResource(cell, pucchTime, NULLP, FALSE, NULLP); + ret = schAllocPucchResource(cell, pucchTime, NULLP, NULLP, NULLP); if(ret == RFAILED) { SCH_FREE(dciSlotAlloc, sizeof(RarAlloc));