X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac_slot_ind.c;h=cbcf1c347d5c7bd8a4ead567c86526475d879bd5;hb=e54c2aae19e97065def9e5ab2d1488477b1ea209;hp=e17d220ac6d9abde6f143ddcaa8b8443218f5dcf;hpb=12da8be0c4941e107b9ff0d18ce5b6eb7f5f7d20;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_slot_ind.c b/src/5gnrmac/mac_slot_ind.c index e17d220ac..cbcf1c347 100644 --- a/src/5gnrmac/mac_slot_ind.c +++ b/src/5gnrmac/mac_slot_ind.c @@ -333,7 +333,7 @@ void buildAndSendMuxPdu(SlotTimingInfo currTimingInfo) GET_CELL_IDX(currTimingInfo.cellId, cellIdx); - ADD_DELTA_TO_TIME(currTimingInfo, muxTimingInfo, PHY_DELTA_DL, macCb.macCell[cellIdx]->numOfSlots); + ADD_DELTA_TO_TIME(currTimingInfo, muxTimingInfo, gConfigInfo.gPhyDeltaDl, macCb.macCell[cellIdx]->numOfSlots); currDlSlot = &macCb.macCell[cellIdx]->dlSlot[muxTimingInfo.slot]; for(ueIdx=0; ueIdxcellId, cellIdx); macCb.macCell[cellIdx]->state = CELL_STATE_UP; @@ -557,7 +557,7 @@ uint8_t fapiMacSlotInd(Pst *pst, SlotTimingInfo *slotInd) /*First Slot Ind is for CellUp. Any other Slot, will be notified to DUAPP as * SLOT_IND*/ - if(gSlotCount == 1) + if(gConfigInfo.gSlotCount == 1) { /* send cell up indication to du app */ ret = sendCellUpIndMacToDuApp(slotInd->cellId);