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
Fix for RAR and DL dedicated PDU length [Issue-Id: ODUHIGH-348]
[o-du/l2.git]
/
src
/
5gnrsch
/
sch_common.c
diff --git
a/src/5gnrsch/sch_common.c
b/src/5gnrsch/sch_common.c
index
431c5e0
..
f6c8011
100644
(file)
--- 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
{
/* 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);
}
{
DU_LOG("\nERROR --> SCH : PrachCfgIdx %d doesn't support UL slot", prachCfgIdx);
}