[Epic-ID: ODUHIGH-538][Issue-ID: ODUHIGH-571] Adding XML parser for macros defined...
[o-du/l2.git] / src / 5gnrmac / mac_slot_ind.c
index e17d220..cbcf1c3 100644 (file)
@@ -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; ueIdx<MAX_NUM_UE; ueIdx++)
@@ -526,9 +526,9 @@ uint8_t fapiMacSlotInd(Pst *pst, SlotTimingInfo *slotInd)
 #endif
    /*starting Task*/
    ODU_START_TASK(&startTime, PID_MAC_TTI_IND);
-   gSlotCount++;
+   gConfigInfo.gSlotCount++;
 
-   if(gSlotCount == 1)
+   if(gConfigInfo.gSlotCount == 1)
    {
           GET_CELL_IDX(slotInd->cellId, 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);