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
Cleanup of dutocurrc container
[o-du/l2.git]
/
src
/
5gnrmac
/
lwr_mac.h
diff --git
a/src/5gnrmac/lwr_mac.h
b/src/5gnrmac/lwr_mac.h
index
dc6429a
..
b8cc0af
100644
(file)
--- a/
src/5gnrmac/lwr_mac.h
+++ b/
src/5gnrmac/lwr_mac.h
@@
-26,13
+26,21
@@
#include "gen.h"
#include "ssi.h"
#include "cm_hash.h"
#include "gen.h"
#include "ssi.h"
#include "cm_hash.h"
+#include "cm_lte.h"
#include "gen.x"
#include "ssi.x"
#include "cm_hash.x"
#include "gen.x"
#include "ssi.x"
#include "cm_hash.x"
+#include "cm_lte.x"
#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,
@@
-43,11
+51,12
@@
typedef enum
/* Events in Lower Mac */
typedef enum{
/* Events in Lower Mac */
typedef enum{
- FAPI_PARAM_REQUEST,
- FAPI_PARAM_RESPONSE,
- FAPI_CONFIG_REQUEST,
- FAPI_CONFIG_RESPONSE,
- FAPI_START_REQUEST,
+ PARAM_REQUEST,
+ PARAM_RESPONSE,
+ CONFIG_REQUEST,
+ CONFIG_RESPONSE,
+ START_REQUEST,
+ STOP_REQUEST,
MAX_EVENT
}EventState;
MAX_EVENT
}EventState;
@@
-71,7
+80,7
@@
typedef struct cellCb
typedef enum
{
typedef enum
{
- RELEASE_15
+
FAPI_
RELEASE_15
}ReleaseCapab;
typedef enum
}ReleaseCapab;
typedef enum
@@
-267,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