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
e2ap message cleanup
[o-du/l2.git]
/
src
/
5gnrmac
/
lwr_mac.h
diff --git
a/src/5gnrmac/lwr_mac.h
b/src/5gnrmac/lwr_mac.h
index
3fa21a2
..
b8cc0af
100644
(file)
--- a/
src/5gnrmac/lwr_mac.h
+++ b/
src/5gnrmac/lwr_mac.h
@@
-35,6
+35,12
@@
#include "cm_lib.x"
#include "du_app_mac_inf.h"
#include "cm_lib.x"
#include "du_app_mac_inf.h"
+#ifdef INTEL_WLS
+#define LWR_MAC_ALLOC(_datPtr, _size) WLS_MEM_ALLOC(_datPtr, _size);
+#else
+#define LWR_MAC_ALLOC(_datPtr, _size) MAC_ALLOC(_datPtr, _size);
+#endif
+
typedef enum
{
PHY_STATE_IDLE,
typedef enum
{
PHY_STATE_IDLE,
@@
-270,6
+276,10
@@
typedef struct clCellParam
EXTERN ClCb clGlobalCp;
EXTERN ClCellCb * rgClUtlGetCellCb ARGS((U16 cellId));
EXTERN ClCb clGlobalCp;
EXTERN ClCellCb * rgClUtlGetCellCb ARGS((U16 cellId));
+EXTERN uint32_t reverseBits(uint32_t num, uint8_t numBits);
+EXTERN void fillDlDciPayload(uint8_t *buf, uint8_t *bytePos, uint8_t *bitPos,\
+ uint32_t val, uint8_t valSize);
+EXTERN void lwrMacInit();
#endif
#endif