X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch_slot_ind.c;h=935d22c1ab20d7db8b1d656846ea7f6fa057a9a0;hb=2a05694263fa633b9b051cb249d0e43128d5a760;hp=2c8a853ed68d3ba519f38216f816a3f7b160cdd5;hpb=34298780bea6c8614b686f80037756b6244e1ca6;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch_slot_ind.c b/src/5gnrsch/sch_slot_ind.c index 2c8a853ed..935d22c1a 100644 --- 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(!cell->firstSsbTransmitted) + cell->firstSsbTransmitted = true; } - else if (sfnSlot % ssb_rep == 0) + else if (cell->firstSsbTransmitted && (sfnSlot % ssb_rep == 0)) { 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(!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; }