Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[Epic-ID: ODUHIGH-538][Issue-ID: ODUHIGH-571] Adding XML parser for macros defined...
[o-du/l2.git]
/
src
/
5gnrsch
/
sch_rach.c
diff --git
a/src/5gnrsch/sch_rach.c
b/src/5gnrsch/sch_rach.c
index
8872f8a
..
025f38c
100644
(file)
--- 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 */
}
/* 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 */
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;
{
/* 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));
if(ret == RFAILED)
{
SCH_FREE(dciSlotAlloc, sizeof(RarAlloc));