Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[Epic-ID: ODUHIGH-462][Task-ID: ODUHIGH-482] G release documentation"
[o-du/l2.git]
/
src
/
5gnrmac
/
mac_utils.h
diff --git
a/src/5gnrmac/mac_utils.h
b/src/5gnrmac/mac_utils.h
index
447774e
..
8f55814
100644
(file)
--- a/
src/5gnrmac/mac_utils.h
+++ b/
src/5gnrmac/mac_utils.h
@@
-19,17
+19,19
@@
/* Contains common utility definitions to be used at MAC */
#define MAX_SHORT_BSR_TABLE_ENTRIES 32
/* 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)\
{\
#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
\n", \
+ _macro, _file, _line, _func,
(uint64_t)
_size, _datPtr); \
}
#else
}
#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 */
#endif
/* allocate and zero out a MAC static buffer */
@@
-144,8
+146,9
@@
}
/* Function declaration */
}
/* Function declaration */
-uint16_t getNewCrnti(uint8_t *crntiMap);
uint32_t shortBsrBytesTable[MAX_SHORT_BSR_TABLE_ENTRIES];
uint32_t shortBsrBytesTable[MAX_SHORT_BSR_TABLE_ENTRIES];
+uint32_t longBsrBytesTable[MAX_LONG_BSR_TABLE_ENTRIES];
+
/**********************************************************************
End of file
**********************************************************************/
/**********************************************************************
End of file
**********************************************************************/