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
Changes to make number of slots and BW generic
[o-du/l2.git]
/
src
/
5gnrsch
/
sch_slot_ind.c
diff --git
a/src/5gnrsch/sch_slot_ind.c
b/src/5gnrsch/sch_slot_ind.c
index
9864701
..
bd3e642
100644
(file)
--- a/
src/5gnrsch/sch_slot_ind.c
+++ b/
src/5gnrsch/sch_slot_ind.c
@@
-49,8
+49,8
@@
SchMacDlAllocFunc schMacDlAllocOpts[] =
packSchMacDlAlloc
};
packSchMacDlAlloc
};
-
extern
SchCb schCb[SCH_MAX_INST];
-
extern
int schFillRar(RarAlloc *rarAlloc, uint16_t raRnti, uint16_t pci, uint8_t
+SchCb schCb[SCH_MAX_INST];
+int schFillRar(RarAlloc *rarAlloc, uint16_t raRnti, uint16_t pci, uint8_t
offsetPointA);
/*******************************************************************
offsetPointA);
/*******************************************************************
@@
-240,8
+240,8
@@
uint8_t schProcessSlotInd(SlotIndInfo *slotInd, Inst schInst)
memcpy(&cell->slotInfo, slotInd, sizeof(SlotIndInfo));
dlBrdcstAlloc->ssbIdxSupported = 1;
memcpy(&cell->slotInfo, slotInd, sizeof(SlotIndInfo));
dlBrdcstAlloc->ssbIdxSupported = 1;
- sfnSlot =
((dlSchedInfo.schSlotValue.broadcastTime.sfn * 10)
+
-
dlSchedInfo.schSlotValue.broadcastTime.slot)
;
+ sfnSlot =
dlSchedInfo.schSlotValue.broadcastTime.sfn * cell->numSlots
+
+
dlSchedInfo.schSlotValue.broadcastTime.slot
;
slot = dlSchedInfo.schSlotValue.currentTime.slot;
slot = dlSchedInfo.schSlotValue.currentTime.slot;