JIRA ID: ODUHIGH-314 : Time domain allocation for SSB in TDD mode
[o-du/l2.git] / src / 5gnrmac / mac_utils.h
index c35bbeb..185cce7 100644 (file)
@@ -30,7 +30,7 @@
         (Data **)&_datPtr, _size);                          \
    if(_ret == ROK)                                           \
    {                                                         \
-      cmMemset((uint8_t *)_datPtr, 0, _size);                \
+      memset(_datPtr, 0, _size);                \
    }                                                         \
    else                                                      \
    {                                                         \
@@ -45,6 +45,7 @@
    {                                                         \
       SPutSBuf(MAC_MEM_REGION, MAC_POOL,                     \
            (Data *)_datPtr, _size);                         \
+      _datPtr = NULLP;                                      \
    }                                                         \
 }
 
@@ -55,7 +56,7 @@
    if(SGetStaticBuffer(MAC_MEM_REGION, MAC_POOL,             \
            (Data **)&_buf, (Size) _size, 0) == ROK)         \
    {                                                         \
-      cmMemset((uint8_t *)(_buf), 0, _size);                 \
+      memset((_buf), 0, _size);                 \
    }                                                         \
    else                                                      \
    {                                                         \
 
 /* Function declaration */
 uint16_t getNewCrnti(uint8_t *crntiMap);
-
+uint32_t shortBsrBytesTable[MAX_SHORT_BSR_TABLE_ENTRIES];
 /**********************************************************************
          End of file
 **********************************************************************/