*********************************************************************21*/
\f
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm5.h" /* common timer defines */
-#include "cm_tkns.h" /* common tokens defines */
-#include "cm_mblk.h" /* common memory allocation library defines */
-#include "cm_llist.h" /* common link list defines */
-#include "cm_hash.h" /* common hash list defines */
-#include "cm_lte.h" /* common LTE defines */
+#include "common_def.h"
#ifdef TENB_SPLIT_ARCH
#include "ss_queue.h"
#include "ss_task.h"
#include "kwu.h" /* KWU defines */
/* extern (.x) include files */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-
-#include "cm5.x" /* common timer library */
-#include "cm_tkns.x" /* common tokens */
-#include "cm_mblk.x" /* common memory allocation */
-#include "cm_llist.x" /* common link list */
-#include "cm_hash.x" /* common hash list */
-#include "cm_lte.x" /* common LTE includes */
-#include "cm_lib.x" /* common memory allocation library */
#ifdef TENB_SPLIT_ARCH
#include "ss_queue.x"
#include "ss_task.x"
} /* cmPkKwuUbndReq */
#ifdef ANSI
-PUBLIC S16 cmPkKwuDatReqInfo
+uint8_t cmPkKwuDatReqInfo
(
KwuDatReqInfo *param,
Buffer *mBuf
)
#else
-PUBLIC S16 cmPkKwuDatReqInfo(param, mBuf)
+uint8_t cmPkKwuDatReqInfo(param, mBuf)
KwuDatReqInfo *param;
Buffer *mBuf;
#endif
\f
#ifdef ANSI
-PUBLIC S16 cmPkKwuDatReq
+uint8_t cmPkKwuDatReq
(
Pst * pst,
KwuDatReqInfo* datReq,
Buffer * mBuf
)
#else
-PUBLIC S16 cmPkKwuDatReq(pst, datReq, mBuf)
+uint8_t cmPkKwuDatReq(pst, datReq, mBuf)
Pst * pst;
KwuDatReqInfo* datReq;
Buffer * mBuf;
#ifndef SS_RBUF
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
if(pst->srcEnt == ENTDUAPP)
{
}
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkKwuDatReqInfo( (datReq), mBuf);
switch(pst->selector)
{
#ifdef LCKWU
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
ret1 = cmPkKwuDatReqInfo( (datReq), mBuf);
#if (ERRCLASS & ERRCLS_ADD_RES)
#endif /* ERRCLASS & ERRCLS_ADD_RES */
}
break;
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKPK(cmPkPtr,(PTR)datReq, mBuf);
}
CMCHKPKLOG(SPkS16, spId, mBuf, EKWU011, pst);
pst->event = (Event) KWU_EVT_DAT_REQ;
ret1 = SPstTsk(pst,mBuf);
- if(pst->selector == KWU_SEL_LC)
+ if(pst->selector == ODU_SELECTOR_LC)
{
if (SPutStaticBuffer(pst->region, pst->pool, (Data *)datReq,
sizeof(KwuDatReqInfo),SS_SHARABLE_MEMORY) != ROK)
\f
#ifdef ANSI
-PUBLIC S16 cmPkKwuDatIndInfo
+uint8_t cmPkKwuDatIndInfo
(
KwuDatIndInfo *param,
Buffer *mBuf
)
#else
-PUBLIC S16 cmPkKwuDatIndInfo(param, mBuf)
+uint8_t cmPkKwuDatIndInfo(param, mBuf)
KwuDatIndInfo *param;
Buffer *mBuf;
#endif
\f
#ifdef ANSI
-PUBLIC S16 cmPkKwuDatInd
+uint8_t cmPkKwuDatInd
(
Pst * pst,
KwuDatIndInfo* datInd,
Buffer * mBuf
)
#else
-PUBLIC S16 cmPkKwuDatInd(pst, datInd, mBuf)
+uint8_t cmPkKwuDatInd(pst, datInd, mBuf)
Pst * pst;
KwuDatIndInfo* datInd;
Buffer * mBuf;
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
/* When the Selector is LWLC, we need to allocate memory, copy
* the contents and pass the pointer of the allocated memory. The
CMCHKPK(cmPkPtr,(PTR)datIndInfo, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkKwuDatIndInfo( (datInd), mBuf);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKPK(cmPkPtr,(PTR)datCfm, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkKwuDatCfmInfo( (datCfm), mBuf);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
/* When the Selector is LWLC, we need to allocate memory, copy
* the contents and pass the pointer of the allocated memory. The
CMCHKPK(cmPkPtr,(PTR)discSduInfo, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkKwuDiscSduInfo( (discSdu), mBuf);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKPK(cmPkPtr,(PTR) staInd, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkKwuStaIndInfo( (staInd), mBuf);
switch(pst->selector)
{
#ifdef LCKWU
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkLteRlcId( &rlcId, mBuf);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKPK(cmPkPtr,(PTR)discCfmSdu, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if (ERRCLASS & ERRCLS_ADD_RES)
ret1 = cmPkKwuDiscSduInfo((discCfmSdu), mBuf);
#ifdef LCKWU
switch(pst->selector)
{
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
cmPkKwuFlowCntrlIndInfo((flowCntrlIndInfo), mBuf);
}
break;
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKPK(cmPkPtr,(PTR) flowCntrlIndInfo, mBuf);
}
S16 ret1 = ROK;
#endif
S16 retVal;
- SpId spId = 0;
KwuDatReqInfo *datReq = NULLP;
KwuDatReqInfo datReqTmp;
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &datReq, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
/* Allocate the memory statically as there is no free
* in RLC */
retVal = (*func)(pst, datReq, mBuf);
/* If LWLC is configured, we need to
* free the memory here. */
- if(pst->selector == KWU_SEL_LWLC)
+ if(pst->selector == ODU_SELECTOR_LWLC)
{
retVal = SPutStaticBuffer(pst->region, pst->pool, (Data *)datReq,
sizeof(KwuDatReqInfo),SS_SHARABLE_MEMORY);
\f
#ifdef ANSI
-PUBLIC S16 cmUnpkKwuDatIndInfo
+uint8_t cmUnpkKwuDatIndInfo
(
KwuDatIndInfo *param,
Buffer *mBuf
)
#else
-PUBLIC S16 cmUnpkKwuDatIndInfo(param, mBuf)
+uint8_t cmUnpkKwuDatIndInfo(param, mBuf)
KwuDatIndInfo *param;
Buffer *mBuf;
#endif
\f
#ifdef ANSI
-PUBLIC S16 cmUnpkKwuDatInd
+uint8_t cmUnpkKwuDatInd
(
KwuDatInd func,
Pst *pst,
Buffer *mBuf
)
#else
-PUBLIC S16 cmUnpkKwuDatInd(func, pst, mBuf)
+uint8_t cmUnpkKwuDatInd(func, pst, mBuf)
KwuDatInd func;
Pst *pst;
Buffer *mBuf;
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &datInd, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
/*SGetStaticBuffer used as RRC has an equivalent free but PDCP
* doesn't free any memory */
retVal = (*func)(pst, datInd, mBuf);
/* If LWLC is configured and the destination entity is PDCP, we need to
* free the memory here. */
- if((pst->selector == KWU_SEL_LWLC) && (pst->dstEnt == ENTPJ))
+ if((pst->selector == ODU_SELECTOR_LWLC) && (pst->dstEnt == ENTPJ))
{
retVal = SPutStaticBuffer(pst->region, pst->pool, (Data *)datInd,
sizeof(KwuDatIndInfo),SS_SHARABLE_MEMORY);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &datCfm, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&datCfm,\
sizeof(KwuDatCfmInfo),SS_SHARABLE_MEMORY)) != ROK)
CMCHKUNPK(SUnpkS16, &(spId), mBuf);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &discSdu, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&discSdu,\
sizeof(KwuDiscSduInfo),SS_SHARABLE_MEMORY)) != ROK)
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *)&staInd, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&staInd,\
sizeof(KwuStaIndInfo),SS_SHARABLE_MEMORY)) != ROK)
switch(pst->selector)
{
#ifdef LCKWU
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
#if(ERRCLASS & ERRCLS_DEBUG)
ret1 = cmUnpkLteRlcId( &rlcId, mBuf);
switch(pst->selector)
{
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &discSdu, mBuf);
}
break;
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
if((ret1 = SGetStaticBuffer(pst->region, pst->pool, (Data **)&discSdu,\
sizeof(KwuDiscSduInfo),SS_SHARABLE_MEMORY)) != ROK)
switch(pst->selector)
{
#ifdef LCKWU
- case KWU_SEL_LC:
+ case ODU_SELECTOR_LC:
{
if(SGetStaticBuffer(pst->region,
pst->pool,
}
break;
- case KWU_SEL_LWLC:
+ case ODU_SELECTOR_LWLC:
{
CMCHKUNPK(cmUnpkPtr,(PTR *) &flowCntrlInfo, mBuf);
}