/* Contains common utility definitions to be used at MAC */
#define MAX_SHORT_BSR_TABLE_ENTRIES 32
+#define MAX_LONG_BSR_TABLE_ENTRIES 256
#define MAC_MEM_REGION 4
#define MAC_POOL 1
#ifdef ODU_MEMORY_DEBUG_LOG
#define MAC_MEM_LOG(_macro, _file, _line, _func, _size, _datPtr)\
{\
- printf("\n%s=== %s +%d, %s, %d, %p\n", \
- _macro, _file, _line, _func, _size, _datPtr); \
+ printf("\n%s=== %s +%d, %s, %lu, %p", \
+ _macro, _file, _line, _func, (uint64_t)_size, _datPtr); \
}
#else
-#define MAC_MEM_LOG(_macro, _file, _line, _func, _size, _dataPtr) {}
+#define MAC_MEM_LOG(_macro, _file, _line, _func, _size, _dataPtr){\
+}
#endif
/* allocate and zero out a MAC static buffer */
}
/* Function declaration */
-uint16_t getNewCrnti(uint8_t *crntiMap);
uint32_t shortBsrBytesTable[MAX_SHORT_BSR_TABLE_ENTRIES];
+uint32_t longBsrBytesTable[MAX_LONG_BSR_TABLE_ENTRIES];
+
/**********************************************************************
End of file
**********************************************************************/