X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_mgr.h;h=d2d8c7bcdc1381f25d665d83e9a20c94bb4aae90;hb=069ae37558afd5aee2d1072bbf5b517cf665bdd8;hp=fc23787fb132a8655734ef40c4c7f2d0116ccf10;hpb=bb8df345963bb5ef2e035ead7731c1171e4cbbe0;p=o-du%2Fl2.git diff --git a/src/du_app/du_mgr.h b/src/du_app/du_mgr.h index fc23787fb..d2d8c7bcd 100644 --- a/src/du_app/du_mgr.h +++ b/src/du_app/du_mgr.h @@ -58,9 +58,9 @@ #define DU_PROC 0 /* Memory related configs */ #define DU_APP_MEM_REGION 0 -#define RLC_UL_MEM_REGION 1 -#define RLC_DL_MEM_REGION 4 -#define RG_MEM_REGION 4 +#define RLC_UL_MEM_REGION 1 +#define RLC_DL_MEM_REGION 4 +#define MAC_MEM_REGION 4 #define DU_POOL 1 #define RLC_POOL 1 @@ -75,7 +75,7 @@ #define EVTSRVOPENCFM 5 #define EVTTNLMGMTREQ 6 #define EVTTNLMGMTCFM 7 -#define EVTTTIIND 8 +#define EVTSLOTIND 8 #define EVTSTARTPOLL 9 #define EVENT_RIC_DATA 10 @@ -139,6 +139,18 @@ SPutSBuf(DU_APP_MEM_REGION, DU_POOL, \ (Data *)_datPtr, _size); +/* Free shared memory, received through LWLC */ +#define DU_FREE_SHRABL_BUF(_region, _pool,_buf, _size) \ +{ \ + if (_buf != NULLP) \ + { \ + (Void) SPutStaticBuffer(_region, _pool, \ + (Data *) _buf, (Size) _size, 0); \ + _buf = NULLP; \ + } \ +} + + typedef enum { CELL_OUT_OF_SERVICE, @@ -161,6 +173,7 @@ typedef struct duCellCb { U32 cellId; /* Internal cell Id */ CellCfgParams cellInfo; /* Cell info */ + Bool firstSlotIndRcvd; CellStatus cellStatus; /*Cell status */ }DuCellCb; @@ -245,6 +258,7 @@ S16 duHdlEgtpTnlMgmtCfm(EgtpTnlEvt tnlEvtCfm); S16 duSendEgtpTestData(); S16 duSendEgtpDatInd(Buffer *mBuf); S16 duHdlSchCfgComplete(Pst *pst, RgMngmt *cfm); +uint16_t duBuildAndSendMacCellStartReq(); #endif