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
Added fix for SSB and SIB1 repeatition
[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
2c8a853
..
935d22c
100644
(file)
--- a/
src/5gnrsch/sch_slot_ind.c
+++ b/
src/5gnrsch/sch_slot_ind.c
@@
-251,8
+251,10
@@
uint8_t schProcessSlotInd(SlotIndInfo *slotInd, Inst schInst)
if (sfnSlot % SCH_MIB_TRANS == 0)
{
dlBrdcstAlloc->ssbTrans = SSB_TRANSMISSION;
if (sfnSlot % SCH_MIB_TRANS == 0)
{
dlBrdcstAlloc->ssbTrans = SSB_TRANSMISSION;
+ if(!cell->firstSsbTransmitted)
+ cell->firstSsbTransmitted = true;
}
}
- else if (
sfnSlot % ssb_rep == 0
)
+ else if (
cell->firstSsbTransmitted && (sfnSlot % ssb_rep == 0)
)
{
dlBrdcstAlloc->ssbTrans = SSB_REPEAT;
}
{
dlBrdcstAlloc->ssbTrans = SSB_REPEAT;
}
@@
-265,8
+267,10
@@
uint8_t schProcessSlotInd(SlotIndInfo *slotInd, Inst schInst)
if(sfnSlot % cell->cellCfg.sib1SchCfg.sib1NewTxPeriod == 0)
{
dlBrdcstAlloc->sib1Trans = SIB1_TRANSMISSION;
if(sfnSlot % cell->cellCfg.sib1SchCfg.sib1NewTxPeriod == 0)
{
dlBrdcstAlloc->sib1Trans = SIB1_TRANSMISSION;
+ if(!cell->firstSib1Transmitted)
+ cell->firstSib1Transmitted = true;
}
}
- else if (
sfnSlot % cell->cellCfg.sib1SchCfg.sib1RepetitionPeriod == 0
)
+ else if (
cell->firstSib1Transmitted && (sfnSlot % cell->cellCfg.sib1SchCfg.sib1RepetitionPeriod == 0)
)
{
dlBrdcstAlloc->sib1Trans = SIB1_REPITITION;
}
{
dlBrdcstAlloc->sib1Trans = SIB1_REPITITION;
}