[JIRA ID: ODUHIGH-253]-sliv cfg table implementation
[o-du/l2.git] / src / du_app / du_utils.h
index a70d1fb..cd89677 100644 (file)
@@ -27,6 +27,7 @@
 #define DU_POOL  1
 #define RLC_POOL  1
 #define MAC_POOL 1
+#define MAX_SLIV_CONFIG_IDX 105
 
 /* Events */
 #define EVTCFG 0
@@ -48,7 +49,7 @@
    _ret = SGetSBuf(DU_APP_MEM_REGION, DU_POOL,                  \
                     (Data **)&_datPtr, _size);                  \
    if(_ret == ROK)                                              \
-      cmMemset((U8*)_datPtr, 0, _size);                         \
+      memset(_datPtr, 0, _size);                         \
    else                                                         \
       _datPtr = NULLP;                                          \
 }
@@ -66,7 +67,7 @@
    if(SGetStaticBuffer(DU_APP_MEM_REGION, DU_POOL,           \
       (Data **)&_buf, (Size) _size, 0) == ROK)               \
    {                                                         \
-      cmMemset((U8 *)(_buf), 0, _size);                      \
+      memset((_buf), 0, _size);                      \
    }                                                         \
    else                                                      \
    {                                                         \
@@ -90,7 +91,7 @@
 {                                                           \
    _pst.selector  = ODU_SELECTOR_LWLC;                      \
    _pst.srcEnt    = ENTDUAPP;                               \
-   _pst.dstEnt    = ENTRG;                                  \
+   _pst.dstEnt    = ENTMAC;                                  \
    _pst.dstInst   = 0;                                      \
    _pst.srcInst   = 0;                                      \
    _pst.dstProcId = DU_PROC;                                \
 {                                                           \
    _pst.selector  = ODU_SELECTOR_LWLC;                      \
    _pst.srcEnt    = ENTDUAPP;                               \
-   _pst.dstEnt    = ENTKW;                                  \
+   _pst.dstEnt    = ENTRLC;                                  \
    _pst.dstInst   = _dstInst;                               \
    _pst.srcInst   = DU_INST;                                \
    _pst.dstProcId = DU_PROC;                                \
    _pst.intfVer = 0;                                        \
 }
 
+
+void fillStartSymbolAndLen(uint8_t numRsrcAlloc, PdschConfig *pdschCfg, PuschCfg *puschCfg)
+;
+
 /**********************************************************************
          End of file
 **********************************************************************/