Updated E2AP ports
[o-du/l2.git] / src / 5gnrsch / sch_utils.h
index 0717460..60c92ea 100644 (file)
@@ -67,6 +67,7 @@
    {                                                            \
       SPutSBuf(SCH_MEM_REGION, SCH_POOL,                        \
             (Data *)_datPtr, _size);                            \
+      _datPtr = NULLP;                                          \
    }                                                            \
 }
                           
@@ -93,7 +94,9 @@ uint16_t schCalcTbSizeFromNPrb(uint16_t numPrb, uint16_t mcs, uint8_t numSymbols
 SchUeCb* schGetUeCb(SchCellCb *cellCb, uint16_t crnti);
 void schInitUlSlot(SchUlSlotInfo *schUlSlotInfo);
 void schInitDlSlot(SchDlSlotInfo *schDlSlotInfo);
-
+#ifdef NR_TDD
+SlotConfig schGetSlotFrmt(uint16_t slot, uint32_t slotBitMap);
+#endif
 
 /**********************************************************************
   End of file