* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkCkwBndReq
(
Pst *pst,
SuId suId,
SpId spId
)
-#else
-S16 cmPkCkwBndReq(pst, suId, spId)
-Pst *pst;
-SuId suId;
-SpId spId;
-#endif
{
S16 ret1;
Buffer *mBuf;
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkCkwUbndReq
(
Pst *pst,
SpId spId,
Reason reason
)
-#else
-S16 cmPkCkwUbndReq(pst, spId, reason)
-Pst *pst;
-SpId spId;
-Reason reason;
-#endif
{
S16 ret1;
Buffer *mBuf;
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkCkwBndCfm
(
Pst *pst,
SuId suId,
uint8_t status
)
-#else
-S16 cmPkCkwBndCfm(pst, suId, status)
-Pst *pst;
-SuId suId;
-uint8_t status;
-#endif
{
S16 ret1;
Buffer *mBuf;
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkRlcTmInfo
(
RlcTmInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRlcTmInfo(param, mBuf)
-RlcTmInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt32, param->dl.buffSize, mBuf);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkRlcUmInfo
(
RlcEntCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRlcUmInfo(param, mBuf)
-RlcEntCfgInfo *param;
-Buffer *mBuf;
-#endif
{
switch(param->dir)
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkRlcAmInfo
(
RlcAmInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRlcAmInfo(param, mBuf)
-RlcAmInfo *param;
-Buffer *mBuf;
-#endif
{
/* UP LINK */
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkCkwLChInfo
(
CkwLChInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCkwLChInfo(param, mBuf)
-CkwLChInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->type, mBuf);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkRlcEntCfgInfo
(
RlcEntCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRlcEntCfgInfo(param, mBuf)
-RlcEntCfgInfo *param;
-Buffer *mBuf;
-#endif
{
switch(param->entMode)
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkRlcCfgInfo
(
RlcCfgInfo *param,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmPkRlcCfgInfo(param, pst, mBuf)
-RlcCfgInfo *param;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
S16 idx;
-
for (idx = param->numEnt-1; idx >= 0; idx--)
{
CMCHKPK(cmPkRlcEntCfgInfo, &(param->entCfg[idx]), mBuf);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkRlcEntCfgCfmInfo
(
RlcEntCfgCfmInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRlcEntCfgCfmInfo(param, mBuf)
-RlcEntCfgCfmInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(cmPkCmStatus, &(param->status), mBuf);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkRlcCfgCfmInfo
(
RlcCfgCfmInfo *param,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmPkRlcCfgCfmInfo(param, pst, mBuf)
-RlcCfgCfmInfo *param;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
S16 idx;
-
for (idx = param->numEnt-1; idx >= 0; idx--)
{
CMCHKPK(cmPkRlcEntCfgCfmInfo, &(param->entCfgCfm[(uint8_t)idx]), mBuf);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkRlcCfgCfm
(
Pst *pst,
SuId suId,
RlcCfgCfmInfo *cfgCfmInfo
)
-#else
-S16 cmPkRlcCfgCfm(pst, suId, cfgCfmInfo)
-Pst *pst;
-SuId suId;
-RlcCfgCfmInfo *cfgCfmInfo;
-#endif
{
S16 ret1;
Buffer *mBuf;
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkCkwUeInfo
(
CkwUeInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCkwUeInfo(param, mBuf)
-CkwUeInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(cmPkLteCellId, param->cellId, mBuf);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkCkwUeIdChgReq
(
-Pst *pst,
-SpId spId,
-uint32_t transId,
-CkwUeInfo *ueInfo,
-CkwUeInfo *newUeInfo
+Pst *pst,
+SpId spId,
+uint32_t transId,
+CkwUeInfo *ueInfo,
+CkwUeInfo *newUeInfo
)
-#else
-S16 cmPkCkwUeIdChgReq(pst, spId, transId, ueInfo, newUeInfo)
-Pst *pst;
-SpId spId;
-uint32_t transId;
-CkwUeInfo *ueInfo;
-CkwUeInfo *newUeInfo;
-#endif
{
S16 ret1;
Buffer *mBuf = NULLP;
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkCkwUeIdChgCfm
(
-Pst *pst,
-SuId suId,
-uint32_t transId,
-CkwUeInfo *ueInfo,
-CmStatus status
+Pst *pst,
+SuId suId,
+uint32_t transId,
+CkwUeInfo *ueInfo,
+CmStatus status
)
-#else
-S16 cmPkCkwUeIdChgCfm(pst, suId, transId, ueInfo, status)
-Pst *pst;
-SuId suId;
-uint32_t transId;
-CkwUeInfo *ueInfo;
-CmStatus status;
-#endif
{
S16 ret1;
Buffer *mBuf = NULLP;
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkCkwBndReq
(
CkwBndReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCkwBndReq(func, pst, mBuf)
-CkwBndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId = 0;
SpId spId = 0;
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkCkwUbndReq
(
CkwUbndReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCkwUbndReq(func, pst, mBuf)
-CkwUbndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId = 0;
Reason reason = 0;
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkCkwBndCfm
(
CkwBndCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCkwBndCfm(func, pst, mBuf)
-CkwBndCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
- SuId suId = 0;
- uint8_t status = 0;
+ SuId suId = 0;
+ uint8_t status = 0;
CMCHKUNPKLOG(SUnpkS16, &suId, mBuf, ECKW028, pst);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkRlcTmInfo
(
RlcTmInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRlcTmInfo(param, mBuf)
-RlcTmInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt32, &(param->dl.buffSize), mBuf);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkRlcUmInfo
(
RlcEntCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRlcUmInfo(param, mBuf)
-RlcEntCfgInfo *param;
-Buffer *mBuf;
-#endif
{
switch(param->dir)
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkRlcAmInfo
(
RlcAmInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRlcAmInfo(param, mBuf)
-RlcAmInfo *param;
-Buffer *mBuf;
-#endif
{
/* DOWN LINK */
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkCkwLChInfo
(
CkwLChInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCkwLChInfo(param, mBuf)
-CkwLChInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, &(param->lChId), mBuf);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkRlcEntCfgCfmInfo
(
RlcEntCfgCfmInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRlcEntCfgCfmInfo(param, mBuf)
-RlcEntCfgCfmInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, &(param->rbId), mBuf);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkRlcCfgCfmInfo
(
RlcCfgCfmInfo *param,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRlcCfgCfmInfo(param, pst, mBuf)
-RlcCfgCfmInfo *param;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
-
CMCHKUNPKLOG(oduPackUInt32, &(param->transId), mBuf, ECKW030, pst);
CMCHKUNPK(cmUnpkLteRnti, &(param->ueId), mBuf);
CMCHKUNPK(cmUnpkLteCellId, &(param->cellId), mBuf);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkRlcEntCfgInfo
(
RlcEntCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRlcEntCfgInfo(param, mBuf)
-RlcEntCfgInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, &(param->cfgType), mBuf);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkRlcCfgInfo
(
RlcCfgInfo *param,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRlcCfgInfo(param, pst, mBuf)
-RlcCfgInfo *param;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
- uint8_t idx;
-
+ uint8_t idx;
CMCHKUNPKLOG(oduPackUInt32, &(param->transId), mBuf, ECKW031, pst);
CMCHKUNPK(cmUnpkLteRnti, &(param->ueId), mBuf);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkRlcCfgCfm
(
RlcCfgCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRlcCfgCfm(func, pst, mBuf)
-RlcCfgCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
S16 ret1;
- SuId suId = 0;
- RlcCfgCfmInfo *cfgCfmInfo = NULLP;
+ SuId suId = 0;
+ RlcCfgCfmInfo *cfgCfmInfo = NULLP;
if((ret1 = SGetSBuf(pst->region, pst->pool, (Data **)&cfgCfmInfo,\
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkCkwUeInfo
(
CkwUeInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCkwUeInfo(param, mBuf)
-CkwUeInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(cmUnpkLteRnti, &(param->ueId), mBuf);
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkCkwUeIdChgReq
(
CkwUeIdChgReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCkwUeIdChgReq(func, pst, mBuf)
-CkwUeIdChgReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
S16 ret1;
SpId spId = 0;
- uint32_t transId = 0;
+ uint32_t transId = 0;
CkwUeInfo *ueInfo = NULLP;
CkwUeInfo *newUeInfo = NULLP;
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmUnpkCkwUeIdChgCfm
(
CkwUeIdChgCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCkwUeIdChgCfm(func, pst, mBuf)
-CkwUeIdChgCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
S16 ret1;
SuId suId = 0;
- uint32_t transId = 0;
+ uint32_t transId = 0;
CkwUeInfo *ueInfo = NULLP;
CmStatus status;
*/
#ifdef SS_FAP
-#ifdef ANSI
Void cmPrcTmr
(
CmTqCp *tqCp, /* timing que control point */
CmTqType *tq, /* timing queue */
PFV func /* function */
)
-#else
-Void cmPrcTmr(tqCp, tq, func)
-CmTqCp *tqCp; /* connection control block */
-CmTqType *tq; /* message buffer */
-PFV func; /* function */
-#endif
{
/**/
uint32_t expire;
#else /* not defined SS_FAP */
-#ifdef ANSI
Void cmPrcTmr
(
CmTqCp *tqCp, /* timing que control point */
CmTqType *tq, /* timing queue */
PFV func /* function */
)
-#else
-Void cmPrcTmr(tqCp, tq, func)
-CmTqCp *tqCp; /* connection control block */
-CmTqType *tq; /* message buffer */
-PFV func; /* function */
-#endif
{
/**/
uint32_t expire;
* File: cm_bdy5.c
*
*/
-#ifdef ANSI
Void cmInitTimers
(
CmTimer *timers, /* timer list */
uint8_t max /* maximum tmrs */
)
-#else
-Void cmInitTimers(timers, max)
-CmTimer *timers; /* timer list */
-uint8_t max; /* maximum tmrs */
-#endif
{
CmTimer *tPtr;
REG1 uint8_t i;
*
*/
-#ifdef ANSI
-Void cmPlcCbTq
-(
-CmTmrArg *arg
-)
-#else
-Void cmPlcCbTq(arg)
-CmTmrArg *arg;
-#endif
+Void cmPlcCbTq(CmTmrArg *arg)
{
/*added FAP modifications*/
#ifdef SS_FAP
*
*/
-#ifdef ANSI
-Void cmRstCbTq
-(
-CmTmrArg *arg
-)
-#else
-Void cmRstCbTq(arg)
-CmTmrArg *arg;
-#endif
+Void cmRstCbTq(CmTmrArg *arg)
{
arg->timers[arg->tNum].tqExpire = arg->tqCp->nxtEnt + arg->wait;
*
*/
-#ifdef ANSI
-Void cmRmvCbTq
-(
-CmTmrArg *arg
-)
-#else
-Void cmRmvCbTq(arg)
-CmTmrArg *arg;
-#endif
+Void cmRmvCbTq(CmTmrArg *arg)
{
/*Added FAP modifications*/
#ifdef SS_FAP
*
*/
-#ifdef ANSI
S16 cmPkDateTime
(
DateTime *dateTime, /* date and time */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkDateTime(dateTime, mBuf)
-DateTime *dateTime; /* date and time */
-Buffer *mBuf; /* message buffer */
-#endif
{
/*-- cm_gen_c_001.main_36 - added for micro seconds --*/
*
*/
-#ifdef ANSI
S16 cmPkDuration
(
Duration *duration, /* duration */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkDuration(duration, mBuf)
-Duration *duration; /* duration */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKPK(oduUnpackUInt8, duration->tenths, mBuf);
*
*/
-#ifdef ANSI
S16 oduPackPointer
(
PTR ptr, /* pointer */
Buffer *mBuf /* message buffer */
)
-#else
-S16 oduPackPointer(ptr, mBuf)
-PTR ptr; /* pointer */
-Buffer *mBuf; /* message buffer */
-#endif
{
Data pkArray[PTRSIZE]; /* array for packing */
S16 ret; /* return code */
*
*/
-#ifdef ANSI
S16 cmPkEntityId
(
EntityId *entityId, /* entity id */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkEntityId(entityId, mBuf)
-EntityId *entityId; /* entity id */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKPK(cmPkInst, entityId->inst, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkElmntId
(
ElmntId *elmntId, /* element id */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkElmntId(elmntId, mBuf)
-ElmntId *elmntId; /* element id */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKPK(cmPkElmntInst3, elmntId->elmntInst3, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkMemoryId
(
MemoryId *memoryId, /* memoryId */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkMemoryId(memoryId, mBuf)
-MemoryId *memoryId; /* memoryId */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKPK(cmPkPool, memoryId->pool, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkSystemId
(
SystemId *systemId, /* system id */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkSystemId(systemId, mBuf)
-SystemId *systemId; /* system id */
-Buffer *mBuf; /* message buffer */
-#endif
{
Txt *p; /* part number string */
*
*/
-#ifdef ANSI
S16 cmPkProtAddr
(
ProtAddr *pAddr, /* protocol address */
Buffer *mBuf /* buffer */
)
-#else
-S16 cmPkProtAddr(pAddr, mBuf)
-ProtAddr *pAddr; /* protocol address */
-Buffer *mBuf; /* buffer */
-#endif
{
uint8_t j; /* Index */
*
*/
-#ifdef ANSI
S16 cmPkProtAddrTbl
(
ProtAddrTbl *protAddr, /* protocol address table */
Buffer *mBuf /* buffer */
)
-#else
-S16 cmPkProtAddrTbl(protAddr, mBuf)
-ProtAddrTbl *protAddr; /* protocol address table */
-Buffer *mBuf; /* buffer */
-#endif
{
uint8_t i; /* index */
uint8_t j; /* Index */
*
*/
-#ifdef ANSI
S16 cmPkAddrs
(
Addrs *addrs, /* address */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkAddrs(addrs, mBuf)
-Addrs *addrs; /* address */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t i; /* loop counter */
*
*/
-#ifdef ANSI
S16 cmPkShrtAddrs
(
ShrtAddrs *addrs, /* address */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkShrtAddrs(addrs, mBuf)
-ShrtAddrs *addrs; /* address */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t i; /* loop counter */
*
*/
-#ifdef ANSI
S16 cmPkAddrMask
(
uint8_t *mask, /* pointer to address mask array */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkAddrMask(mask, mBuf)
-uint8_t *mask; /* pointer to address mask array */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 i; /* counter */
*
*/
-#ifdef ANSI
S16 cmPkBndCfg
(
BndCfg *bndCfg, /* bndCfg */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkBndCfg(bndCfg, mBuf)
-BndCfg *bndCfg; /* bndCfg */
-Buffer *mBuf; /* message buffer */
-#endif
{
Txt *p; /* temporary */
* File: cm_gen.c
*
*/
-#ifdef ANSI
S16 cmPkPst
(
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmPkPst(pst, mBuf)
-Pst *pst;
-Buffer *mBuf;
-#endif
{
CMCHKPK(cmPkEvent, pst->event, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkElmtHdr
(
ElmtHdr *m, /* element header */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkElmtHdr(m, mBuf)
-ElmtHdr *m; /* element header */
-Buffer *mBuf; /* message buffer */
-#endif
{
#if (LCAMT || ATM_BISUP)
*
*/
-#ifdef ANSI
S16 cmPkTknUInt8
(
TknUInt8 *tknUInt8, /* token uint8_t */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknUInt8(tknUInt8, mBuf)
-TknUInt8 *tknUInt8; /* token uint8_t */
-Buffer *mBuf; /* message buffer */
-#endif
{
if (tknUInt8->pres)
*
*/
-#ifdef ANSI
S16 cmPkTknS8
(
TknS8 *tknS8, /* token S8 */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknS8(tknS8, mBuf)
-TknS8 *tknS8; /* token S8 */
-Buffer *mBuf; /* message buffer */
-#endif
{
if (tknS8->pres)
*
*/
-#ifdef ANSI
S16 cmPkTknUInt16
(
TknUInt16 *tknUInt16, /* token uint16_t */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknUInt16(tknUInt16, mBuf)
-TknUInt16 *tknUInt16; /* token uint16_t */
-Buffer *mBuf; /* message buffer */
-#endif
{
if (tknUInt16->pres)
*
*/
-#ifdef ANSI
S16 cmPkTknUInt32
(
TknUInt32 *tknUInt32, /* token uint32_t */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknUInt32(tknUInt32, mBuf)
-TknUInt32 *tknUInt32; /* token uint32_t */
-Buffer *mBuf; /* message buffer */
-#endif
{
if (tknUInt32->pres)
*
*/
-#ifdef ANSI
S16 cmPkTknStr
(
TknStr *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStr(tknStr, mBuf)
-TknStr *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
Cntr i; /* counter */
*
*/
-#ifdef ANSI
S16 cmPkTknStrM
(
TknStrM *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStrM(tknStr, mBuf)
-TknStrM *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
Cntr i; /* counter */
*
*/
-#ifdef ANSI
S16 cmPkTknStrS
(
TknStrS *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStrS(tknStr, mBuf)
-TknStrS *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
Cntr i; /* counter */
*
*/
-#ifdef ANSI
S16 cmPkTknStrE
(
TknStrE *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStrE(tknStr, mBuf)
-TknStrE *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
Cntr i; /* counter */
*
*/
-#ifdef ANSI
S16 cmPkPnNodeId
(
PnNodeId *src, /* source PNNI Node Id */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkPnNodeId (src, mBuf)
-PnNodeId *src; /* source PNNI Node Id */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 i;
*
*/
-#ifdef ANSI
S16 cmPkTknStr4
(
TknStr4 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStr4(tknStr, mBuf)
-TknStr4 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkTknStr12
(
TknStr12 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStr12(tknStr, mBuf)
-TknStr12 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkTknStr32
(
TknStr32 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStr32(tknStr, mBuf)
-TknStr32 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkTknStr64
(
TknStr64 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStr64(tknStr, mBuf)
-TknStr64 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkTknStr132
(
TknStr132 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStr132(tknStr, mBuf)
-TknStr132 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkTknStr256
(
TknStr256 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStr256(tknStr, mBuf)
-TknStr256 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkTknOid
(
TknOid *tknOid, /* Object Identifier token */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknOid(tknOid, mBuf)
-TknOid *tknOid; /* Object Identifier token */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t i;
*
*/
-#ifdef ANSI
S16 cmPkTknS32
(
TknS32 *tknS32, /* token S32 */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknS32(tknS32, mBuf)
-TknS32 *tknS32; /* token S32 */
-Buffer *mBuf; /* message buffer */
-#endif
{
if (tknS32->pres)
*
*/
-#ifdef ANSI
S16 cmPkHeader
(
Header *header, /* header */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkHeader(header, mBuf)
-Header *header; /* header */
-Buffer *mBuf; /* message buffer */
-#endif
{
#ifdef LMINT3
*
*/
-#ifdef ANSI
S16 cmPkCmStatus
(
CmStatus *sta, /* status structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmStatus(sta, mBuf)
-CmStatus *sta; /* status structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKPK(oduUnpackUInt16, sta->reason, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkCmAlarm
(
CmAlarm *alarm, /* alarm structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmAlarm(alarm, mBuf)
-CmAlarm *alarm; /* alarm structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKPK(oduUnpackUInt16, alarm->cause, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkSmCfg
(
SmCfg *smCfg, /* stack manager */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkSmCfg(smCfg, mBuf)
-SmCfg *smCfg; /* stack manager */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKPK(cmPkSelector, smCfg->selector, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkTmrCfg
(
TmrCfg *tmrCfg, /* timer configuration */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTmrCfg(tmrCfg, mBuf)
-TmrCfg *tmrCfg; /* timer configuration */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKPK(oduUnpackUInt16, tmrCfg->val, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkTknBuf
(
TknBuf *tknBuf, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknBuf(tknBuf, mBuf)
-TknBuf *tknBuf; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
if(tknBuf->pres)
*
*/
-#ifdef ANSI
S16 cmPkIntf
(
CmIntf *intf, /* interface info */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkIntf(intf, mBuf)
-CmIntf *intf; /* interface info */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKPK(cmPkIntfId, intf->intfId, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkDateTime
(
DateTime *dateTime, /* date/time structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkDateTime(dateTime, mBuf)
-DateTime *dateTime; /* date/time structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(oduPackUInt8, &dateTime->month, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkDuration
(
Duration *duration, /* duration structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkDuration(duration, mBuf)
-Duration *duration; /* duration structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(oduPackUInt8, &duration->days, mBuf);
*
*/
-#ifdef ANSI
S16 oduUnpackPointer
(
PTR *ptr, /* duration structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 oduUnpackPointer(ptr, mBuf)
-PTR *ptr; /* duration structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t tmp16; /* temporary value */
uint32_t tmp32; /* temporary value */
*
*/
-#ifdef ANSI
S16 cmUnpkEntityId
(
EntityId *entityId, /* entity id */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkEntityId(entityId, mBuf)
-EntityId *entityId; /* entity id */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(cmUnpkEnt, &entityId->ent, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkElmntId
(
ElmntId *elmntId, /* element id */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkElmntId(elmntId, mBuf)
-ElmntId *elmntId; /* element id */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(cmUnpkElmnt, &elmntId->elmnt, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkMemoryId
(
MemoryId *memoryId, /* memoryId */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkMemoryId(memoryId, mBuf)
-MemoryId *memoryId; /* memoryId */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(cmUnpkRegion, &memoryId->region, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkSystemId
(
SystemId *systemId, /* system id */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkSystemId(systemId, mBuf)
-SystemId *systemId; /* system id */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 i; /* loop counter */
MsgLen len;
*
*/
-#ifdef ANSI
S16 cmUnpkProtAddr
(
ProtAddr *pAddr, /* protocol address */
Buffer *mBuf /* buffer */
)
-#else
-S16 cmUnpkProtAddr(pAddr, mBuf)
-ProtAddr *pAddr; /* protocol address table */
-Buffer *mBuf; /* buffer */
-#endif
{
uint8_t j; /* Index */
*
*/
-#ifdef ANSI
S16 cmUnpkProtAddrTbl
(
ProtAddrTbl *protAddr, /* protocol address table */
Buffer *mBuf /* buffer */
)
-#else
-S16 cmUnpkProtAddrTbl(protAddr, mBuf)
-ProtAddrTbl *protAddr; /* protocol address table */
-Buffer *mBuf; /* buffer */
-#endif
{
uint8_t i; /* index */
uint8_t j; /* Index */
*
*/
-#ifdef ANSI
S16 cmUnpkAddrs
(
Addrs *addrs, /* address */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkAddrs(addrs, mBuf)
-Addrs *addrs; /* address */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t i; /* loop counter */
*
*/
-#ifdef ANSI
S16 cmUnpkShrtAddrs
(
ShrtAddrs *addrs, /* address */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkShrtAddrs(addrs, mBuf)
-ShrtAddrs *addrs; /* address */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t i; /* loop counter */
*
*/
-#ifdef ANSI
S16 cmUnpkAddrMask
(
uint8_t *mask, /* pointer to address mask */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkAddrMask(mask, mBuf)
-uint8_t *mask; /* pointer to address mask */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 i; /* counter */
*
*/
-#ifdef ANSI
S16 cmUnpkBndCfg
(
BndCfg *bndCfg, /* bndCfg */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkBndCfg(bndCfg, mBuf)
-BndCfg *bndCfg; /* bndCfg */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 i; /* loop counter */
* File: cm_gen.c
*
*/
-#ifdef ANSI
S16 cmUnpkPst
(
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkPst(pst, mBuf)
-Pst *pst;
-Buffer *mBuf;
-#endif
{
#ifdef TDS_ROLL_UPGRADE_SUPPORT
*
*/
-#ifdef ANSI
S16 cmUnpkElmtHdr
(
ElmtHdr *m, /* element header */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkElmtHdr(m, mBuf)
-ElmtHdr *m; /* element header */
-Buffer *mBuf; /* message buffer */
-#endif
{
/* Present */
*
*/
-#ifdef ANSI
S16 cmUnpkTknUInt8
(
TknUInt8 *tknUInt8, /* token uint8_t */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknUInt8(tknUInt8, mBuf)
-TknUInt8 *tknUInt8; /* token uint8_t */
-Buffer *mBuf; /* message buffer */
-#endif
{
/* Token Header */
*
*/
-#ifdef ANSI
S16 cmUnpkTknS8
(
TknS8 *tknS8, /* token S8 */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknS8(tknS8, mBuf)
-TknS8 *tknS8; /* token S8 */
-Buffer *mBuf; /* message buffer */
-#endif
{
/* Token Header */
*
*/
-#ifdef ANSI
S16 cmUnpkTknUInt16
(
TknUInt16 *tknUInt16, /* token uint16_t */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknUInt16(tknUInt16, mBuf)
-TknUInt16 *tknUInt16; /* token uint16_t */
-Buffer *mBuf; /* message buffer */
-#endif
{
/* Token Header */
*
*/
-#ifdef ANSI
S16 cmUnpkTknUInt32
(
TknUInt32 *tknUInt32, /* token uint32_t */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknUInt32(tknUInt32, mBuf)
-TknUInt32 *tknUInt32; /* token uint32_t */
-Buffer *mBuf; /* message buffer */
-#endif
{
/* Token Header */
*
*/
-#ifdef ANSI
S16 cmUnpkTknStr
(
TknStr *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStr(tknStr, mBuf)
-TknStr *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
Cntr i; /* counter */
*
*/
-#ifdef ANSI
S16 cmUnpkTknStrM
(
TknStrM *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStrM(tknStr, mBuf)
-TknStrM *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
Cntr i; /* counter */
*
*/
-#ifdef ANSI
S16 cmUnpkTknStrS
(
TknStrS *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStrS(tknStr, mBuf)
-TknStrS *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
Cntr i; /* counter */
*
*/
-#ifdef ANSI
S16 cmUnpkTknStrE
(
TknStrE *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStrE(tknStr, mBuf)
-TknStrE *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
Cntr i; /* counter */
*
*/
-#ifdef ANSI
S16 cmUnpkPnNodeId
(
PnNodeId *dst, /* source PNNI Node Id */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkPnNodeId (dst, mBuf)
-PnNodeId *dst; /* source PNNI Node Id */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 i;
*
*/
-#ifdef ANSI
S16 cmUnpkTknStr4
(
TknStr4 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStr4(tknStr, mBuf)
-TknStr4 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMUNPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkTknStr12
(
TknStr12 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStr12(tknStr, mBuf)
-TknStr12 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMUNPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkTknStr32
(
TknStr32 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStr32(tknStr, mBuf)
-TknStr32 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMUNPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkTknStr64
(
TknStr64 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStr64(tknStr, mBuf)
-TknStr64 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMUNPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkTknStr132
(
TknStr132 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStr132(tknStr, mBuf)
-TknStr132 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMUNPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkTknStr256
(
TknStr256 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStr256(tknStr, mBuf)
-TknStr256 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMUNPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkTknOid
(
TknOid *tknOid, /* Object Identifier token */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknOid(tknOid, mBuf)
-TknOid *tknOid; /* Object Identifier token */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t i;
*
*/
-#ifdef ANSI
S16 cmUnpkTknS32
(
TknS32 *tknS32, /* token S32 */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknS32(tknS32, mBuf)
-TknS32 *tknS32; /* token S32 */
-Buffer *mBuf; /* message buffer */
-#endif
{
/* Token Header */
*
*/
-#ifdef ANSI
S16 cmUnpkHeader
(
Header *header, /* header structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkHeader(header, mBuf)
-Header *header; /* header structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(oduPackUInt16, &header->msgLen, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkCmStatus
(
CmStatus *sta, /* status structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkCmStatus(sta, mBuf)
-CmStatus *sta; /* status structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(oduPackUInt16, &sta->status, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkCmAlarm
(
CmAlarm *alarm, /* alarm structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkCmAlarm(alarm, mBuf)
-CmAlarm *alarm; /* alarm structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(cmUnpkDateTime, &alarm->dt, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkSmCfg
(
SmCfg *smCfg, /* stack manager */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkSmCfg(smCfg, mBuf)
-SmCfg *smCfg; /* stack manager */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(cmUnpkEnt, &smCfg->ent, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkTmrCfg
(
TmrCfg *tmrCfg, /* timer configuration */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTmrCfg(tmrCfg, mBuf)
-TmrCfg *tmrCfg; /* timer configuration */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(oduUnpackBool, &tmrCfg->enb, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkTknBuf
(
TknBuf *tknBuf, /* token string */
Buffer **tBuf /* message buffer */
)
-#else
-S16 cmUnpkTknBuf(tknBuf, tBuf)
-TknBuf *tknBuf; /* token string */
-Buffer **tBuf; /* message buffer */
-#endif
{
Buffer *mBuf;
*
*/
-#ifdef ANSI
S16 cmUnpkIntf
(
CmIntf *intf, /* interface info */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkIntf(intf, mBuf)
-CmIntf *intf; /* interface info */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(cmUnpkIntfVer, &intf->intfVer, mBuf);
*
*/
-#ifdef ANSI
static S16 cmHashFuncAnyKey
(
-CmHashListCp *hashListCp, /* hash list control point */
-uint8_t *key, /* key string */
-uint16_t keyLen, /* length of key string */
-uint16_t *idx /* idx to return */
+CmHashListCp *hashListCp, /* hash list control point */
+uint8_t *key, /* key string */
+uint16_t keyLen, /* length of key string */
+uint16_t *idx /* idx to return */
)
-#else
-static S16 cmHashFuncAnyKey (hashListCp, key, keyLen, idx)
-CmHashListCp *hashListCp; /* hash list control point */
-uint8_t *key; /* key string */
-uint16_t keyLen; /* length of key string */
-uint16_t *idx; /* idx to return */
-#endif
{
- uint32_t a; /* hash variables */
- uint32_t b; /* hash variables */
- uint32_t c; /* hash variables */
- uint32_t len; /* length */
+ uint32_t a; /* hash variables */
+ uint32_t b; /* hash variables */
+ uint32_t c; /* hash variables */
+ uint32_t len; /* length */
/*cm_hash_c_001.main_23 : Fix for TRACE5 feature crash due to missing TRC MACRO*/
/* Set up the internal state */
*
*/
-#ifdef ANSI
static S16 cmHashFuncU32Mod
(
-CmHashListCp *hashListCp, /* hash list control point */
-uint8_t *key, /* key string */
-uint16_t keyLen, /* length of key string */
-uint16_t *idx /* idx to return */
+CmHashListCp *hashListCp, /* hash list control point */
+uint8_t *key, /* key string */
+uint16_t keyLen, /* length of key string */
+uint16_t *idx /* idx to return */
)
-#else
-static S16 cmHashFuncU32Mod (hashListCp, key, keyLen, idx)
-CmHashListCp *hashListCp; /* hash list control point */
-uint8_t *key; /* key string */
-uint16_t keyLen; /* length of key string */
-uint16_t *idx; /* idx to return */
-#endif
{
- uint32_t sum; /* Sum of octets for hash function */
+ uint32_t sum; /* Sum of octets for hash function */
/* keyLen is marked Unused to remove compilation
*
*/
-#ifdef ANSI
static S16 cmHashFuncBCD8
(
CmHashListCp *hashListCp, /* hash list control point */
-uint8_t *key, /* key string */
-uint16_t keyLen, /* length of key string */
-uint16_t *idx /* idx to return */
+uint8_t *key, /* key string */
+uint16_t keyLen, /* length of key string */
+uint16_t *idx /* idx to return */
)
-#else
-static S16 cmHashFuncBCD8 (hashListCp, key, keyLen, idx)
-CmHashListCp *hashListCp; /* hash list control point */
-uint8_t *key; /* key string */
-uint16_t keyLen; /* length of key string */
-uint16_t *idx; /* idx to return */
-#endif
{
- uint16_t tmp16 = 0;
- uint32_t firstUInt32 = 0; /* First uint32_t prepared for lower 4 octets */
- uint32_t secondUInt32 = 0; /* Second uint32_t prepared for higher 4 octets */
- uint32_t sum; /* Sum of the above 2 octets to get the index */
+ uint16_t tmp16 = 0;
+ uint32_t firstUInt32 = 0; /* First uint32_t prepared for lower 4 octets */
+ uint32_t secondUInt32 = 0; /* Second uint32_t prepared for higher 4 octets */
+ uint32_t sum; /* Sum of the above 2 octets to get the index */
/* keyLen is marked Unused to remove compilation
*
*/
-#ifdef ANSI
static S16 cmHashFuncString
(
-CmHashListCp *hashListCp, /* hash list control point */
-uint8_t *key, /* key string */
-uint16_t keyLen, /* length of key string */
-uint16_t *idx /* idx to return */
+CmHashListCp *hashListCp, /* hash list control point */
+uint8_t *key, /* key string */
+uint16_t keyLen, /* length of key string */
+uint16_t *idx /* idx to return */
)
-#else
-static S16 cmHashFuncString (hashListCp, key, keyLen, idx)
-CmHashListCp *hashListCp; /* hash list control point */
-uint8_t *key; /* key string */
-uint16_t keyLen; /* length of key string */
-uint16_t *idx; /* idx to return */
-#endif
{
- uint16_t cntr; /* Index */
- uint32_t sum; /* Sum of octets for hash function */
+ uint16_t cntr; /* Index */
+ uint32_t sum; /* Sum of octets for hash function */
sum = 0;
*
*/
-#ifdef ANSI
static S16 cmHashFuncDefault
(
-CmHashListCp *hashListCp, /* hash list control point */
-uint8_t *key, /* key string */
-uint16_t keyLen, /* length of key string */
-uint16_t *idx /* index to return */
+CmHashListCp *hashListCp, /* hash list control point */
+uint8_t *key, /* key string */
+uint16_t keyLen, /* length of key string */
+uint16_t *idx /* index to return */
)
-#else
-static S16 cmHashFuncDefault(hashListCp, key, keyLen, idx)
-CmHashListCp *hashListCp; /* hash list control point */
-uint8_t *key; /* key string */
-uint16_t keyLen; /* length of key string */
-uint16_t *idx; /* index to return */
-#endif
{
- uint32_t sum; /* sum of key string octets */
+ uint32_t sum; /* sum of key string octets */
/* add all bytes of the key */
*
*/
-#ifdef ANSI
static S16 cmHashFuncMult24
(
-CmHashListCp *hashListCp, /* hash list control point */
-uint8_t *key, /* key string */
-uint16_t keyLen, /* length of key string */
-uint16_t *idx /* index to return */
+CmHashListCp *hashListCp, /* hash list control point */
+uint8_t *key, /* key string */
+uint16_t keyLen, /* length of key string */
+uint16_t *idx /* index to return */
)
-#else
-static S16 cmHashFuncMult24(hashListCp, key, keyLen, idx)
-CmHashListCp *hashListCp; /* hash list control point */
-uint8_t *key; /* key string */
-uint16_t keyLen; /* length of key string */
-uint16_t *idx; /* index to return */
-#endif
{
- uint32_t prod; /* (constant multiplier * key) */
- uint8_t shift; /* Bits to be shifted to get index */
+ uint32_t prod; /* (constant multiplier * key) */
+ uint8_t shift; /* Bits to be shifted to get index */
UNUSED(keyLen);
*
*/
-#ifdef ANSI
static S16 cmHashFuncConId
(
-CmHashListCp *hashListCp, /* hash list control point */
-uint8_t *key, /* key string */
-uint16_t keyLen, /* length of key string */
-uint16_t *idx /* index to return */
+CmHashListCp *hashListCp, /* hash list control point */
+uint8_t *key, /* key string */
+uint16_t keyLen, /* length of key string */
+uint16_t *idx /* index to return */
)
-#else
-static S16 cmHashFuncConId(hashListCp, key, keyLen, idx)
-CmHashListCp *hashListCp; /* hash list control point */
-uint8_t *key; /* key string */
-uint16_t keyLen; /* length of key string */
-uint16_t *idx; /* index to return */
-#endif
{
*
*/
-#ifdef ANSI
static S16 cmHashFuncDirIdx
(
-CmHashListCp *hashListCp, /* hash list control point */
-uint8_t *key, /* key string */
-uint16_t keyLen, /* length of key string */
-uint16_t *idx /* index to return */
+CmHashListCp *hashListCp, /* hash list control point */
+uint8_t *key, /* key string */
+uint16_t keyLen, /* length of key string */
+uint16_t *idx /* index to return */
)
-#else
-static S16 cmHashFuncDirIdx(hashListCp, key, keyLen, idx)
-CmHashListCp *hashListCp; /* hash list control point */
-uint8_t *key; /* key string */
-uint16_t keyLen; /* length of key string */
-uint16_t *idx; /* index to return */
-#endif
{
UNUSED(hashListCp);
*
*/
-#ifdef ANSI
static S16 cmHashMatchKey
(
uint8_t *key1, /* first key string */
uint8_t *key2, /* second key string */
uint16_t keyLen2 /* length of second key string */
)
-#else
-static S16 cmHashMatchKey(key1, keyLen1, key2, keyLen2)
-uint8_t *key1; /* first key string */
-uint16_t keyLen1; /* length of first key string */
-uint8_t *key2; /* second key string */
-uint16_t keyLen2; /* length of second key string */
-#endif
{
/* compare key lengths */
*
*/
-#ifdef ANSI
static S16 cmListInsert
(
CmListEnt *oldEntry, /* add new entry after this entry */
CmListEnt *newEntry /* new entry to add */
)
-#else
-static S16 cmListInsert(oldEntry, newEntry)
-CmListEnt *oldEntry; /* add new entry after this entry */
-CmListEnt *newEntry; /* new entry to add */
-#endif
{
newEntry->next = oldEntry->next;
*
*/
-#ifdef ANSI
static S16 cmListDelete
(
CmListEnt *entry /* entry to delete */
)
-#else
-static S16 cmListDelete(entry)
-CmListEnt *entry; /* entry to delete */
-#endif
{
if (entry == NULLP)
* File: cm_hash.c
*
*/
-#ifdef ANSI
S16 cmHashListInit
(
CmHashListCp *hashListCp, /* hash list to initialize */
-uint16_t nmbBins, /* number of hash list bins */
-uint16_t offset, /* offset of CmHashListEnt in entries */
+uint16_t nmbBins, /* number of hash list bins */
+uint16_t offset, /* offset of CmHashListEnt in entries */
Bool dupFlg, /* allow duplicate keys */
-uint16_t keyType, /* key type for selecting hash fn */
+uint16_t keyType, /* key type for selecting hash fn */
Region region, /* memory region to allocate bins */
Pool pool /* memory pool to allocate bins */
)
-#else
-S16 cmHashListInit(hashListCp, nmbBins, offset, dupFlg, keyType, region, pool)
-CmHashListCp *hashListCp; /* hash list to initialize */
-uint16_t nmbBins; /* number of hash list bins */
-uint16_t offset; /* offset of CmHashListEnt in entries */
-Bool dupFlg; /* allow duplicate keys */
-uint16_t keyType; /* key type for selecting hash fn */
-Region region; /* memory region to allocate bins */
-Pool pool; /* memory pool to allocate bins */
-#endif
{
uint16_t i;
#ifndef CM_MT_HASH_BIN
* File: cm_hash.c
*
*/
-#ifdef ANSI
S16 cmHashListDeinit
(
CmHashListCp *hashListCp /* hash list to deinitialize */
)
-#else
-S16 cmHashListDeinit(hashListCp)
-CmHashListCp *hashListCp; /* hash list to deinitialize */
-#endif
{
#if (ERRCLASS & ERRCLS_DEBUG)
*
*/
-#ifdef ANSI
S16 cmHashListInsert
(
CmHashListCp *hashListCp, /* hash list to add to */
PTR entry, /* entry to add */
-uint8_t *key, /* pointer to key */
-uint16_t keyLen /* length of key */
+uint8_t *key, /* pointer to key */
+uint16_t keyLen /* length of key */
)
-#else
-S16 cmHashListInsert(hashListCp, entry, key, keyLen)
-CmHashListCp *hashListCp; /* hash list to add to */
-PTR entry; /* entry to add */
-uint8_t *key; /* pointer to key */
-uint16_t keyLen; /* length of key */
-#endif
{
CmHashListEnt *hashListEnt; /* pointer to hash list entry header */
PTR dupEntry; /* pointer to entry with duplicate key */
*
*/
-#ifdef ANSI
S16 cmHashListDelete
(
CmHashListCp *hashListCp, /* hash list to delete from */
PTR entry /* entry to delete */
)
-#else
-S16 cmHashListDelete(hashListCp, entry)
-CmHashListCp *hashListCp; /* hash list to delete from */
-PTR entry; /* entry to delete */
-#endif
{
CmHashListEnt *hashListEnt; /* pointer to hash list entry header */
#ifdef CM_MT_HASH_BIN
*
*/
-#ifdef ANSI
S16 cmHashListFind
(
CmHashListCp *hashListCp, /* hash list to search */
-uint8_t *key, /* pointer to key */
-uint16_t keyLen, /* length of key */
-uint16_t seqNmb, /* used in case of duplicate keys */
+uint8_t *key, /* pointer to key */
+uint16_t keyLen, /* length of key */
+uint16_t seqNmb, /* used in case of duplicate keys */
PTR *entry /* entry to be returned */
)
-#else
-S16 cmHashListFind(hashListCp, key, keyLen, seqNmb, entry)
-CmHashListCp *hashListCp; /* hash list to search */
-uint8_t *key; /* pointer to key */
-uint16_t keyLen; /* length of key */
-uint16_t seqNmb; /* used in case of duplicate keys */
-PTR *entry; /* entry to be returned */
-#endif
{
CmHashListEnt *hashListEnt; /* pointer to hash list entry header */
#ifndef CM_MT_HASH_BIN
* File: cm_hash.c
*
*/
-#ifdef ANSI
S16 cmHashListGetNext
(
CmHashListCp *hashListCp, /* hash list to get from */
PTR prevEnt, /* previous entry */
PTR *entry /* entry to be returned */
)
-#else
-S16 cmHashListGetNext(hashListCp, prevEnt, entry)
-CmHashListCp *hashListCp; /* hash list to get from */
-PTR prevEnt; /* previous entry */
-PTR *entry; /* entry to be returned */
-#endif
{
#ifndef CM_MT_HASH_BIN
CmListEnt *hashListBin; /* temporary hash list bin pointer */
* File: cm_hash.c
*
*/
-#ifdef ANSI
S16 cmHashListBinGetNextEntry
(
CmHashListCp *hashListCp, /* hash list to get from */
-uint16_t binIdx, /* Bin Index to retreive the entry */
+uint16_t binIdx, /* Bin Index to retreive the entry */
PTR prevEnt, /* previous entry */
PTR *entry /* entry to be returned */
)
-#else
-S16 cmHashListBinGetNextEntry(hashListCp, binIdx, prevEnt, entry)
-CmHashListCp *hashListCp; /* hash list to get from */
-uint16_t binIdx; /* Bin Index to retreive the entry */
-PTR prevEnt; /* previous entry */
-PTR *entry; /* entry to be returned */
-#endif
{
CmListBinEnt *hashListBin; /* temporary hash list bin pointer */
CmHashListEnt *hashListEnt; /* temporary hash list entry pointer */
* File: cm_hash.c
*
*/
-#ifdef ANSI
S16 cmHashListQuery
(
CmHashListCp *hashListCp, /* hash list to query */
-uint8_t queryType, /* type of query */
-uint16_t *result /* result of query */
+uint8_t queryType, /* type of query */
+uint16_t *result /* result of query */
)
-#else
-S16 cmHashListQuery(hashListCp, queryType, result)
-CmHashListCp *hashListCp; /* hash list to query */
-uint8_t queryType; /* type of query */
-uint16_t *result; /* result of query */
-#endif
{
#ifdef CM_MT_HASH_BIN
uint8_t i;
*
*/
-#ifdef ANSI
S16 cmHashListOAInsert
(
CmHashListCp *hashListCp, /* hash table to add to */
PTR entry, /* entry to add */
-uint8_t *key, /* pointer to key */
-uint16_t keyLen /* length of key */
+uint8_t *key, /* pointer to key */
+uint16_t keyLen /* length of key */
)
-#else
-S16 cmHashListOAInsert(hashListCp, entry, key, keyLen)
-CmHashListCp *hashListCp; /* hash table to add to */
-PTR entry; /* entry to add */
-uint8_t *key; /* pointer to key */
-uint16_t keyLen; /* length of key */
-#endif
{
/* cm_hash_c_001.main_21. Modify. Compilation Issue resolved. */
#ifndef CM_MT_HASH_BIN
*
*/
-#ifdef ANSI
S16 cmInetPoll
(
CmInetPollFd *pollFdArr, /* poll FD Array */
S16 *numRdyFds, /* number of ready descriptors */
uint32_t timeout /* timeout value for Poll */
)
-#else
-S16 cmInetPoll(pollFdArr,numFds,numRdyFds,timeout)
-CmInetPollFd *pollFdArr; /* poll FD Array */
-uint32_t numFds; /* Number of Fds to be monitored */
-S16 *numRdyFds; /* number of ready descriptors */
-uint32_t timeout; /* timeout value for Poll */
-#endif
{
S32 ret;
*
*/
-#ifdef ANSI
S16 cmInetPollSetFd
(
CmInetFd *sockFd, /* socket file descriptor */
S16 idx, /* poll Fd Array Index */
uint16_t eventMask /* Event Mask to be set */
)
-#else
-S16 cmInetPollSetFd(sockFd,pollFdArr,idx,eventMask)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetPollFd *pollFdArr; /* poll FD Array */
-S16 idx; /* poll Fd Array Index */
-uint16_t eventMask; /* Event Mask to be set */
-#endif
{
*
*/
-#ifdef ANSI
S16 cmInetPollFdIsSet
(
CmInetPollFd *pollFdArr, /* poll FD Array */
S16 idx, /* poll Fd Array Index */
uint16_t eventMask /* Event Mask to be set */
)
-#else
-S16 cmInetPollFdIsSet(pollFdArr,idx,eventMask)
-CmInetPollFd *pollFdArr; /* poll FD Array */
-S16 idx; /* poll Fd Array Index */
-uint16_t eventMask; /* Event Mask to be set */
-#endif
{
S16 ret;
*
*/
-#ifdef ANSI
S16 cmInetPollClearFdREvent
(
CmInetPollFd *pollFdArr, /* poll FD Array */
S16 idx, /* poll Fd Array Index */
uint16_t eventMask /* Event Mask to be set */
)
-#else
-S16 cmInetPollClearFdREvent(sockFd,pollFdArr,eventMask)
-CmInetPollFd *pollFdArr; /* poll FD Array */
-S16 idx; /* poll Fd Array Index */
-uint16_t eventMask; /* Event Mask to be set */
-#endif
{
*
*/
-#ifdef ANSI
S16 cmInetPollClearFdEvent
(
CmInetPollFd *pollFdArr, /* poll FD Array */
S16 idx, /* poll Fd Array Index */
uint16_t eventMask /* Event Mask to be set */
)
-#else
-S16 cmInetPollClearFdEvent(sockFd,pollFdArr,eventMask)
-CmInetPollFd *pollFdArr; /* poll FD Array */
-S16 idx; /* poll Fd Array Index */
-uint16_t eventMask; /* Event Mask to be set */
-#endif
{
*
*/
-#ifdef ANSI
S16 cmInetPollDelFd
(
CmInetPollFd *pollFdArr, /* poll FD Array */
S16 delIdx, /* poll Fd Array Index for which fd has to be deleted*/
S16 lastIdx /* Last index of poll Fd Array */
)
-#else
-S16 cmInetPollDelFd(pollFdArr, delIdx, lastIdx)
-CmInetPollFd *pollFdArr; /* poll FD Array */
-S16 delIdx; /* poll Fd Array Index for which fd has to be deleted*/
-S16 lastIdx; /* Last index of poll Fd Array */
-#endif
{
*
*/
-#ifdef ANSI
S16 cmInetPollInitFdArr
(
CmInetPollFd *pollFdArr /* poll FD Array */
)
-#else
-S16 cmInetPollInitFdArr(pollFdArr)
-CmInetPollFd *pollFdArr; /* poll FD Array */
-#endif
{
S16 idx;
*
*/
-#ifdef ANSI
static S16 buildRecvBuf
(
CmInetMemInfo *info, /* buffer allocation info */
MsgLen len, /* message length */
CmInetIovec rxArr[], /* gather array */
Buffer *dBuf[], /* allocated dBufs */
-uint16_t maxSize, /* size of rxArr/dBuf array */
+uint16_t maxSize, /* size of rxArr/dBuf array */
struct msghdr *msg, /* message header for recvmsg() */
Bool isStrmMsg /* Is a TCP message */
)
-#else
-static S16 buildRecvBuf(info, len, rxArr, dBuf, maxSize, msg, isStrmMsg)
- CmInetMemInfo *info; /* buffer allocation info */
- MsgLen len; /* message length */
- CmInetIovec rxArr[]; /* gather array */
- Buffer *dBuf[]; /* allocated dBufs */
- uint16_t maxSize; /* size of rxArr/dBuf array */
- struct msghdr *msg; /* message header for recvmsg() */
- Bool isStrmMsg; /* Is a TCP message */
-#endif
{
S16 ret; /* temporary return value */
- uint16_t numBuf; /* number of dBufs */
- uint16_t i; /* dBuf index counter */
+ uint16_t numBuf; /* number of dBufs */
+ uint16_t i; /* dBuf index counter */
Data *dPtr; /* data pointer */
/* cm_inet_c_001.main_47: 102069 Changed from S32 to MsgLen for bufLen*/
MsgLen bufLen; /* entire receive buffer length, if S16
*
*/
-#ifdef ANSI
static S16 buildRecvMsg
(
CmInetMemInfo *info, /* buffer allocation info */
Buffer *dBufs[], /* dBufs */
Buffer **mPtr /* message built from dBufs */
)
-#else
-static S16 buildRecvMsg(info, rxArr, numBuf, msgLen, dBufs, mPtr)
-CmInetMemInfo *info; /* buffer allocation info */
-CmInetIovec rxArr[]; /* scatter array */
-S16 numBuf; /* number of allocated dBufs */
-MsgLen msgLen; /* length of one particular dBuf */
-Buffer *dBufs[]; /* dBufs */
-Buffer **mPtr; /* message built from dBufs */
-#endif
{
S16 ret; /* return value */
S16 i; /* dBuf index counter */
* File: cm_inet.c
*
*/
-#ifdef ANSI
static S16 buildSendIovec
(
Buffer *mBuf, /* Message buffer */
CmInetIovec txArr[], /* transmit scatter vector array */
S16 numDBufs, /* Maximum number of dBufs to use */
S16 *numIovElems, /* Number of iov elements in array */
-uint32_t *strtEndDBufNum, /* dBuf number to start and end */
+uint32_t *strtEndDBufNum, /* dBuf number to start and end */
MsgLen *ioLen /* cm_inet_c_001.main_50 - Len of dbuf packed into IO-vector */
)
-#else
-static S16 buildSendIovec(mBuf, msgLen, txArr, numDBufs, numIovElems,
- strtEndDBufNum,ioLen)
-Buffer *mBuf; /* Message buffer */
-MsgLen msgLen; /* Length of mBuf */
-CmInetIovec txArr[]; /* transmit scatter vector array */
-S16 numDBufs; /* Maximum number of dBufs to use */
-S16 *numIovElems; /* Number of iov elements in array */
-uint32_t *strtEndDBufNum; /* dBuf number to start and end */
-MsgLen *ioLen; /* cm_inet_c_001.main_50 - Len of dbuf packed into IO-vector */
-#endif
{
S16 ret;
MsgLen dLen;
* File: cm_inet.c
*
*/
-#ifdef ANSI
#ifdef CM_INET2
#ifdef IPV6_SUPPORTED
S16 cmInetSocket
CmInetFd *sockFd /* socket file descriptor */
)
#endif /* CM_INET2 */
-#else
-#ifdef CM_INET2
-#ifdef IPV6_SUPPORTED
-S16 cmInetSocket(type, sockFd, protocol, domain)
-uint8_t type; /* socket type */
-CmInetFd *sockFd; /* socket file descriptor */
-uint8_t protocol; /* protocol value */
-uint8_t domain; /* domain */
-#else
-S16 cmInetSocket(type, sockFd, protocol)
-uint8_t type; /* socket type */
-CmInetFd *sockFd; /* socket file descriptor */
-uint8_t protocol; /* protocol value */
-#endif /* IPV6_SUPPORTED */
-#else /* CM_INET2 */
-S16 cmInetSocket(type, sockFd)
-uint8_t type; /* socket type */
-CmInetFd *sockFd; /* socket file descriptor */
-#endif /* CM_INET2 */
-#endif /* ANSI */
{
S32 ret; /* temporary return value */
*
*/
-#ifdef ANSI
S16 cmInetBind
(
CmInetFd *sockFd, /* socket file descriptor */
CmInetAddr *myAddr /* locale Internet address/port */
)
-#else
-S16 cmInetBind(sockFd, myAddr)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetAddr *myAddr; /* locale Internet address/port */
-#endif
{
S32 ret; /* temporary return value */
struct sockaddr_in srcAddr; /* local Internet address/port */
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetSctpBindx
(
CmInetFd *sockFd, /* socket file descriptor */
CmInetNetAddrLst *addrLst, /* local Internet address list */
uint16_t port /* port number */
)
-#else
-S16 cmInetSctpBindx(sockFd, addrLst, port)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetNetAddrLst *addrLst; /* locale Internet address list */
-uint16_t port; /* port number */
-#endif
{
S32 ret; /* temporary return value */
S32 idx;
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetSctpConnectx
(
CmInetFd *sockFd, /* socket file descriptor */
CmInetNetAddr *primAddr, /* primary destination Internet address */
CmInetNetAddrLst *addrLst, /* destination Internet address list */
-uint16_t port /* port number */
+uint16_t port /* port number */
)
-#else
-S16 cmInetSctpConnectx(sockFd, primAddr, addrLst, port)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetNetAddr *primAddr; /* primary destination Internet address */
-CmInetNetAddrLst *addrLst; /* destination Internet address list */
-uint16_t port; /* port number */
-#endif
{
S32 ret;
uint32_t cnt;
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetSctpPeelOff
(
CmInetFd *sockFd, /* socket file descriptor */
-uint32_t assocId, /* association id */
+uint32_t assocId, /* association id */
CmInetFdType *assocFd /* association fd */
)
-#else
-S16 cmInetSctpPeelOff(sockFd, assocId, assocFd)
-CmInetFd *sockFd; /* socket file descriptor */
-uint32_t assocId; /* association id */
-CmInetFdType *assocFd; /* association fd */
-#endif
{
S32 ret;
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetSctpSendMsg
(
CmInetFd *sockFd, /* socket file descriptor */
CmInetNetAddr *dstAddr, /* destination Internet address/port */
-uint16_t port, /* destination port no. */
+uint16_t port, /* destination port no. */
CmInetMemInfo *info, /* buffer allocation info */
Buffer *mBuf, /* buffer structure to send */
MsgLen *len, /* number of actually sent octets */
-uint16_t strmId, /* sctp stream identifier */
-Bool unorderFlg, /* flag to enable the unordered delivery */
-uint16_t ttl, /* time to live */
-uint32_t ppId, /* opaque value passed along with the message */
-uint32_t context /* value to be passed back, if error occurs */
+uint16_t strmId, /* sctp stream identifier */
+Bool unorderFlg, /* flag to enable the unordered delivery */
+uint16_t ttl, /* time to live */
+uint32_t ppId, /* opaque value passed along with the message */
+uint32_t context /* value to be passed back, if error occurs */
)
-#else
-S16 cmInetSctpSendMsg(sockFd, dstAddr, port, info, mBuf, len, strmId,
- unorderFlg, ttl, ppId, context)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetNetAddr *dstAddr; /* destination Internet address/port */
-uint16_t port; /* destination port no. */
-CmInetMemInfo *info; /* buffer allocation info */
-Buffer *mBuf; /* buffer structure to send */
-MsgLen *len; /* number of actually sent octets */
-uint16_t strmId; /* sctp stream identifier */
-Bool unorderFlg; /* flag to enable the unordered delivery */
-uint16_t ttl; /* time to live */
-uint32_t ppId; /* opaque value passed along with the message */
-uint32_t context; /* value to be passed back, if error occurs */
-#endif
{
S32 ret;
/* cm_inet_c_001.main_58 : Fix for klockwork issue */
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetSctpRecvMsg
(
CmInetFd *sockFd, /* socket file descriptor */
CmInetNetAddr *srcAddr, /* source Internet address/port */
-uint16_t *port, /* source port no. */
+uint16_t *port, /* source port no. */
CmInetMemInfo *meminfo, /* buffer allocation info */
Buffer **mBuf, /* buffer structure received */
MsgLen *len, /* number of octets received */
CmInetSctpSndRcvInfo *sinfo, /* sctp send-receive info */
-uint32_t *flag, /* flags */
+uint32_t *flag, /* flags */
CmInetSctpNotification *ntfy /* notification parameters */
)
-#else
-S16 cmInetSctpRecvMsg(sockFd, srcAddr, port, meminfo, mBuf, len,
- sinfo, flag, ntfy)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetNetAddr *srcAddr; /* source Internet address/port */
-uint16_t *port; /* source port no. */
-CmInetMemInfo *meminfo; /* buffer allocation info */
-Buffer **mBuf; /* buffer structure received */
-MsgLen *len; /* number of octets received */
-CmInetSctpSndRcvInfo *sinfo; /* sctp send-receive info */
-uint32_t *flag; /* flags */
-CmInetSctpNotification *ntfy; /* notification parameters */
-#endif
{
S32 ret;
S32 msgFlags;
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetSctpGetPAddrs
(
CmInetFd *sockFd, /* socket file descriptor */
-uint32_t assocId, /* association id */
+uint32_t assocId, /* association id */
CmInetNetAddrLst *addrlst /* peer address list */
)
-#else
-S16 cmInetSctpGetPAddrs(sockFd, assocId, addrlst)
-CmInetFd *sockFd; /* socket file descriptor */
-uint32_t assocId; /* association id */
-CmInetNetAddrLst *addrlst; /* peer address list */
-#endif
{
/* cm_inet_c_001.main_58 : Fix for Klockwork issue */
S32 cnt;
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetGetOpt
(
CmInetFd *sockFd, /* socket file descriptor */
-uint32_t level, /* option level */
-uint32_t type, /* option type */
-Ptr value /* option value */
+uint32_t level, /* option level */
+uint32_t type, /* option type */
+Ptr value /* option value */
)
-#else
-S16 cmInetGetOpt(sockFd, level, type, value)
-CmInetFd *sockFd; /* socket file descriptor */
-uint32_t level; /* option level */
-uint32_t type; /* option type */
-Ptr value; /* option value */
-#endif
{
socklen_t len;
struct sctp_status status;
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetShutDownSctp
(
- CmInetFd *sockFd /* socket file descriptor */
- )
-#else
-S16 cmInetShutDownSctp(sockFd)
- CmInetFd *sockFd; /* socket file descriptor */
-#endif
+CmInetFd *sockFd /* socket file descriptor */
+)
{
/*cm_inet_c_001.main_58 : fix for klockwork issue */
S32 ret;
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetAbortSctpAssoc
(
- CmInetFd *sockFd, /* socket file descriptor */
- UConnId assocId /* Association ID */
- )
-#else
-S16 cmInetAbortSctpAssoc(sockFd, assocId)
- CmInetFd *sockFd; /* socket file descriptor */
- UConnId assocId; /* Association ID */
-#endif
+CmInetFd *sockFd, /* socket file descriptor */
+UConnId assocId /* Association ID */
+)
{
- S32 ret;
+ S32 ret;
struct sctp_sndrcvinfo sndRcvInfo;
*
*/
-#ifdef ANSI
S16 cmInetConnect
(
CmInetFd *sockFd, /* socket file descriptor */
CmInetAddr *servAddr /* foreign Internet address/port */
)
-#else
-S16 cmInetConnect(sockFd, servAddr)
- CmInetFd *sockFd; /* socket file descriptor */
- CmInetAddr *servAddr; /* foreign Internet address/port */
-#endif
{
S32 ret; /* temporary return value */
struct sockaddr_in dstAddr; /* foreign Internet address/port */
*
*/
-#ifdef ANSI
S16 cmInetListen
(
CmInetFd *sockFd, /* socket file descriptor */
S16 backLog /* max. number of outstandig connections 0..5 */
)
-#else
-S16 cmInetListen(sockFd, backLog)
-CmInetFd *sockFd; /* socket file descriptor */
-S16 backLog; /* max. number of outstandig connections 0..5 */
-#endif
{
S32 ret; /* temporary return value */
*
*/
-#ifdef ANSI
S16 cmInetAccept
(
CmInetFd *sockFd, /* socket file descriptor */
CmInetAddr *fromAddr, /* calling Internet address/port */
CmInetFd *newSockFd /* socket file descriptor for new connection*/
)
-#else
-S16 cmInetAccept(sockFd, fromAddr, newSockFd)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetAddr *fromAddr; /* calling Internet address/port */
-CmInetFd *newSockFd; /* socket file descriptor for new connection*/
-#endif
{
S32 ret; /* temporary return value */
S32 addrLen; /* address structure length */
*
*/
-#ifdef ANSI
static S16 cmInet4FillTos
(
uint8_t tos, /* tos value to be filled in ipheader */
uint8_t *cmsgBuf, /* flat buffer where to build ext hdrs */
uint32_t *curMsgIdx /* idx in cmsgBuf where HBH/Dest ext hdr ends */
)
-#else
-static S16 cmInet4FillTos(tos, cmsgBuf, curMsgIdx, protType)
-uint8_t tos; /* tos value to be filled in ipheader */
-uint8_t *cmsgBuf; /* flat buffer where to build ext hdrs */
-uint32_t *curMsgIdx; /* idx in cmsgBuf where HBH/Dest ext hdr ends */
-#endif /* ANSI */
{
struct cmsghdr *tempHdr;
uint8_t len;
*
*/
-#ifdef ANSI
S16 cmInetSendDscpMsg
(
CmInetFd *sockFd, /* socket file descriptor */
CmInetIpHdrParm *ipHdrParams, /* IPv6 extensions headers */
S16 flags /* additional control flags, unused */
)
-#else
-/* added for IPv6 ext hdr */
-S16 cmInetSendDscpMsg(sockFd, dstAddr, info, mBuf, len, ipHdrParams, flags)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetAddr *dstAddr; /* destination Internet address/port */
-CmInetMemInfo *info; /* buffer allocation info */
-Buffer *mBuf; /* buffer structure to send */
-MsgLen *len; /* number of actually sent octets */
-CmInetIpHdrParm *ipHdrParams; /* IPv6 extensions headers */
-S16 flags; /* additional control flags, unused */
-#endif /* ANSI */
{
#if (defined(WIN32) || defined(CMINETFLATBUF))
S32 ret; /* temporary return value */
*
*/
-#ifdef ANSI
S16 cmInetSendMsg
(
CmInetFd *sockFd, /* socket file descriptor */
#endif /* IPV6_OPTS_SUPPORTED */
S16 flags /* additional control flags, unused */
)
-#else
-/* added for IPv6 ext hdr */
-#ifdef IPV6_OPTS_SUPPORTED
-S16 cmInetSendMsg(sockFd, dstAddr, info, mBuf, len, ipHdrParams, flags)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetAddr *dstAddr; /* destination Internet address/port */
-CmInetMemInfo *info; /* buffer allocation info */
-Buffer *mBuf; /* buffer structure to send */
-MsgLen *len; /* number of actually sent octets */
-CmInetIpHdrParm *ipHdrParams; /* IPv6 extensions headers */
-S16 flags; /* additional control flags, unused */
-#else
-S16 cmInetSendMsg(sockFd, dstAddr, info, mBuf, len, flags)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetAddr *dstAddr; /* destination Internet address/port */
-CmInetMemInfo *info; /* buffer allocation info */
-Buffer *mBuf; /* buffer structure to send */
-MsgLen *len; /* number of actually sent octets */
-S16 flags; /* additional control flags, unused */
-#endif /* IPV6_OPTS_SUPPORTED */
-#endif /* ANSI */
{
#if (defined(WIN32) || defined(CMINETFLATBUF))
S32 ret; /* temporary return value */
*
*/
-#ifdef ANSI
static S16 cmInet6BuildSendPktinfo
(
CmInetIpAddr6 *srcAddr, /* src ip addr to set on outgoing packet */
uint32_t *curMsgIdx, /* idx in cmsgBuf where HBH/Dest ext hdr ends */
uint8_t protType /* whether IPv4/IPv6 socket */
)
-#else
-static S16 cmInet6BuildSendPktinfo(srcAddr, cmsgBuf, curMsgIdx, protType)
-CmInetIpAddr6 *srcAddr; /* src ip addr to set on outgoing packet */
-uint8_t *cmsgBuf; /* flat buffer where to build ext hdrs */
-uint32_t *curMsgIdx; /* idx in cmsgBuf where HBH/Dest ext hdr ends */
-uint8_t protType; /* whether IPv4/IPv6 socket */
-#endif /* ANSI */
{
struct cmsghdr *tempHdr;
struct in6_pktinfo *ipv6Pktinfo;
*
*/
-#ifdef ANSI
static S16 cmInetBuildSendHoplimit
(
uint32_t hoplimit, /* the hoplimit value to be set on outgoing packet */
uint8_t *cmsgBuf, /* flat buffer where to build ext hdrs */
uint32_t *curMsgIdx /* idx in cmsgBuf where HBH/Dest ext hdr ends */
)
-#else
-static S16 cmInetBuildSendHoplimit(hoplimit, cmsgBuf, curMsgIdx)
-uint32_t hoplimit; /* the hoplimit value to be sent on outgoing packet */
-uint8_t *cmsgBuf; /* flat buffer where to build ext hdrs */
-uint32_t *curMsgIdx; /* idx in cmsgBuf where HBH/Dest ext hdr ends */
-#endif /* ANSI */
{
struct cmsghdr *tempHdr;
uint8_t len;
*
*/
-#ifdef ANSI
static S16 cmInet6BuildSendHBHOpts
(
CmInetIpv6HBHHdrArr *hbhOptsArr,/* IPv6 extensions headers HBH/Dest opts */
uint32_t *curMsgIdx, /* idx in cmsgBuf where HBH/Dest ext hdr ends */
uint8_t hdrId /* 0: HBH hdr, 1:Dest Hdr */
)
-#else
-static S16 cmInet6BuildSendHBHOpts(hbhOptsArr, cmsgBuf, curMsgIdx, hdrId)
-CmInetIpv6HBHHdrArr *hbhOptsArr;/* IPv6 extensions headers HBH/Dest opts */
-uint8_t *cmsgBuf; /* flat buffer where to build ext hdrs */
-uint32_t *curMsgIdx; /* idx in cmsgBuf where HBH/Dest ext hdr ends */
-uint8_t hdrId; /* 0: HBH hdr, 1:Dest Hdr */
-#endif
{
struct cmsghdr *tempHdr;
uint8_t len;
*
*/
-#ifdef ANSI
static S16 cmInet6BuildSendRouteOpts
(
CmInetIpv6RtHdr *rtOptsArr, /* IPv6 destination options array */
uint8_t *cmsgBuf, /* flat buffer where to build ext hdrs */
uint32_t *curMsgIdx /* idx in cmsgBuf where to start building RT hdr */
)
-#else
-static S16 cmInet6BuildSendRouteOpts(rtOptsArr, cmsgBuf, curMsgIdx)
-CmInetIpv6RtHdr *rtOptsArr; /* IPv6 destination options array */
-uint8_t *cmsgBuf; /* flat buffer where to build ext hdrs */
-uint32_t *curMsgIdx; /* idx in cmsgBuf where to start building RT hd */
-#endif /* ANSI */
{
struct cmsghdr *tempHdr;
CmInetIpv6RtHdr0 *tempRtHdr;
*
*/
-#ifdef ANSI
static S16 cmInet6BuildRecvHopOptsArr
(
uint8_t *cmsgData, /* flat buffer where to build ext hdrs */
uint8_t hdrId, /* 0: HBH, 1: DEST */
CmInetMemInfo *info /* Memory information */
)
-#else
-static S16 cmInet6BuildRecvHopOptsArr(cmsgData, hbhDataLen, hbhOptsArr, hdrId,
- info)
-uint8_t *cmsgData; /* flat buffer where to build ext hdrs */
-uint32_t hbhDataLen; /* byte len of cmsghdr + hbh ancil data */
-CmInetIpv6HBHHdrArr *hbhOptsArr; /* IPv6 extensions headers */
-uint8_t hdrId; /* 0: HBH, 1: DEST */
-CmInetMemInfo *info; /* Memory information */
-#endif /* ANSI */
{
uint32_t curDataIdx; /* to keep track where we are in the hbh Data */
uint8_t optsIdx; /* how many hbh opts present in data */
*
*/
-#ifdef ANSI
static S16 cmInet6BuildRecvRtHdr
(
uint8_t *cmsgData, /* flat buffer where to build Route hdr */
CmInetIpv6RtHdr *rtOptsArr,/* IPv6 extensions headers */
CmInetMemInfo *info /* Memory information */
)
-#else
-static S16 cmInet6BuildRecvRtHdr(cmsgData, rtDataLen, rtHdr0, rtOptsArr, info)
-uint8_t *cmsgData; /* flat buffer where to build Route hdr */
-uint32_t rtDataLen; /* byte len of cmsghdr struc+rtHdr ancil data */
-CmInetIpv6RtHdr0 *rtHdr0; /* rtHeader0 struct that precedes IPV6 addrss */
-CmInetIpv6RtHdr *rtOptsArr;/* IPv6 extensions headers */
-CmInetMemInfo *info; /* Memory information */
-#endif /* ANSI */
{
uint32_t curDataIdx; /* to keep track where we are in hbh Data */
uint8_t i; /* loop counter */
*
*/
-#ifdef ANSI
static S16 cmInet6GetHopLimitValue
(
uint8_t *cmsgData, /* flat buffer where to build ext hdrs */
uint32_t hopLimitDataLen, /* byte len of cmsghdr + hbh ancil data */
CmInetIpv6HdrParm *ipv6HdrParam /* ipv6 header parameters */
)
-#else
-static S16 cmInet6GetHopLimitValue(cmsgData, hopLimitDataLen, ipv6HdrParam)
-uint8_t *cmsgData; /* flat buffer where to build ext hdrs */
-uint32_t hopLimitDataLen; /* byte len of cmsghdr + hbh ancil data */
-CmInetIpv6HdrParm *ipv6HdrParam; /* ipv6 header parameters */
-#endif /* ANSI */
{
uint16_t curDataIdx; /* to keep track where we are in the ancillary Data */
uint32_t *hopLimitValue; /* ttl/hoplimit value */
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetRecvMsg
(
CmInetFd *sockFd, /* socket file descriptor */
#endif /* LOCAL_INTF */
S32 flags /* additional control flags */
)
-#else
-/* added for IPv6 */
-#ifdef IPV6_OPTS_SUPPORTED
-#ifdef LOCAL_INTF
-S16 cmInetRecvMsg(sockFd, fromAddr, info, mPtr, len,
- ipHdrParams, localIf, flags)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetAddr *fromAddr; /* sender Internet address/port */
-CmInetMemInfo *info; /* buffer allocation info */
-Buffer **mPtr; /* received buffer structure */
-MsgLen *len; /* number of octets to read */
-CmInetIpHdrParm *ipHdrParams; /* IPv6 extensions headers */
-CmInetLocalInf *localIf; /* local interface on which pkt was recvd */
-S32 flags; /* additional control flags */
-#else
-S16 cmInetRecvMsg(sockFd, fromAddr, info, mPtr, len, ipHdrParams, flags)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetAddr *fromAddr; /* sender Internet address/port */
-CmInetMemInfo *info; /* buffer allocation info */
-Buffer **mPtr; /* received buffer structure */
-MsgLen *len; /* number of octets to read */
-CmInetIpHdrParm *ipHdrParams; /* IPv6 extensions headers */
-S32 flags; /* additional control flags */
-#endif /* LOCAL_INTF */
-#else
-#ifdef LOCAL_INTF
-S16 cmInetRecvMsg(sockFd, fromAddr, info, mPtr, len, localIf, flags)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetAddr *fromAddr; /* sender Internet address/port */
-CmInetMemInfo *info; /* buffer allocation info */
-Buffer **mPtr; /* received buffer structure */
-MsgLen *len; /* number of octets to read */
-CmInetLocalInf *localIf; /* local interface on which pkt was recvd */
-S32 flags; /* additional control flags */
-#else
-S16 cmInetRecvMsg(sockFd, fromAddr, info, mPtr, len, flags)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetAddr *fromAddr; /* sender Internet address/port */
-CmInetMemInfo *info; /* buffer allocation info */
-Buffer **mPtr; /* received buffer structure */
-MsgLen *len; /* number of octets to read */
-S32 flags; /* additional control flags */
-#endif /* LOCAL_INTF */
-#endif /* IPV6_OPTS_SUPPORTED */
-#endif /* ANSI */
{
#if (defined(WIN32) || defined(CMINETFLATBUF))
S32 ret; /* temporary return value */
* File: cm_inet.c
*/
-#ifdef ANSI
S16 cmInetPeekNew
(
- CmInetFd *sockFd, /* socket file descriptor */
- CmInetAddr *fromAddr, /* sender Internet address/port */
- CmInetMemInfo *info, /* buffer allocation info */
- MsgLen dataPos, /* position of data */
- MsgLen dataLen, /* length of read data */
- Data *data /* read data */
- )
-#else
-S16 cmInetPeekNew(sockFd, fromAddr, info, dataPos, dataLen, data)
- CmInetFd *sockFd; /* socket file descriptor */
- CmInetAddr *fromAddr; /* sender Internet address/port */
- CmInetMemInfo *info; /* buffer allocation info */
- MsgLen dataPos; /* position of data */
- MsgLen dataLen; /* length of read data */
- Data *data; /* read data */
-#endif
+CmInetFd *sockFd, /* socket file descriptor */
+CmInetAddr *fromAddr, /* sender Internet address/port */
+CmInetMemInfo *info, /* buffer allocation info */
+MsgLen dataPos, /* position of data */
+MsgLen dataLen, /* length of read data */
+Data *data /* read data */
+)
{
/* cm_inet_c_001.main_57 - Fix for validation and compilation warning */
S32 recvLen; /* number of received octets */
*
*/
-#ifdef ANSI
S16 cmInetPeek
(
CmInetFd *sockFd, /* socket file descriptor */
MsgLen dataLen, /* length of read data */
Data *data /* read data */
)
-#else
-S16 cmInetPeek(sockFd, fromAddr, info, dataPos, dataLen, data)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetAddr *fromAddr; /* sender Internet address/port */
-CmInetMemInfo *info; /* buffer allocation info */
-MsgLen dataPos; /* position of data */
-MsgLen dataLen; /* length of read data */
-Data *data; /* read data */
-#endif
{
/* cm_inet_c_001.main_54: Fix for Klockworks issue */
Data *recvBuf = NULLP; /* plain receive buffer */
*
*/
-#ifdef ANSI
S16 cmInetClose
(
CmInetFd *sockFd /* socket file descriptor */
)
-#else
-S16 cmInetClose(sockFd)
-CmInetFd *sockFd; /* socket file descriptor */
-#endif
{
S32 ret; /* temporary return value */
*
*/
-#ifdef ANSI
S16 cmInetShutdown
(
CmInetFd *sockFd, /* socket file descriptor */
S32 howTo /* operation flag */
)
-#else
-S16 cmInetShutdown(sockFd, howTo)
-CmInetFd *sockFd; /* socket file descriptor */
-S32 howTo; /* operation flag */
-#endif
{
S32 ret; /* temporary return value */
*
*/
-#ifdef ANSI
S16 cmInetSelect
(
CmInetFdSet *readFdS, /* read socket descriptor file set */
CmInetFdSet *writeFdS, /* write socket descriptor file set */
-uint32_t *mSecTimeout, /* timeout in msecs */
+uint32_t *mSecTimeout, /* timeout in msecs */
S16 *numFdS /* number of ready descriptors */
)
-#else
-S16 cmInetSelect(readFdS, writeFdS, mSecTimeout, numFdS)
-CmInetFdSet *readFdS; /* read socket descriptor file set */
-CmInetFdSet *writeFdS; /* write socket descriptor file set */
-uint32_t *mSecTimeout; /* timeout in msecs */
-S16 *numFdS; /* number of ready descriptors */
-#endif
{
S32 ret; /* temporary return value */
struct timeval timeout; /* timeout structure */
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetSetOpt
(
CmInetFd *sockFd, /* socket file descriptor */
-uint32_t level, /* option level */
-uint32_t type, /* option type */
-Ptr value /* option value */
+uint32_t level, /* option level */
+uint32_t type, /* option type */
+Ptr value /* option value */
)
-#else
-S16 cmInetSetOpt(sockFd, level, type, value)
-CmInetFd *sockFd; /* socket file descriptor */
-uint32_t level; /* option level */
-uint32_t type; /* option type */
-Ptr value; /* option value */
-#endif
{
S32 ret = ROK; /* temporary return value */
uint32_t disable = 0; /* disable option */
*
*/
-#ifdef ANSI
S16 cmInetGetNumRead
(
CmInetFd *sockFd, /* socket file descriptor */
uint32_t *dataLen /* number of pending octets */
/* removed 3rd argument memInfo */
)
-#else
-S16 cmInetGetNumRead(sockFd, dataLen)
-CmInetFd *sockFd; /* socket file descriptor */
-uint32_t *dataLen; /* number of pending octets */
-/* removed 3rd argument memInfo */
-#endif
{
S32 ret; /* temporary return value */
*
*/
-#ifdef ANSI
S16 cmInetGetHostByName
(
S8 *hostName, /* host name */
CmInetIpAddrTbl *addrTbl /* Address Table of IPV4 Addresses */
)
-#else
-S16 cmInetGetHostByName (hostName, addrTbl)
-S8 *hostName; /* host name */
-CmInetIpAddrTbl *addrTbl; /* Address Table of IPV4 Addresses */
-#endif
{
#ifndef SS_VW
uint8_t numAddrs; /* Number of Addresses */
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetGetIpNodeByName
(
S8 *hostName, /* host name */
CmInetIpAddrArr *addrArr /* Array of addressed filled in */
)
-#else
-S16 cmInetGetIpNodeByName(hostName, addrArr)
-S8 *hostName; /* host name */
-CmInetIpAddrArr *addrArr; /* Array of addressed filled in */
-#endif
{
/* for return value from cmInetGetHostByName */
#ifndef IPV6_SUPPORTED
*
*/
-#ifdef ANSI
S16 cmInetAddr(
S8 *asciiAddr, /* ascii address representation */
CmInetIpAddr *address /* 4 byte interent address */
)
-#else
-S16 cmInetAddr(asciiAddr, address)
-S8 *asciiAddr; /* ascii address representation */
-CmInetIpAddr *address; /* 4 byte interent address */
-#endif
{
#if (ERRCLASS & ERRCLS_INT_PAR)
*
*/
-#ifdef ANSI
S16 cmInetNtoa(
CmInetIpAddr address, /* 4 byte interent address */
S8 **asciiAddr /* ascii address representation */
)
-#else
-S16 cmInetNtoa(address, asciiAddr)
-CmInetIpAddr address; /* 4 byte interent address */
-S8 **asciiAddr; /* ascii address representation */
-#endif
{
struct in_addr inetAddr; /* internet address structure */
*
*/
-#ifdef ANSI
S16 cmInetNtop(
uint8_t type, /* ip address type */
Void *address, /* 4/16 byte interent address */
S8 *asciiAddr, /* ascii adress representation */
uint32_t len
)
-#else
-S16 cmInetNtop(type,address, asciiAddr,len)
-uint8_t type; /* ip address type */
-Void *address; /* 4/16 byte interent address */
-S8 *asciiAddr; /* ascii adress representation */
-uint32_t len;
-#endif
{
S32 domain = 0;
*
*/
-#ifdef ANSI
S16 cmInetPton(
CmInetIpAddr *address, /* 4 byte interent address */
S8 *asciiAddr /* ascii address representation */
)
-#else
-S16 cmInetPton(address, asciiAddr)
-CmInetIpAddr *address; /* 4 byte interent address */
-S8 *asciiAddr; /* ascii address representation */
-#endif
{
S16 ret;
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetPton6(
CmInetIpAddr6 *address6, /* 16 byte interent address */
S8 *asciiAddr /* ascii address representation */
)
-#else
-S16 cmInetPton6(address6, asciiAddr)
-CmInetIpAddr6 *address6; /* 16 byte interent address */
-S8 *asciiAddr; /* ascii address representation */
-#endif
{
S16 ret;
*
*/
-#ifdef ANSI
S16 cmInetGetMemSize(
S32 *size /* max used memory size */
)
-#else
-S16 cmInetGetMemSize(size)
-S32 *size; /* max used memory size */
-#endif
{
#ifdef WIN32
/* max static memory size depends on max flat buffer size */
*
*/
-#ifdef ANSI
-S16 cmInetInit(
-Void
-)
-#else
S16 cmInetInit(Void)
-#endif
{
#ifdef WIN32
uint16_t version;
*
*/
-#ifdef ANSI
-S16 cmInetDeInit(
-Void
-)
-#else
S16 cmInetDeInit(Void)
-#endif
{
#ifdef WIN32
S32 err;
*
*/
\f
-#ifdef ANSI
S16 cmInetGetSockName
(
CmInetFd *sockFd, /* socket file descriptor */
CmInetAddr *locAddr
)
-#else
-S16 cmInetGetSockName(sockFd, locAddr)
-CmInetFd *sockFd; /* socket file descriptor */
-CmInetAddr *locAddr;
-#endif
{
struct sockaddr_in *sockAddr;
#ifdef IPV6_SUPPORTED
*
*/
\f
-#ifdef ANSI
S16 cmInetFdSetInfoInit
(
CmInetFdSetInfo *fdSetInfo
)
-#else
-S16 cmInetFdSetInfoInit(fdSetInfo)
-CmInetFdSetInfo *fdSetInfo;
-#endif
{
#if (defined(SUNOS) || defined(SS_LINUX) || defined(SS_VW) || defined(HPOS))
uint16_t arIdx;
*
*/
\f
-#ifdef ANSI
S16 cmInetGetFd
(
CmInetFdSetInfo *fdSetInfo,
CmInetFdSet *fdSet,
CmInetFdType *sockFd
)
-#else
-S16 cmInetGetFd(fdSetInfo, fdSet, sockFd)
-CmInetFdSetInfo *fdSetInfo;
-CmInetFdSet *fdSet;
-CmInetFdType *sockFd;
-#endif
{
/*cm_inet_c_001.main_58 : Fix for klockwork issue */
#if (!defined (WIN32))
*
*/
-#ifdef ANSI
S16 cmInetConvertStrToIpAddr
(
uint16_t len, /* Length of IP address */
uint8_t *val, /* Domain Name String */
CmInetNetAddr *address /* IP Address */
)
-#else
-S16 cmInetConvertStrToIpAddr(len, val, address)
-uint16_t len; /* Length of IP address */
-uint8_t *val; /* Domain Name String */
-CmInetNetAddr *address; /* IP Address */
-#endif
{
uint8_t idx; /* Index for string*/
uint8_t ipv4[CM_INET_IPV4ADDR_SIZE]; /* IPV4 Address bytes */
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetAsciiToIpv4
(
-uint8_t numBytes, /* number of Byte to convert */
-uint8_t *ipv4Addr, /* IPV4 Address */
-uint16_t len, /* Length of IP address */
-uint8_t *val /* Domain Name String */
+uint8_t numBytes, /* number of Byte to convert */
+uint8_t *ipv4Addr, /* IPV4 Address */
+uint16_t len, /* Length of IP address */
+uint8_t *val /* Domain Name String */
)
-#else
-S16 cmInetAsciiToIpv4(numBytes, ipv4Addr, len, val)
-uint8_t numBytes; /* number of Byte to convert */
-uint8_t *ipv4Addr; /* IPV4 Address */
-uint16_t len; /* Length of IP address */
-uint8_t *val; /* Domain Name String */
-#endif
{
- uint8_t byteCount; /* Byte Count */
- uint8_t idx; /* Index for string*/
+ uint8_t byteCount; /* Byte Count */
+ uint8_t idx; /* Index for string*/
idx = 0;
*
*/
-#ifdef ANSI
S32 cmInetGetAddrInfo
(
const S8 *node, /* Network addr which has to be resolved */
const CmInetAddrInfo *hints, /* Specifies preferred socket type or protocol */
CmInetAddrInfo **res /* Link list of addrInfo structure */
)
-#else
-S32 cmInetGetAddrInfo(node,service,hints,res)
-const S8 *node; /* Network addr which has to be resolved */
-const S8 *service; /* Sets the port number in network addr */
-const CmInetAddrInfo *hints; /* Specifies preferred socket type or protocol */
-CmInetAddrInfo **res; /* Link list of addrInfo structure */
-#endif
{
S32 ret;
ret = ROK;
*
*/
-#ifdef ANSI
Void cmInetFreeAddrInfo
(
-CmInetAddrInfo *res /* Link list of addrInfo structure */
+CmInetAddrInfo *res /* Link list of addrInfo structure */
)
-#else
-Void cmInetFreeAddrInfo(res)
-CmInetAddrInfo *res; /* Link list of addrInfo structure */
-#endif
{
#if (ERRCLASS & ERRCLS_INT_PAR)
* File: cm_inet.c
*
*/
-#ifdef ANSI
S16 cmInetFlushRecvBuf
(
CmInetFd *sockFd, /* socket file descriptor */
MsgLen *len, /* number of octects to be flushed */
S32 flags /* additional control flags */
)
-#else
-S16 cmInetFlushRecvBuf(sockFd, len, flags)
-CmInetFd *sockFd; /* socket file descriptor */
-MsgLen *len; /* number of octects to be flushed */
-S32 flags; /* additional control flags */
-#endif /* ANSI */
{
Data recvTempBuf[CM_INET_MAX_BYTES_READ];
* File: cm_lib.c
*
*/
-#ifdef ANSI
-uint8_t *cmMemcpy
-(
-uint8_t *tgt,
-const uint8_t *src,
-PTR len
-)
-#else
-uint8_t *cmMemcpy(tgt, src, len)
-uint8_t *tgt;
-const uint8_t *src;
-PTR len;
-#endif
+uint8_t *cmMemcpy(uint8_t *tgt,const uint8_t *src,PTR len)
{
/*cm_lib_c_001.main_14 : Fix for TRACE5 feature crash due to missing TRC MACRO*/
* File: cm_lib.c
*
*/
-#ifdef ANSI
-S16 cmMemcmp
-(
-const uint8_t *s1,
-const uint8_t *s2,
-PTR len
-)
-#else
-S16 cmMemcmp (s1, s2, len)
-const uint8_t *s1;
-const uint8_t *s2;
-PTR len;
-#endif
+S16 cmMemcmp(const uint8_t *s1,const uint8_t *s2,PTR len)
{
/*cm_lib_c_001.main_14 : Fix for TRACE5 feature crash due to missing TRC MACRO*/
#if MEMCMP_AVAIL /* memcmp is available */
* File: cm_lib.c
*
*/
-#ifdef ANSI
-uint8_t *cmMemset
-(
-uint8_t *str,
-uint8_t val,
-PTR len
-)
-#else
-uint8_t *cmMemset(str, val, len)
-uint8_t *str;
-uint8_t val;
-PTR len;
-#endif
+uint8_t *cmMemset(uint8_t *str,uint8_t val,PTR len)
{
/*cm_lib_c_001.main_14 : Fix for TRACE5 feature crash due to missing TRC MACRO*/
#if MS_MBUF_CORRUPTION /* checking for valid memory address */
* File: cm_lib.c
*
*/
-#ifdef ANSI
-S16 cmStrcmp
-(
-const uint8_t *s1,
-const uint8_t *s2
-)
-#else
-S16 cmStrcmp (s1, s2)
-const uint8_t *s1;
-const uint8_t *s2;
-#endif
+S16 cmStrcmp(const uint8_t *s1,const uint8_t *s2)
{
/*cm_lib_c_001.main_14 : Fix for TRACE5 feature crash due to missing TRC MACRO*/
#if (STRCMP_AVAIL)
* File: cm_lib.c
*
*/
-#ifdef ANSI
S16 cmStrncmp
(
const uint8_t *s1,
const uint8_t *s2,
MsgLen len /* cm_lib_c_001.main_12: Changing from S16 to MsgLen.*/
)
-#else
-S16 cmStrncmp (s1, s2, len)
-const uint8_t *s1;
-const uint8_t *s2;
-MsgLen len;
-#endif
{
/*cm_lib_c_001.main_14 : Fix for TRACE5 feature crash due to missing TRC MACRO*/
#if (STRNCMP_AVAIL)
* File: cm_lib.c
*
*/
-#ifdef ANSI
-MsgLen cmStrlen
-(
-const uint8_t *s
-)
-#else
-/* cm_lib_c_001.main_12: Changing from S16 to MsgLen.*/
-MsgLen cmStrlen (s)
-const uint8_t *s;
-#endif
+MsgLen cmStrlen(const uint8_t *s)
{
#if (STRLEN_AVAIL)
/*cm_lib_c_001.main_15 : Fix for warning due to mixed declation*/
* File: cm_llist.c
*
*/
-#ifdef ANSI
Void cmLListInit
(
CmLListCp *lCp /* list control point */
)
-#else
-Void cmLListInit(lCp)
-CmLListCp *lCp; /* list control point */
-#endif
{
lCp->first = (CmLList *)NULLP;
* File: cm_llist.c
*
*/
-#ifdef ANSI
Void cmLListAdd2Head
(
CmLListCp *lCp, /* list control point */
CmLList *node /* node to be added */
)
-#else
-Void cmLListAdd2Head(lCp, node)
-CmLListCp *lCp; /* list control point */
-CmLList *node; /* node to be added */
-#endif
{
#ifdef ERRCHK
* File: cm_llist.c
*
*/
-#ifdef ANSI
Void cmLListAdd2Tail
(
CmLListCp *lCp, /* list control point */
CmLList *node /* node to be added */
)
-#else
-Void cmLListAdd2Tail(lCp, node)
-CmLListCp *lCp; /* list control point */
-CmLList *node; /* node to be added */
-#endif
{
#ifdef ERRCHK
* File: cm_llist.c
*
*/
-#ifdef ANSI
Void cmLListInsCrnt
(
CmLListCp *lCp, /* list control point */
CmLList *node /* node to be added */
)
-#else
-Void cmLListInsCrnt(lCp, node)
-CmLListCp *lCp; /* list control point */
-CmLList *node; /* node to be added */
-#endif
{
#ifdef ERRCHK
* File: cm_llist.c
*
*/
-#ifdef ANSI
Void cmLListInsAfterCrnt
(
CmLListCp *lCp, /* list control point */
CmLList *node /* node to be added */
)
-#else
-Void cmLListInsAfterCrnt(lCp, node)
-CmLListCp *lCp; /* list control point */
-CmLList *node; /* node to be added */
-#endif
{
#ifdef ERRCHK
* File: cm_llist.c
*
*/
-#ifdef ANSI
CmLList *cmLListDelFrm
(
CmLListCp *lCp, /* list control pointer */
CmLList *node /* node to be removed */
)
-#else
-CmLList *cmLListDelFrm(lCp, node)
-CmLListCp *lCp; /* list control pointer */
-CmLList *node; /* node to be removed */
-#endif
{
#ifdef ERRCHK
* File: cm_llist.c
*
--*/
-#ifdef ANSI
Void cmLListCatLList
(
- CmLListCp *list1, /*-- list control point --*/
- CmLListCp *list2 /*-- node to be added --*/
- )
-#else
-Void cmLListCatLList(list1, list2)
- CmLListCp *list1; /*-- list control point --*/
- CmLListCp *list2; /*-- node to be added --*/
-#endif
+CmLListCp *list1, /*-- list control point --*/
+CmLListCp *list2 /*-- node to be added --*/
+)
{
/*-- if the second list is empty nothing to do --*/
* File :
*
**********************************************************/
-#ifdef ANSI
-S16 cmPkLteRlcId
-(
-CmLteRlcId *param,
-Buffer *mBuf
-)
-#else
-S16 cmPkLteRlcId(param, mBuf)
-CmLteRlcId *param;
-Buffer *mBuf;
-#endif
+S16 cmPkLteRlcId(CmLteRlcId *param,Buffer *mBuf)
{
* File :
*
**********************************************************/
-#ifdef ANSI
-S16 cmUnpkLteRlcId
-(
-CmLteRlcId *param,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkLteRlcId(param, mBuf)
-CmLteRlcId *param;
-Buffer *mBuf;
-#endif
+S16 cmUnpkLteRlcId(CmLteRlcId *param,Buffer *mBuf)
{
* File :
*
**********************************************************/
-#ifdef ANSI
-S16 cmPkLteTimingInfo
-(
-CmLteTimingInfo *param,
-Buffer *mBuf
-)
-#else
-S16 cmPkLteTimingInfo(param, mBuf)
-CmLteTimingInfo *param;
-Buffer *mBuf;
-#endif
+S16 cmPkLteTimingInfo(CmLteTimingInfo *param,Buffer *mBuf)
{
* File :
*
**********************************************************/
-#ifdef ANSI
-S16 cmUnpkLteTimingInfo
-(
-CmLteTimingInfo *param,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkLteTimingInfo(param, mBuf)
-CmLteTimingInfo *param;
-Buffer *mBuf;
-#endif
+S16 cmUnpkLteTimingInfo(CmLteTimingInfo *param,Buffer *mBuf)
{
* File :
*
**********************************************************/
-#ifdef ANSI
-S16 cmPkLtePdcpId
-(
-CmLtePdcpId *param,
-Buffer *mBuf
-)
-#else
-S16 cmPkLtePdcpId(param, mBuf)
-CmLtePdcpId *param;
-Buffer *mBuf;
-#endif
+S16 cmPkLtePdcpId(CmLtePdcpId *param,Buffer *mBuf)
{
* File :
*
**********************************************************/
-#ifdef ANSI
-S16 cmUnpkLtePdcpId
-(
-CmLtePdcpId *param,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkLtePdcpId(param, mBuf)
-CmLtePdcpId *param;
-Buffer *mBuf;
-#endif
+S16 cmUnpkLtePdcpId(CmLtePdcpId *param,Buffer *mBuf)
{
return ROK;
}
#ifdef LTE_L2_MEAS
-#ifdef ANSI
-S16 cmUpdateSsiMemInfo
-(
-CmLteMemInfo *mInfo
-)
-#else
-S16 cmUpdateSsiMemInfo(mInfo)
-CmLteMemInfo *mInfo;
-#endif
+S16 cmUpdateSsiMemInfo(CmLteMemInfo *mInfo)
{
uint8_t numReg = 0;
uint8_t numPool = 0;
return ROK;
}
-#ifdef ANSI
-S16 cmFillMemUtilizationMeas
-(
- CmLteMemInfo *memoryInfo,
-CmLteMemInfo *memInfo
-)
-#else
-S16 cmFillMemUtilizationMeas(memoryInfo,memInfo)
-CmLteMemInfo *memoryInfo;
-CmLteMemInfo *memInfo;
-#endif
+S16 cmFillMemUtilizationMeas( CmLteMemInfo *memoryInfo,CmLteMemInfo *memInfo)
{
uint8_t idxReg = 0;
uint8_t idxPool = 0;
return ROK;
}
-#ifdef ANSI
-S16 cmClearMemUtilizationCounter
-(
-CmLteMemInfo *memInfo
-)
-#else
-S16 cmClearMemUtilizationCounter(memInfo)
-CmLteMemInfo *memInfo;
-#endif
+S16 cmClearMemUtilizationCounter(CmLteMemInfo *memInfo)
{
uint8_t idxReg = 0;
uint8_t idxPool = 0;
return ROK;
}
-#ifdef ANSI
-S16 cmClearCpuUtilizationCounter
-(
-CmCpuStatsInfo *cpuInfo
-)
-#else
-S16 cmClearCpuUtilizationCounter(cpuInfo)
-CmCpuStatsInfo *cpuInfo
-#endif
+S16 cmClearCpuUtilizationCounter(CmCpuStatsInfo *cpuInfo)
{
uint8_t idx= 0;
for(idx=0; idx < cpuInfo->numCores; idx++)
return ROK;
}
-#ifdef ANSI
-S16 cmFillCpuUtilizationMeas
-(
-CmLteCpuInfo *cpuMeasInfo,
-CmCpuStatsInfo *cpuInfo
-)
-#else
-S16 cmFillCpuUtilizationMeas(cpuMeasInfo,cpuInfo)
-CmLteCpuInfo *cpuMeasInfo;
-CmCpuStatsInfo *cpuInfo;
-#endif
+S16 cmFillCpuUtilizationMeas(CmLteCpuInfo *cpuMeasInfo,CmCpuStatsInfo *cpuInfo)
{
uint8_t idx= 0;
cpuMeasInfo->numCores = cpuInfo->numCores;
* File: cm_math.c
*
*/
-#ifdef ANSI
-uint32_t cmAbs
-(
-F64 val
-)
-#else
-uint32_t cmAbs(val)
-F64 val;
-#endif
+uint32_t cmAbs(F64 val)
{
#if (defined(SUNOS)|| defined(WIN32)|| defined(WIN2K)|| defined (SS_LINUX))
return ((uint32_t) abs((int) val));/* G++ */
* File: cm_math.c
*
*/
-#ifdef ANSI
-F64 cmPow
-(
-F64 x,
-F64 y
-)
-#else
-F64 cmPow(x, y)
-F64 x;
-F64 y;
-#endif
+F64 cmPow(F64 x,F64 y)
{
#if (defined(SUNOS)|| defined(WIN32)|| defined(WIN2K)|| defined (SS_LINUX))
return ((F64) pow((F64)x, (F64)y));
* File: cm_math.c
*
*/
-#ifdef ANSI
-F64 cmFloor
-(
-F64 x
-)
-#else
-F64 cmFloor(x)
-F64 x;
-#endif
+F64 cmFloor(F64 x)
{
#if (defined(SUNOS)|| defined(WIN32)|| defined(WIN2K)|| defined (SS_LINUX))
return ((F64) floor((F64)x));
* File: cm_math.c
*
*/
-#ifdef ANSI
-F64 cmLog
-(
-F64 x
-)
-#else
-F64 cmLog(x)
-F64 x;
-#endif
+F64 cmLog(F64 x)
{
#if (defined(SUNOS)|| defined(WIN32)|| defined(WIN2K)|| defined (SS_LINUX))
return ((F64) log((F64)x));
* File: cm_math.c
*
*/
-#ifdef ANSI
-F64 cmLog10
-(
-F64 x
-)
-#else
-F64 cmLog10(x)
-F64 x;
-#endif
+F64 cmLog10(F64 x)
{
#if (defined(SUNOS)|| defined(WIN32)|| defined(WIN2K)|| defined (SS_LINUX))
return ((F64) log10((F64)x));
*
*/
-#ifdef ANSI
S16 cmAllocEvnt
(
Size evntSize, /* Size of the Event structure */
Mem *sMem, /* Static memory region and pool */
Ptr *ptr /* Location to place allocated event ptr */
)
-#else
-S16 cmAllocEvnt (evntSize,maxBlkSize,sMem,ptr)
-Size evntSize; /* Size of the Event structure */
-Size maxBlkSize; /* Memory size requested */
-Mem *sMem; /* Static Memory region and pool */
-Ptr *ptr; /* Location to place allocated event ptr */
-#endif
{
Data *allocPtr; /* Allocated Memory Pointer */
*
*/
-#ifdef ANSI
Void cmInitMemCp
(
CmMemListCp *memCp, /* Memory control pointer */
Size maxBlkSize, /* Chunk Memory size */
Mem *sMem /* Static memory region and pool */
)
-#else
-Void cmInitMemCp (memCp,maxBlkSize,sMem)
-CmMemListCp *memCp; /* Memory control pointer */
-Size maxBlkSize; /* Memory size requested */
-Mem *sMem; /* Static Memory region and pool */
-#endif
{
-
/* Intialise Memory Control Point */
CM_INIT_MEMCP(memCp,maxBlkSize,sMem);
*
*/
-#ifdef ANSI
S16 cmGetMem
(
Ptr memPtr, /* Pointer to memCp */
Size size, /* Memory size requested */
Ptr *allocPtr /* location to place pointer */
)
-#else
-S16 cmGetMem (memPtr,size,allocPtr)
-Ptr memPtr; /* Pointer to memCp */
-Size size; /* Memory size requested */
-Ptr *allocPtr; /* location to place pointer */
-#endif
{
CmMemCb *cb; /* Pointer to Memory Control Block */
*
*/
-#ifdef ANSI
S16 cmAllocEvntNoInit
(
Size evntSize, /* Size of the Event structure */
Mem *sMem, /* Static memory region and pool */
Ptr *ptr /* Location to place allocated event ptr */
)
-#else
-S16 cmAllocEvntNoInit (evntSize,maxBlkSize,sMem,ptr)
-Size evntSize; /* Size of the Event structure */
-Size maxBlkSize; /* Memory size requested */
-Mem *sMem; /* Static Memory region and pool */
-Ptr *ptr; /* Location to place allocated event ptr */
-#endif
{
Data *allocPtr; /* Allocated Memory Pointer */
*
*/
-#ifdef ANSI
S16 cmGetMemNoInit
(
Ptr memPtr, /* Pointer to memCp */
Size size, /* Memory size requested */
Ptr *allocPtr /* location to place pointer */
)
-#else
-S16 cmGetMemNoInit (memPtr,size,allocPtr)
-Ptr memPtr; /* Pointer to memCp */
-Size size; /* Memory size requested */
-Ptr *allocPtr; /* location to place pointer */
-#endif
{
CmMemCb *cb; /* Pointer to Memory Control Block */
*
*/
-#ifdef ANSI
Void cmFreeMem
(
Ptr memPtr /* Link List CP */
)
-#else
-Void cmFreeMem (memPtr)
-Ptr memPtr; /* Link List CP */
-#endif
{
Mem sMem; /* Static Memory region and pool */
S32 count; /* Count of linked blocks */
* File: cm_mblk.c
*
*/
-#ifdef ANSI
static Void cmAddMemNode
(
CmMemListCp *lCp, /* list control point */
CmMemList *node /* node to be added */
)
-#else
-static Void cmAddMemNode (lCp, node)
-CmMemListCp *lCp; /* list control point */
-CmMemList *node; /* node to be added */
-#endif
{
lCp->count++;
*
*/
-#ifdef ANSI
Void cmGetMemStatus
(
Ptr memPtr, /* Memory control pointer */
CmMemStatus *status /* memory region,pool and status */
)
-#else
-Void cmGetMemStatus (memPtr,status)
-Ptr memPtr; /* Memory control pointer */
-CmMemStatus *status; /* memory region,pool and status */
-#endif
{
CmMemListCp *memCp; /* Memory Link List */
* File: cm_mem.c
*
*/
-#ifdef ANSI
-S16 cmMmRegInit
-(
-Region region,
-CmMmRegCb *regCb,
-CmMmRegCfg *cfg
-)
-#else
-S16 cmMmRegInit(region, regCb, cfg)
-Region region;
-CmMmRegCb *regCb;
-CmMmRegCfg *cfg;
-#endif
+S16 cmMmRegInit(Region region,CmMmRegCb *regCb,CmMmRegCfg *cfg)
{
Data *memAddr;
- uint16_t bktIdx;
- uint16_t lstMapIdx;
+ uint16_t bktIdx;
+ uint16_t lstMapIdx;
#if (ERRCLASS & ERRCLS_INT_PAR)
Size lstQnSize;
* File: cm_mem.c
*
*/
-#ifdef ANSI
-S16 cmMmRegDeInit
-(
-CmMmRegCb *regCb
-)
-#else
-S16 cmMmRegDeInit(regCb)
-CmMmRegCb *regCb;
-#endif
+S16 cmMmRegDeInit(CmMmRegCb *regCb)
{
uint16_t bktIdx;
/* cm_mem_c_001.main_15 : Additions */
#ifdef SS_HISTOGRAM_SUPPORT
#ifdef SSI_DEBUG_LEVEL1
-#ifdef ANSI
static S16 cmAlloc
(
-Void *regionCb,
-Size *size,
+Void *regionCb,
+Size *size,
uint32_t flags,
-Data **ptr,
+Data **ptr,
uint32_t memType,
uint32_t line,
uint8_t *fileName,
uint8_t entId,
-Bool hstReg
+Bool hstReg
)
#else
-static S16 cmAlloc(regionCb, size, flags, ptr, memType, line, fileName, entId, hstReg)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-uint32_t memType;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
-#else
-#ifdef ANSI
static S16 cmAlloc
(
-Void *regionCb,
-Size *size,
+Void *regionCb,
+Size *size,
uint32_t flags,
-Data **ptr,
+Data **ptr,
uint32_t line,
-uint8_t *fileName,
+uint8_t *fileName,
uint8_t entId,
-Bool hstReg
+Bool hstReg
)
-#else
-static S16 cmAlloc(regionCb, size, flags, ptr, line, fileName, entId, hstReg)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
#endif /* SSI_DEBUG_LEVEL1 */
#else
#ifdef SS_LIGHT_MEM_LEAK_STS
-#ifdef ANSI
static S16 cmAlloc
(
-Void *regionCb,
-Size *size,
+Void *regionCb,
+Size *size,
uint32_t flags,
-Data **ptr,
+Data **ptr,
uint32_t memType,
uint32_t lineNo,
-uint8_t *funcName
+uint8_t *funcName
)
-#else
-static S16 cmAlloc(regionCb, size, flags, ptr ,memType, lineNo, funcName)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-uint32_t memType;
-uint32_t lineNo;
-uint8_t *funcName;
-#endif
#else /*SS_LIGHT_MEM_LEAK_STS */
#ifdef SSI_DEBUG_LEVEL1
-#ifdef ANSI
static S16 cmAlloc
(
-Void *regionCb,
-Size *size,
+Void *regionCb,
+Size *size,
uint32_t flags,
-Data **ptr,
+Data **ptr,
uint32_t memType
)
#else
-static S16 cmAlloc(regionCb, size, flags, ptr, memType)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-uint32_t memType;
-#endif
-#else
#ifdef BRDCM_SSI_MEM_LEAK_DEBUG_LEVEL1
-#ifdef ANSI
static S16 cmAlloc
(
-Void *regionCb,
-Size *size,
+Void *regionCb,
+Size *size,
uint32_t flags,
-Data **ptr,
+Data **ptr,
uint32_t memType
)
#else
-static S16 cmAlloc(regionCb, size, flags, ptr, memType)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-uint32_t memType;
-#endif
-#else
#ifdef T2K_MEM_LEAK_DBG
static S16 cmAlloc
(
- Void *regionCb,
- Size *size,
+ Void *regionCb,
+ Size *size,
uint32_t flags,
- Data **ptr ,
- char* file,
- uint32_t line
+ Data **ptr,
+ char* file,
+ uint32_t line
)
#else
-#ifdef ANSI
static S16 cmAlloc
(
-Void *regionCb,
-Size *size,
+Void *regionCb,
+Size *size,
uint32_t flags,
-Data **ptr
+Data **ptr
)
-#else
-static S16 cmAlloc(regionCb, size, flags, ptr)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-#endif
#endif
#endif /* BRDCM_SSI_MEM_LEAK_DEBUG_LEVEL1 */
#endif /* SSI_DEBUG_LEVEL1 */
{
/* cm_mem_c_001.main_26 : Fixes for Compilation Warnings */
#ifndef USE_PURE
- uint16_t idx;
+ uint16_t idx;
CmMmBkt *bkt;
#endif
CmMmRegCb *regCb;
/* cm_mem_c_001.main_15 : Additions */
#ifdef SS_LIGHT_MEM_LEAK_STS
-#ifdef ANSI
static S16 cmFree
(
-Void *regionCb,
-Data *ptr,
-Size size,
-uint32_t lineNo,
-uint8_t *funcName
+Void *regionCb,
+Data *ptr,
+Size size,
+uint32_t lineNo,
+uint8_t *funcName
)
-#else
-static S16 cmFree(regionCb, ptr, size, lineNo, funcName)
-Void *regionCb;
-Data *ptr;
-Size size;
-uint32_t lineNo;
-uint8_t *funcName;
-#endif
#else /*SS_LIGHT_MEM_LEAK_STS */
#ifdef SS_HISTOGRAM_SUPPORT
-#ifdef ANSI
static S16 cmFree
(
-Void *regionCb,
-Data *ptr,
-Size size,
-uint32_t line,
-uint8_t *fileName,
-uint8_t entId,
-Bool hstReg
+Void *regionCb,
+Data *ptr,
+Size size,
+uint32_t line,
+uint8_t *fileName,
+uint8_t entId,
+Bool hstReg
)
-#else
-static S16 cmFree(regionCb, ptr, size, line, fileName, entId, hstReg)
-Void *regionCb;
-Data *ptr;
-Size size;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
#else
#ifdef T2K_MEM_LEAK_DBG
static S16 cmFree
(
- Void *regionCb,
- Data *ptr,
- Size size,
- char* file,
- uint32_t line
+Void *regionCb,
+Data *ptr,
+Size size,
+char* file,
+uint32_t line
)
#else /* T2K_MEM_LEAK_DBG */
-#ifdef ANSI
static S16 cmFree
(
Void *regionCb,
Data *ptr,
Size size
)
-#else
-static S16 cmFree(regionCb, ptr, size)
-Void *regionCb;
-Data *ptr;
-Size size;
-#endif
#endif
/* cm_mem_c_001.main_15 : Additions */
#endif /* SS_HISTOGRAM_SUPPORT */
/* cm_mem_c_001.main_15 : Additions */
#ifdef SS_HISTOGRAM_SUPPORT
#ifdef SSI_DEBUG_LEVEL1
-#ifdef ANSI
S16 cmAllocNL
(
Void *regionCb,
Size *size,
-uint32_t flags,
+uint32_t flags,
Data **ptr,
-uint32_t memType,
-uint32_t line,
-uint8_t *fileName,
-uint8_t entId,
+uint32_t memType,
+uint32_t line,
+uint8_t *fileName,
+uint8_t entId,
Bool hstReg
)
#else
-S16 cmAllocNL(regionCb, size, flags, ptr, memType,
- line, fileName, entId, hstReg)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-uint32_t memType;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
-#else
-#ifdef ANSI
S16 cmAllocNL
(
Void *regionCb,
Size *size,
-uint32_t flags,
+uint32_t flags,
Data **ptr,
-uint32_t line,
-uint8_t *fileName,
-uint8_t entId,
+uint32_t line,
+uint8_t *fileName,
+uint8_t entId,
Bool hstReg
)
-#else
-S16 cmAllocNL(regionCb, size, flags, ptr, line,
- fileName, entId, hstReg)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
#endif /* SSI_DEBUG_LEVEL1 */
#else
#ifdef SS_LIGHT_MEM_LEAK_STS
-#ifdef ANSI
S16 cmAllocNL
(
Void *regionCb,
uint32_t lineNo,
uint8_t *funcName
)
-#else
-S16 cmAllocNL(regionCb, size, flags, ptr ,memType, lineNo, funcName)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-uint32_t memType;
-uint32_t lineNo;
-uint8_t *funcName;
-#endif
#else /*SS_LIGHT_MEM_LEAK_STS */
#ifdef SSI_DEBUG_LEVEL1
-#ifdef ANSI
S16 cmAllocNL
(
Void *regionCb,
Size *size,
-uint32_t flags,
+uint32_t flags,
Data **ptr,
-uint32_t memType
+uint32_t memType
)
#else
-S16 cmAllocNL(regionCb, size, flags, ptr, memType)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-uint32_t memType;
-#endif
-#else
#ifdef BRDCM_SSI_MEM_LEAK_DEBUG_LEVEL1
-#ifdef ANSI
S16 cmAllocNL
(
Void *regionCb,
uint32_t memType
)
#else
-S16 cmAllocNL(regionCb, size, flags, ptr, memType)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-uint32_t memType;
-#endif
-#else
-#ifdef ANSI
S16 cmAllocNL
(
Void *regionCb,
uint32_t flags,
Data **ptr
)
-#else
-S16 cmAllocNL(regionCb, size, flags, ptr)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-#endif
#endif /* BRDCM_SSI_MEM_LEAK_DEBUG_LEVEL1 */
#endif /* SSI_DEBUG_LEVEL1 */
/* cm_mem_c_001.main_15: Additions */
/* cm_mem_c_001.main_15 : Additions */
#ifdef SS_LIGHT_MEM_LEAK_STS
-#ifdef ANSI
S16 cmFreeNL
(
Void *regionCb,
uint32_t lineNo,
uint8_t *funcName
)
-#else
-S16 cmFreeNL(regionCb, ptr, size, lineNo, funcName)
-Void *regionCb;
-Data *ptr;
-Size size;
-uint32_t lineNo;
-uint8_t *funcName;
-#endif
#else /*SS_LIGHT_MEM_LEAK_STS */
#ifdef SS_HISTOGRAM_SUPPORT
-#ifdef ANSI
S16 cmFreeNL
(
Void *regionCb,
uint8_t entId,
Bool hstReg
)
-#else
-S16 cmFreeNL(regionCb, ptr, size, line, fileName, entId, hstReg)
-Void *regionCb;
-Data *ptr;
-Size size;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
-
#else
-#ifdef ANSI
S16 cmFreeNL
(
Void *regionCb,
Data *ptr,
Size size
)
-#else
-S16 cmFreeNL(regionCb, ptr, size)
-Void *regionCb;
-Data *ptr;
-Size size;
-#endif
/* cm_mem_c_001.main_15 : Additions */
#endif /* SS_HISTOGRAM_SUPPORT */
#endif /*SS_LIGHT_MEM_LEAK_STS */
/*cm_mem_c_001.main_21-added new function*/
/*cm_mem_c_001.main_23 Removed support of SSI_DEBUG_LEVEL1 and SS_HISTOGRAM_SUPPORT for SS_FAP*/
#ifdef SS_FAP
-#ifdef ANSI
static S16 cmAllocWL
(
Void *regionCb,
Size *size,
-uint32_t flags,
+uint32_t flags,
Data **ptr
)
-#else
-static S16 cmAllocWL(regionCb, size, flags, ptr)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-#endif
{
- uint16_t idx;
+ uint16_t idx;
CmMmBkt *bkt;
CmMmRegCb *regCb;
/*cm_mem_c_001.main_23 Removed support of SSI_DEBUG_LEVEL1 and SS_HISTOGRAM_SUPPORT for SS_FAP*/
*
*/
-#ifdef ANSI
-static S16 cmFreeWL
-(
-Void *regionCb,
-Data *ptr,
-Size size
-)
-#else
-static S16 cmFreeWL(regionCb, ptr, size)
-Void *regionCb;
-Data *ptr;
-Size size;
-#endif
+static S16 cmFreeWL(Void *regionCb,Data *ptr, Size size)
{
- uint16_t idx;
+ uint16_t idx;
CmMmBkt *bkt;
CmMmRegCb *regCb;
/*cm_mem_c_001.main_23 Removed support of SSI_DEBUG_LEVEL1 and SS_HISTOGRAM_SUPPORT for SS_FAP*/
*
*/
-#ifdef ANSI
-static S16 cmCtl
-(
-Void *regionCb,
-Event event,
-SMemCtl *memCtl
-)
-#else
-static S16 cmCtl(regionCb, event, memCtl)
-Void *regionCb;
-Event event;
-SMemCtl *memCtl;
-#endif
+static S16 cmCtl(Void *regionCb,Event event, SMemCtl *memCtl)
{
CmMmRegCb *regCb;
* File: cm_mem.c
*
*/
-#ifdef ANSI
static Void cmMmBktInit
(
-Data **memAddr,
+Data **memAddr,
CmMmRegCb *regCb,
CmMmRegCfg *cfg,
-uint16_t bktIdx,
-uint16_t *lstMapIdx
+uint16_t bktIdx,
+uint16_t *lstMapIdx
)
-#else
-static Void cmMmBktInit (memAddr, regCb, cfg, bktIdx, lstMapIdx)
-Data **memAddr;
-CmMmRegCb *regCb;
-CmMmRegCfg *cfg;
-uint16_t bktIdx;
-uint16_t *lstMapIdx;
-#endif
{
uint32_t cnt;
uint16_t idx;
* File: cm_mem.c
*
*/
-#ifdef ANSI
-static Void cmMmHeapInit
-(
-Data *memAddr,
-CmMmHeapCb *heapCb,
-Size size
-)
-#else
-static Void cmMmHeapInit (memAddr, heapCb, size)
-Data *memAddr;
-CmMmHeapCb *heapCb;
-Size size;
-#endif
+static Void cmMmHeapInit(Data *memAddr,CmMmHeapCb *heapCb,Size size)
{
/* cm_mem_c_001.main_12 - addition for ssi enhancements */
#ifdef SSI_DEBUG_LEVEL1
#endif
#ifdef SS_HISTOGRAM_SUPPORT
#ifdef SSI_DEBUG_LEVEL1
-#ifdef ANSI
static S16 cmHeapAlloc
(
CmMmHeapCb *heapCb,
Bool hstReg
)
#else
-static S16 cmHeapAlloc (heapCb, ptr, size, memType, line, fileName, entId, hstReg)
-CmMmHeapCb *heapCb;
-Data **ptr;
-Size *size;
-uint32_t memType;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
-#else
-#ifdef ANSI
static S16 cmHeapAlloc
(
CmMmHeapCb *heapCb,
uint8_t entId,
Bool hstReg
)
-#else
-static S16 cmHeapAlloc (heapCb, ptr, size, line, fileName, entId, hstReg)
-CmMmHeapCb *heapCb;
-Data **ptr;
-Size *size;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
#endif /* SSI_DEBUG_LEVEL1 */
#else
#ifdef SSI_DEBUG_LEVEL1
-#ifdef ANSI
static S16 cmHeapAlloc
(
CmMmHeapCb *heapCb,
uint32_t memType
)
#else
-static S16 cmHeapAlloc (heapCb, ptr, size, memType)
-CmMmHeapCb *heapCb;
-Data **ptr;
-Size *size;
-uint32_t memType;
-#endif
-#else
-#ifdef ANSI
static S16 cmHeapAlloc
(
CmMmHeapCb *heapCb,
Data **ptr,
Size *size
)
-#else
-static S16 cmHeapAlloc (heapCb, ptr, size)
-CmMmHeapCb *heapCb;
-Data **ptr;
-Size *size;
-#endif
#endif /* SSI_DEBUG_LEVEL1 */
/* cm_mem_c_001.main_15 : Additions */
#endif /* SS_HISTOGRAM_SUPPORT */
*/
/* cm_mem_c_001.main_15 : Additions */
#ifdef SS_HISTOGRAM_SUPPORT
-#ifdef ANSI
static S16 cmHeapFree
(
CmMmHeapCb *heapCb,
Bool hstReg
)
#else
-static S16 cmHeapFree (heapCb, ptr, size, line, fileName, entId, hstReg)
-CmMmHeapCb *heapCb;
-Data *ptr;
-Size size;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
-#else
-#ifdef ANSI
static S16 cmHeapFree
(
CmMmHeapCb *heapCb,
Data *ptr,
Size size
)
-#else
-static S16 cmHeapFree (heapCb, ptr, size)
-CmMmHeapCb *heapCb;
-Data *ptr;
-Size size;
-#endif
/* cm_mem_c_001.main_15 : Additions */
#endif /* SS_HISTOGRAM_SUPPORT */
{
} /* end of cmHeapFree */
#endif/*USE_PURE*/
#ifdef SS_LIGHT_MEM_LEAK_STS
-#ifdef ANSI
-uint32_t cmGetFreeIndx
-(
-Void
-)
-#else
uint32_t cmGetFreeIndx(Void)
-#endif
{
if(gmemLkCb.head == gmemLkCb.tail)
}
}
-#ifdef ANSI
-uint32_t cmPutFreeIndx
-(
-uint32_t allocQIndx
-)
-#else
-uint32_t cmPutFreeIndx(allocQIndx)
-uint32_t allocQIndx;
-#endif
-
+uint32_t cmPutFreeIndx(uint32_t allocQIndx)
{
uint32_t tmpTail = (gmemLkCb.tail+1)% CM_MAX_ALLOC_ENTERIES;
if(tmpTail == gmemLkCb.head)
* File: cm_mem.c
*
*/
-#ifdef ANSI
-Void cmInitMemLeak
-(
-Void
-)
-#else
Void cmInitMemLeak (Void)
-#endif
{
uint32_t indx;
* File: cm_mem.c
*
**/
-#ifdef ANSI
-Void cmDeinitMemLeak
-(
-Void
-)
-#else
-Void cmDeinitMemLeak (Void)
-#endif
+Void cmDeinitMemLeak(Void)
{
uint32_t indx;
* File: cm_mem.c
*
*/
-#ifdef ANSI
-uint32_t cmStorAllocBlk
-(
-Void *addr
-)
-#else
-uint32_t cmStorAllocBlk (addr)
-Void *addr;
-#endif /* ANSI */
-
+uint32_t cmStorAllocBlk(Void *addr)
{
uint32_t allocQIndx;
* File: cm_mem.c
*
*/
-#ifdef ANSI
-Void cmRlsAllocBlk
-(
-uint32_t allocQIndx
-)
-#else
-Void cmRlsAllocBlk(allocQIndx)
-uint32_t allocQIndx;
-#endif
+Void cmRlsAllocBlk(uint32_t allocQIndx)
{
if(allocQIndx < CM_MAX_ALLOC_ENTERIES)
* File: cm_mem.c
*
*/
-#ifdef ANSI
-Void cmStartStopLeakLog
-(
-Void
-)
-#else
Void cmStartStopLeakLog(Void)
-#endif
{
if (FALSE == gmemLkCb.isStarted)
{
* File: cm_mem.c
*
*/
-#ifdef ANSI
-Void cmPrintLeakLog
-(
-Void
-)
-#else
Void cmPrintLeakLog(Void)
-#endif
{
uint32_t indx;
*
*/
#ifdef BRDCM_SSI_MEM_LEAK_DEBUG_LEVEL2
-#ifdef ANSI
Void cmRlsAllocBlk
(
CmMmBlkHdr *ptrHdr,
CmMmRegCb *regCb
)
#else
-Void cmRlsAllocBlk(ptrHdr, regCb)
-CmMmBlkHdr *ptrHdr;
-CmMmRegCb *regCb;
-#endif
-#else
-#ifdef ANSI
Void cmRlsAllocBlk
(
#ifdef BIT_64
uint32_t addr
#endif
)
-#else
-Void cmRlsAllocBlk(addr)
-#ifdef BIT_64
-uint64_t addr;
-#else
-uint32_t addr;
-#endif
-#endif
#endif
{
Ptr trace[CM_MAX_STACK_TRACE];
S8 **funcNm;
- uint8_t idx;
- uint8_t i;
+ uint8_t idx;
+ uint8_t i;
S16 retVal;
S32 traceSize;
#ifndef BRDCM_SSI_MEM_LEAK_DEBUG_LEVEL2
*
*/
#ifdef BRDCM_SSI_MEM_LEAK_DEBUG_LEVEL2
-#ifdef ANSI
Void cmStorAllocBlk
(
CmMmBlkHdr *ptrHdr,
CmMmRegCb *regCb
)
#else
-Void cmStorAllocBlk (ptrHdr, reqSz, allocSz, bktIdx, regCb)
-CmMmBlkHdr *ptrHdr;
-Size reqSz;
-Size allocSz;
-uint16_t bktIdx;
-CmMmRegCb *regCb;
-#endif
-#else
-#ifdef ANSI
Void cmStorAllocBlk
(
#ifdef BIT_64
Size allocSz,
uint16_t bktIdx
)
-#else
-Void cmStorAllocBlk (addr, reqSz, allocSz, bktIdx)
-#ifdef BIT_64
-uint64_t addr;
-#else
-uint32_t addr;
-#endif
-Size reqSz;
-Size allocSz;
-uint16_t bktIdx;
-#endif /* ANSI */
#endif /* BRDCM_SSI_MEM_LEAK_DEBUG_LEVEL1 */
{
#ifndef SS_MEM_LEAK_SOL
* File: cm_mem.c
*
*/
-#ifdef ANSI
-Void SLogLkInfo
-(
-Void
-)
-#else
Void SLogLkInfo (Void)
-#endif
{
#ifdef BRDCM_SSI_MEM_LEAK_DEBUG_LEVEL2
uint8_t idx;
* File: cm_mem.c
*
*/
-#ifdef ANSI
-Void cmInitMemLeakMdl
-(
-Void
-)
-#else
Void cmInitMemLeakMdl (Void)
-#endif
{
uint8_t memMdl;
- uint8_t hashIdx;
+ uint8_t hashIdx;
memLkCb.memLkMdlInit = FALSE;
* File: cm_mem.c
*
**/
-#ifdef ANSI
-Void cmDeinitMemLeakMdl
-(
-Void
-)
-#else
Void cmDeinitMemLeakMdl (Void)
-#endif
{
uint8_t memMdl;
uint8_t hashIdx;
* File: cm_mem.c
*
*/
-#ifdef ANSI
-Void cmMemOpenMemLkFile
-(
-S8 *arg
-)
-#else
-Void cmMemOpenMemLkFile (arg)
-S8 *msOptArg;
-#endif
+Void cmMemOpenMemLkFile(S8 *arg)
{
memLkCb.fileLkLog = NULLP;
memLkCb.fileLkLog = fopen(arg, "w");
* File: cm_mem.c
*
*/
-#ifdef ANSI
-Void SFlushLkInfo
-(
-Void
-)
-#else
Void SFlushLkInfo (Void)
-#endif
{
- MemAllocInfo *newMemInfo;
- uint8_t memMdl;
- uint8_t hashIdx;
- S8 **funcNm;
+ MemAllocInfo *newMemInfo;
+ uint8_t memMdl;
+ uint8_t hashIdx;
+ S8 **funcNm;
#ifdef SS_MEM_LEAK_SOL
uint8_t i;
#endif /* SS_MEM_LEAK_SOL */
* File: cm_mem.c
*
*/
-#ifdef ANSI
-uint8_t cmMemGetModuleId
-(
-S8 **funNm,
-S32 traceSize
-)
-#else
-uint8_t cmMemGetModuleId (funNm, traceSize)
-S8 **funNm;
-S32 traceSize;
-#endif /* ANSI */
+uint8_t cmMemGetModuleId(S8 **funNm,S32 traceSize)
{
- uint8_t idx;
- uint8_t memStrIdx;
- uint32_t len;
+ uint8_t idx;
+ uint8_t memStrIdx;
+ uint32_t len;
S32 retVal;
S16 memReqIdx;
S16 mdlFunStrIdx;
* File: cm_mem.c
*
*/
-#ifdef ANSI
S16 cmMemGetStrMtchIdx
(
uint8_t strtIdx,
S8 *str,
S8 **strLst
)
-#else
-S16 cmMemGetStrMtchIdx(strtIdx, endIdx, str, strLst)
-uint8_t strtIdx;
-uint8_t endIdx;
-S8 *str;
-S8 **strLst;
-#endif
{
S8 cmpStr[255];
* File: cm_mem.c
*
*/
-#ifdef ANSI
-S32 cmAddrToSymStr
-(
-Void *pc,
-S8 *buffer,
-S32 size
-)
-#else
-S32 cmAddrToSymStr(pc, buffer, size)
-Void *pc;
-S8 *buffer;
-S32 size;
-#endif
+S32 cmAddrToSymStr(Void *pc, S8 *buffer, S32 size)
{
Dl_info info;
* File: cm_mem.c
*
*/
-#ifdef ANSI
-S32 cmLeakCallBack
-(
-uintptr_t pc,
-S32 sigNo,
-Void *arg
-)
-#else
-S32 cmLeakCallBack(pc, sigNo, arg)
-uintptr_t pc;
-S32 sigNo;
-Void *arg;
-#endif
+S32 cmLeakCallBack(uintptr_t pc,S32 sigNo, Void *arg)
{
S8 *buffer;
*
*/
#ifdef BRDCM_SSI_MEM_LEAK_DEBUG_LEVEL1
-#ifdef ANSI
-S16 cmMmRegIsBlkSane
-(
-CmMmBlkHdr *blkPtr,
-Size size
-)
-#else
-S16 cmMmRegIsBlkSane(blkPtr, size)
-CmMmBlkHdr *blkPtr;
-Size size;
-#endif
+S16 cmMmRegIsBlkSane(CmMmBlkHdr *blkPtr,Size size)
#else
-#ifdef ANSI
-S16 cmMmRegIsBlkSane
-(
-CmMmBlkHdr *blkPtr
-)
-#else
-S16 cmMmRegIsBlkSane(blkPtr)
-CmMmBlkHdr *blkPtr;
-#endif
+S16 cmMmRegIsBlkSane(CmMmBlkHdr *blkPtr)
#endif
{
uint32_t sigCnt;
* File: cm_mem.c
*
*/
-#ifdef ANSI
-static S16 cmMmBktSanityChk
-(
-CmMmBkt *bkt
-)
-#else
-static S16 cmMmBktSanityChk(bkt)
-CmMmBkt *bkt;
-#endif
+static S16 cmMmBktSanityChk(CmMmBkt *bkt)
{
CmMmBlkHdr *ptrBlk;
uint32_t blkCnt;
* File: cm_mem.c
*
*/
-#ifdef ANSI
-static S16 cmMmHeapSanityChk
-(
-CmMmHeapCb *heapCb
-)
-#else
-static S16 cmMmHeapSanityChk(heapCb)
-CmMmHeapCb *heapCb;
-#endif
+static S16 cmMmHeapSanityChk(CmMmHeapCb *heapCb)
{
-
/* increment the trample count */
heapCb->trampleCount++;
* File: cm_mem.c
*
*/
-#ifdef ANSI
-static S16 cmMmHashFunc
-(
-CmMmHashListCp *hashListCp,
-uint32_t key,
-uint16_t *idx
-)
-#else
-static S16 cmMmHashFunc (hashListCp, key, idx)
-CmMmHashListCp *hashListCp; /* hash list control point */
-uint32_t key; /* key string */
-uint16_t *idx; /* idx to return */
-#endif
+static S16 cmMmHashFunc(CmMmHashListCp *hashListCp,uint32_t key,uint16_t *idx)
{
*idx = (uint16_t)(key % hashListCp->numOfbins);
* File: cm_mem.c
*
*/
-#ifdef ANSI
static S16 cmMmHashListInit
(
CmMmHashListCp *hashListCp, /* hash list to initialize */
-uint16_t nmbBins, /* number of hash list bins */
+uint16_t nmbBins, /* number of hash list bins */
Region region, /* memory region to allocate bins */
Pool pool /* memory pool to allocate bins */
)
-#else
-static S16 cmMmHashListInit(hashListCp, nmbBins, region, pool)
-CmMmHashListCp *hashListCp; /* hash list to initialize */
-uint16_t nmbBins; /* number of hash list bins */
-Region region; /* memory region to allocate bins */
-Pool pool; /* memory pool to allocate bins */
-#endif
{
uint16_t i;
CmMmHashListEnt *hl;
* File: cm_mem.c
*
*/
-#ifdef ANSI
static S16 cmMmHashListDeinit
(
CmMmHashListCp *hashListCp, /* hash list to deinitialize */
-Region region, /* memory region to allocate bins */
-Pool pool /* memory pool to allocate bins */
+Region region, /* memory region to allocate bins */
+Pool pool /* memory pool to allocate bins */
)
-#else
-static S16 cmMmHashListDeinit(hashListCp, region, pool)
-CmMmHashListCp *hashListCp; /* hash list to deinitialize */
-Region region; /* memory region to allocate bins */
-Pool pool; /* memory pool to allocate bins */
-#endif
{
/* deallocate memory for bins */
* File: cm_mem.c
*
*/
-#ifdef ANSI
static S16 cmMmHashListInsert
(
CmMmHashListCp *hashListCp, /* hash list to add to */
-uint32_t key /* pointer to key */
+uint32_t key /* pointer to key */
)
-#else
-static S16 cmMmHashListInsert(hashListCp, key)
-CmMmHashListCp *hashListCp; /* hash list to add to */
-uint32_t key; /* pointer to key */
-#endif
{
CmMmHashListEnt *hashListEnt; /* pointer to hash list entry header */
uint16_t idx; /* index for insertion into hash list */
* File: cm_mem.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmHashListInit
(
CmHstGrmHashListCp *hashListCp /* hash list to initialize */
)
-#else
-static S16 cmHstGrmHashListInit(hashListCp)
-CmHstGrmHashListCp *hashListCp; /* hash list to initialize */
-#endif
{
/*cm_mem_c_001.main_25 : Fix for TRACE5 feature crash due to missing TRC MACRO*/
#ifdef DEBUGP
* File: cm_mem.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmHashListDeInit
(
CmHstGrmHashListCp *hashListCp /* hash list to initialize */
)
-#else
-static S16 cmHstGrmHashListDeInit(hashListCp)
-CmHstGrmHashListCp *hashListCp; /* hash list to initialize */
-#endif
{
/*cm_mem_c_001.main_25 : Fix for TRACE5 feature crash due to missing TRC MACRO*/
#ifdef DEBUGP
* File: cm_mem.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmFreeInsert
(
CmHstGrmHashListCp* hashListCp, /* hash list cp */
-uint32_t blkSz, /* size of the block freed */
-uint32_t line, /* Line number */
-uint8_t *fileName, /* file name */
-uint8_t entId /* Tapa task which free the memory */
+uint32_t blkSz, /* size of the block freed */
+uint32_t line, /* Line number */
+uint8_t *fileName, /* file name */
+uint8_t entId /* Tapa task which free the memory */
)
-#else
-static S16 cmHstGrmFreeInsert(hashListCp, blkSz, line, fileName, entId)
-CmHstGrmHashListCp* hashListCp; /* hash list cp */
-uint32_t blkSz; /* size of the block freed */
-uint32_t line; /* line number */
-uint8_t *fileName; /* file Name */
-uint8_t entId; /* Tapa task which frees the memory */
-#endif
{
- uint32_t binIdx = 0; /* Bin index to insert the entry into the hash list */
- uint32_t key = 0; /* Key to fine the bin index */
- uint32_t ret = 0; /* Return value */
- CmMemEntries *entry = NULLP; /* Entry which contains the information */
+ uint32_t binIdx = 0; /* Bin index to insert the entry into the hash list */
+ uint32_t key = 0; /* Key to fine the bin index */
+ uint32_t ret = 0; /* Return value */
+ CmMemEntries *entry = NULLP; /* Entry which contains the information */
* File: cm_mem.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmAllocInsert
(
CmHstGrmHashListCp *hashListCp,
-uint32_t blkSz,
-uint32_t *reqSz,
-uint32_t line,
-uint8_t *fileName,
-uint8_t entId
+uint32_t blkSz,
+uint32_t *reqSz,
+uint32_t line,
+uint8_t *fileName,
+uint8_t entId
)
-#else
-static S16 cmHstGrmAllocInsert(hashListCp, blkSz, reqSz, line, fileName, entId)
-CmHstGrmHashListCp *hashListCp;
-uint32_t blkSz;
-uint32_t *reqSz;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-#endif
{
- uint32_t binIdx = 0;
- uint32_t key = 0;
- uint32_t ret = 0;
- CmMemEntries *entry = NULLP;
+ uint32_t binIdx = 0;
+ uint32_t key = 0;
+ uint32_t ret = 0;
+ CmMemEntries *entry = NULLP;
/* check for the total number of entries in the hash list. *
* File: cm_mem.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmGetHashIdxAndKey
(
-uint8_t *fileName,
-uint32_t line,
-uint32_t *binIdx,
-uint32_t *key
+uint8_t *fileName,
+uint32_t line,
+uint32_t *binIdx,
+uint32_t *key
)
-#else
-static S16 cmHstGrmGetHashIdxAndKey(fileName, line, binIdx, key)
-uint8_t *fileName;
-uint32_t line;
-uint32_t *binIdx;
-uint32_t *key;
-#endif
{
uint32_t i = 0;
* File: cm_mem.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmFillEntry
(
-CmMemEntries *entry,
-uint32_t key,
-uint32_t line,
-uint8_t *fileName,
-uint8_t entId
+CmMemEntries *entry,
+uint32_t key,
+uint32_t line,
+uint8_t *fileName,
+uint8_t entId
)
-#else
-static S16 cmHstGrmFillEntry(entry, key, line, fileName, entId)
-CmMemEntries *entry;
-uint32_t key;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-#endif
{
uint32_t idx = 0;
* File: cm_mem.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmFindEntry
(
CmHstGrmHashListCp *hashListCp,
-uint32_t key,
-uint32_t *binIdx,
-CmMemEntries **entry
+uint32_t key,
+uint32_t *binIdx,
+CmMemEntries **entry
)
-#else
-static S16 cmHstGrmFindEntry(hashListCp, key, binIdx, entry)
-CmHstGrmHashListCp *hashListCp;
-uint32_t key;
-uint32_t *binIdx;
-CmMemEntries **entry;
-#endif
{
- uint32_t numEnt = 0;
- uint32_t numBin = 0;
+ uint32_t numEnt = 0;
+ uint32_t numBin = 0;
CmHstGrmHashListEnt *tmpBin = NULLP;
for(numBin = 0; numBin < CMM_HIST_MAX_MEM_BIN; numBin++)
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static Void cmMmStatBktInit
(
Data **memAddr,
uint16_t bktIdx,
uint16_t *lstMapIdx
)
-#else
-static Void cmMmStatBktInit (memAddr, regCb, cfg, bktIdx, lstMapIdx)
-Data **memAddr;
-CmMmRegCb *regCb;
-CmMmRegCfg *cfg;
-uint16_t bktIdx;
-uint16_t *lstMapIdx;
-#endif
{
uint32_t cnt;
uint16_t idx;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
S16 cmMmStatRegInit
(
Region region,
CmMmRegCb *regCb,
CmMmRegCfg *cfg
)
-#else
-S16 cmMmStatRegInit(region, regCb, cfg)
-Region region;
-CmMmRegCb *regCb;
-CmMmRegCfg *cfg;
-#endif
{
Data *memAddr;
uint16_t bktIdx;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
S16 cmMmGlobRegInit
(
CmMmGlobRegCb *regCb
)
-#else
-S16 cmMmGlobRegInit(regCb)
-CmMmGlobRegCb *regCb;
-#endif
{
Data **memAddr;
Data **next;
*
*/
#ifdef T2K_MEM_LEAK_DBG
-#ifdef ANSI
static S16 cmIccAllocWithLock
(
Void *regionCb, /* Pointer to a region */
char *file,
uint32_t line
)
-#endif
#else
-#ifdef ANSI
static S16 cmIccAllocWithLock
(
Void *regionCb, /* Pointer to a region */
uint32_t flags, /* Flags used */
Data **ptr /* Reference to pointer for which need to be allocate */
)
-#else
-static S16 cmIccAllocWithLock(regionCb, size, flags, ptr)
-Void *regionCb; /* Pointer to a region */
-Size *size; /* size needs to be allocated */
-uint32_t flags; /* Flags used */
-Data **ptr; /* Reference to pointer for which need to be allocate */
-#endif
#endif
{
CmMmDynRegCb *regCb;
*
*/
#ifdef T2K_MEM_LEAK_DBG
-#ifdef ANSI
static S16 cmIccFreeWithLock
(
Void *regionCb, /* Pointer to region cb */
char *file,
uint32_t line
)
-#endif
#else
-#ifdef ANSI
static S16 cmIccFreeWithLock
(
Void *regionCb, /* Pointer to region cb */
Data *ptr, /* Memory block needs to be freed */
Size size /* Size of the block */
)
-#else
-static S16 cmIccFreeWithLock(regionCb, ptr, size)
-Void *regionCb; /* Pointer to region cb */
-Data *ptr; /* Memory block needs to be freed */
-Size size; /* Size of the block */
-#endif
#endif
{
CmMmDynRegCb *regCb;
*
*/
#ifdef T2K_MEM_LEAK_DBG
-#ifdef ANSI
static S16 cmIccAlloc
(
Void *regionCb, /* Pointer to a region */
uint32_t line
)
#else
-#endif
-#else
-#ifdef ANSI
static S16 cmIccAlloc
(
Void *regionCb, /* Pointer to a region */
uint32_t flags, /* Flags used */
Data **ptr /* Reference to pointer for which need to be allocate */
)
-#else
-static S16 cmIccAlloc(regionCb, size, flags, ptr)
-Void *regionCb; /* Pointer to a region */
-Size *size; /* size needs to be allocated */
-uint32_t flags; /* Flags used */
-Data **ptr; /* Reference to pointer for which need to be allocate */
-#endif
#endif
{
uint32_t line
)
#else
-#ifdef ANSI
static S16 cmIccFree
(
Void *regionCb, /* Pointer to region cb */
Data *ptr, /* Memory block needs to be freed */
Size size /* Size of the block */
)
-#else
-static S16 cmIccFree(regionCb, ptr, size)
-Void *regionCb; /* Pointer to region cb */
-Data *ptr; /* Memory block needs to be freed */
-Size size; /* Size of the block */
-#endif
#endif
{
CmMmDynRegCb *regCb;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
S16 cmMmDynRegInit
(
CmMmDynRegCb *regCb
)
-#else
-S16 cmMmDynRegInit(regCb)
-CmMmDynRegCb *regCb;
-#endif
{
SRegInfo regInfo;
#ifdef T2200_2GB_DDR_CHANGES
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
S16 cmMmDynRegInit
(
CmMmDynRegCb *regCb
)
-#else
-S16 cmMmDynRegInit(regCb)
-CmMmDynRegCb *regCb;
-#endif
{
Region region;
uint16_t lstMapIdx;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
-S16 cmMmRegDeInit
-(
-CmMmRegCb *regCb
-)
-#else
-S16 cmMmRegDeInit(regCb)
-CmMmRegCb *regCb;
-#endif
+S16 cmMmRegDeInit(CmMmRegCb *regCb)
{
uint16_t bktIdx;
*
*/
-#ifdef ANSI
static CmMmBlkSetElement* cmGetMemBlkSetForAlloc
(
-uint8_t bucketIndex, /* Index to the bucket list */
+uint8_t bucketIndex, /* Index to the bucket list */
CmMmDynBktCb *bkt /* Bucket list control block */
)
-#else
-static CmMmBlkSetElement* cmGetMemBlkSetForAlloc(bucketIndex, bkt)
-uint8_t bucketIndex; /* Index to the bucket list */
-CmMmDynBktCb *bkt; /* Bucket list control block */
-#endif
{
CmMmBlkSetElement *memBlkSetElem;
CmMmBlkSetElement *nextMemBlkSetElem;
*
*/
-#ifdef ANSI
static CmMmBlkSetElement* cmGetMemBlkSetForFree
(
-uint8_t bucketIndex, /* Index to the bucket list */
+uint8_t bucketIndex, /* Index to the bucket list */
CmMmDynBktCb *bkt /* Bucket list control block */
)
-#else
-static CmMmBlkSetElement* cmGetMemBlkSetForFree(bucketIndex, bkt)
-uint8_t bucketIndex; /* Index to the bucket list */
-CmMmDynBktCb *bkt; /* Bucket list control block */
-#endif
{
CmMmBlkSetElement *memBlkSetElem;
CmMmBlkSetElement *nextMemBlkSetElem;
*
*/
-#ifdef ANSI
static S16 cmRemoveAllocPtrFromList
(
CmMmDynRegCb *regionCb, /* Pointer to a region */
PTR ptr
)
-#else
-static S16 cmRemoveAllocPtrFromList(regionCb, ptr)
-CmMmDynRegCb *regionCb; /* Pointer to a region */
-PTR ptr;
-#endif
{
CmMemDoubleFree *memNode = NULLP;
*
*/
-#ifdef ANSI
static S16 cmInsertAllocPtrToList
(
CmMmDynRegCb *regionCb, /* Pointer to a region */
PTR ptr
)
-#else
-static S16 cmInsertAllocPtrToList(regionCb, ptr)
-CmMmDynRegCb *regionCb; /* Pointer to a region */
-PTR ptr;
-#endif
{
CmMemDoubleFree *memNode;
*/
/* cm_mem_c_001.main_15 : Additions */
-#ifdef ANSI
static S16 cmDynAllocWithLock
(
Void *regionCb, /* Pointer to a region */
uint32_t flags, /* Flags used */
Data **ptr /* Reference to pointer for which need to be allocate */
)
-#else
-static S16 cmDynAllocWithLock(regionCb, size, flags, ptr)
-Void *regionCb; /* Pointer to a region */
-Size *size; /* size needs to be allocated */
-uint32_t flags; /* Flags used */
-Data **ptr; /* Reference to pointer for which need to be allocate */
-#endif
{
S16 ret;
*/
/* cm_mem_c_001.main_15 : Additions */
-#ifdef ANSI
static S16 cmDynAlloc
(
Void *regionCb, /* Pointer to a region */
Size *size, /* size needs to be allocated */
-uint32_t flags, /* Flags used */
+uint32_t flags, /* Flags used */
Data **ptr /* Reference to pointer for which need to be allocate */
)
-#else
-static S16 cmDynAlloc(regionCb, size, flags, ptr)
-Void *regionCb; /* Pointer to a region */
-Size *size; /* size needs to be allocated */
-uint32_t flags; /* Flags used */
-Data **ptr; /* Reference to pointer for which need to be allocate */
-#endif
{
CmMmDynRegCb *regCb;
#else
#ifdef SS_HISTOGRAM_SUPPORT
#ifdef SSI_DEBUG_LEVEL1
-#ifdef ANSI
static S16 cmAlloc
(
Void *regionCb,
Bool hstReg
)
#else
-static S16 cmAlloc(regionCb, size, flags, ptr, memType, line, fileName, entId, hstReg)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-uint32_t memType;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
-#else
-#ifdef ANSI
static S16 cmAlloc
(
Void *regionCb,
uint8_t entId,
Bool hstReg
)
-#else
-static S16 cmAlloc(regionCb, size, flags, ptr, line, fileName, entId, hstReg)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
#endif /* SSI_DEBUG_LEVEL1 */
#else
#ifdef SSI_DEBUG_LEVEL1
-#ifdef ANSI
static S16 cmAlloc
(
Void *regionCb,
uint32_t memType
)
#else
-static S16 cmAlloc(regionCb, size, flags, ptr, memType)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-uint32_t memType;
-#endif
-#else
-#ifdef ANSI
static S16 cmAlloc
(
Void *regionCb,
uint32_t flags,
Data **ptr
)
-#else
-static S16 cmAlloc(regionCb, size, flags, ptr)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-#endif
#endif
#endif /* SSI_DEBUG_LEVEL1 */
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
-S16 cmInitDoubleFreeList
-(
-Void
-)
-#else
-S16 cmInitDoubleFreeList()
-#endif
+S16 cmInitDoubleFreeList(void)
{
- uint16_t offset;
+ uint16_t offset;
CmMemDoubleFree memNode;
-
offset = (uint16_t)((PTR)(&memNode.tmpListEnt) - (PTR)&memNode);
if((cmHashListInit(&(memDoubleFree), 1000, offset, 0,
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
-static S16 cmInitBtInfo
-(
-)
-#else
-static S16 cmInitBtInfo (Void)
-#endif
+static S16 cmInitBtInfo()
{
regBtInfo = (CmBtInfo *)calloc(1, 8 * sizeof (CmBtInfo));
if (regBtInfo == NULLP)
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
Void cmAnalyseBtInfo
(
PTR ptr, /* Memory block needs to be freed */
uint32_t idx
)
-#else
-Void cmAnalyseBtInfo (ptr,idx)
-PTR ptr; /* Memory block needs to be freed */
-uint32_t idx;
-#endif
{
uint32_t tmpCnt;
uint32_t btIdx;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static S16 cmDynFreeWithLock
(
Void *regionCb, /* Pointer to region cb */
Data *ptr, /* Memory block needs to be freed */
Size size /* Size of the block */
)
-#else
-static S16 cmDynFreeWithLock(regionCb, ptr, size)
-Void *regionCb; /* Pointer to region cb */
-Data *ptr; /* Memory block needs to be freed */
-Size size; /* Size of the block */
-#endif
{
S16 ret;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static S16 cmDynFree
(
Void *regionCb, /* Pointer to region cb */
Data *ptr, /* Memory block needs to be freed */
Size size /* Size of the block */
)
-#else
-static S16 cmDynFree(regionCb, ptr, size)
-Void *regionCb; /* Pointer to region cb */
-Data *ptr; /* Memory block needs to be freed */
-Size size; /* Size of the block */
-#endif
{
CmMmDynRegCb *regCb;
#ifndef USE_PURE
)
#else
#ifdef SS_HISTOGRAM_SUPPORT
-#ifdef ANSI
static S16 cmFree
(
Void *regionCb,
Bool hstReg
)
#else
-static S16 cmFree(regionCb, ptr, size, line, fileName, entId, hstReg)
-Void *regionCb;
-Data *ptr;
-Size size;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
-
-#else
-
-#ifdef ANSI
static S16 cmFree
(
Void *regionCb,
Data *ptr,
Size size
)
-#else
-static S16 cmFree(regionCb, ptr, size)
-Void *regionCb;
-Data *ptr;
-Size size;
-#endif
#endif
/* cm_mem_c_001.main_15 : Additions */
#endif /* SS_HISTOGRAM_SUPPORT */
uint32_t line
)
#else
-#ifdef ANSI
static S16 cmAllocWL
(
Void *regionCb,
uint32_t flags,
Data **ptr
)
-#else
-static S16 cmAllocWL(regionCb, size, flags, ptr)
-Void *regionCb;
-Size *size;
-uint32_t flags;
-Data **ptr;
-#endif
#endif
{
#ifndef USE_PURE
uint32_t line
)
#else
-#ifdef ANSI
static S16 cmFreeWL
(
Void *regionCb,
Data *ptr,
Size size
)
-#else
-static S16 cmFreeWL(regionCb, ptr, size)
-Void *regionCb;
-Data *ptr;
-Size size;
-#endif
#endif
{
#ifndef USE_PURE
*
*/
-#ifdef ANSI
static S16 cmCtl
(
Void *regionCb,
Event event,
SMemCtl *memCtl
)
-#else
-static S16 cmCtl(regionCb, event, memCtl)
-Void *regionCb;
-Event event;
-SMemCtl *memCtl;
-#endif
{
CmMmRegCb *regCb;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static Void cmMmHeapInit
(
Data *memAddr,
CmMmHeapCb *heapCb,
Size size
)
-#else
-static Void cmMmHeapInit (memAddr, heapCb, size)
-Data *memAddr;
-CmMmHeapCb *heapCb;
-Size size;
-#endif
{
/* cm_mem_c_001.main_12 - addition for ssi enhancements */
#ifdef SSI_DEBUG_LEVEL1
/* cm_mem_c_001.main_15 : Additions */
#ifdef SS_HISTOGRAM_SUPPORT
#ifdef SSI_DEBUG_LEVEL1
-#ifdef ANSI
static S16 cmHeapAlloc
(
CmMmHeapCb *heapCb,
Bool hstReg
)
#else
-static S16 cmHeapAlloc (heapCb, ptr, size, memType, line, fileName, entId, hstReg)
-CmMmHeapCb *heapCb;
-Data **ptr;
-Size *size;
-uint32_t memType;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
-#else
-#ifdef ANSI
static S16 cmHeapAlloc
(
CmMmHeapCb *heapCb,
uint8_t entId,
Bool hstReg
)
-#else
-static S16 cmHeapAlloc (heapCb, ptr, size, line, fileName, entId, hstReg)
-CmMmHeapCb *heapCb;
-Data **ptr;
-Size *size;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
#endif /* SSI_DEBUG_LEVEL1 */
#else
#ifdef SSI_DEBUG_LEVEL1
-#ifdef ANSI
static S16 cmHeapAlloc
(
CmMmHeapCb *heapCb,
uint32_t memType
)
#else
-static S16 cmHeapAlloc (heapCb, ptr, size, memType)
-CmMmHeapCb *heapCb;
-Data **ptr;
-Size *size;
-uint32_t memType;
-#endif
-#else
-#ifdef ANSI
static S16 cmHeapAlloc
(
CmMmHeapCb *heapCb,
Data **ptr,
Size *size
)
-#else
-static S16 cmHeapAlloc (heapCb, ptr, size)
-CmMmHeapCb *heapCb;
-Data **ptr;
-Size *size;
-#endif
#endif /* SSI_DEBUG_LEVEL1 */
/* cm_mem_c_001.main_15 : Additions */
#endif /* SS_HISTOGRAM_SUPPORT */
*/
/* cm_mem_c_001.main_15 : Additions */
#ifdef SS_HISTOGRAM_SUPPORT
-#ifdef ANSI
static S16 cmHeapFree
(
CmMmHeapCb *heapCb,
Bool hstReg
)
#else
-static S16 cmHeapFree (heapCb, ptr, size, line, fileName, entId, hstReg)
-CmMmHeapCb *heapCb;
-Data *ptr;
-Size size;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-Bool hstReg;
-#endif
-#else
-#ifdef ANSI
static S16 cmHeapFree
(
CmMmHeapCb *heapCb,
Data *ptr,
Size size
)
-#else
-static S16 cmHeapFree (heapCb, ptr, size)
-CmMmHeapCb *heapCb;
-Data *ptr;
-Size size;
-#endif
/* cm_mem_c_001.main_15 : Additions */
#endif /* SS_HISTOGRAM_SUPPORT */
{
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
-Void cmInitMemLeakMdl
-(
-Void
-)
-#else
-Void cmInitMemLeakMdl (Void)
-#endif
+Void cmInitMemLeakMdl(Void)
{
uint8_t memMdl;
- uint8_t hashIdx;
+ uint8_t hashIdx;
memLkCb.memLkMdlInit = FALSE;
* File: cm_mem_wl.c
*
**/
-#ifdef ANSI
-Void cmDeinitMemLeakMdl
-(
-Void
-)
-#else
Void cmDeinitMemLeakMdl (Void)
-#endif
{
uint8_t memMdl;
uint8_t hashIdx;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
-Void cmMemOpenMemLkFile
-(
-S8 *arg
-)
-#else
-Void cmMemOpenMemLkFile (arg)
-S8 *msOptArg;
-#endif
+Void cmMemOpenMemLkFile(S8 *arg)
{
memLkCb.fileLkLog = NULLP;
memLkCb.fileLkLog = fopen(arg, "w");
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
-Void SLogLkInfo
-(
-Void
-)
-#else
Void SLogLkInfo (Void)
-#endif
{
- MemAllocInfo *oldMemInfo;
- MemAllocInfo *newMemInfo;
- uint8_t memMdl;
- uint8_t hashIdx;
- uint8_t idx;
- Txt prntBuf[255];
- S8 **funcNm;
+ MemAllocInfo *oldMemInfo;
+ MemAllocInfo *newMemInfo;
+ uint8_t memMdl;
+ uint8_t hashIdx;
+ uint8_t idx;
+ Txt prntBuf[255];
+ S8 **funcNm;
if( memLkCb.memLkMdlInit == FALSE)
{
return;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
-Void SFlushLkInfo
-(
-Void
-)
-#else
Void SFlushLkInfo (Void)
-#endif
{
- MemAllocInfo *newMemInfo;
- uint8_t memMdl;
- uint8_t hashIdx;
- S8 **funcNm;
+ MemAllocInfo *newMemInfo;
+ uint8_t memMdl;
+ uint8_t hashIdx;
+ S8 **funcNm;
#ifdef SS_MEM_LEAK_SOL
- uint8_t i;
+ uint8_t i;
#endif /* SS_MEM_LEAK_SOL */
if( memLkCb.memLkMdlInit == FALSE)
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
Void cmStorAllocBlk
(
uint32_t addr,
Size allocSz,
uint16_t bktIdx
)
-#else
-Void cmStorAllocBlk (addr, reqSz, allocSz, bktIdx)
-uint32_t addr;
-Size reqSz;
-Size allocSz;
-uint16_t bktIdx;
-#endif /* ANSI */
{
#ifndef SS_MEM_LEAK_SOL
Ptr trace[CM_MAX_STACK_TRACE];
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
uint8_t cmMemGetModuleId
(
S8 **funNm,
S32 traceSize
)
-#else
-uint8_t cmMemGetModuleId (funNm, traceSize)
-S8 **funNm;
-S32 traceSize;
-#endif /* ANSI */
{
uint8_t idx;
uint8_t memStrIdx;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
S16 cmMemGetStrMtchIdx
(
uint8_t strtIdx,
S8 *str,
S8 **strLst
)
-#else
-S16 cmMemGetStrMtchIdx(strtIdx, endIdx, str, strLst)
-uint8_t strtIdx;
-uint8_t endIdx;
-S8 *str;
-S8 **strLst;
-#endif
{
S8 cmpStr[255];
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
Void cmRlsAllocBlk
(
uint32_t addr
)
-#else
-Void cmRlsAllocBlk(addr)
-uint32_t addr;
-#endif
{
Ptr trace[CM_MAX_STACK_TRACE];
S8 **funcNm;
- uint8_t idx;
- uint8_t i;
+ uint8_t idx;
+ uint8_t i;
S16 retVal;
S32 traceSize;
MemAllocInfo *memAllocInfo;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
S32 cmAddrToSymStr
(
Void *pc,
S8 *buffer,
S32 size
)
-#else
-S32 cmAddrToSymStr(pc, buffer, size)
-Void *pc;
-S8 *buffer;
-S32 size;
-#endif
{
Dl_info info;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
S32 cmLeakCallBack
(
uintptr_t pc,
S32 sigNo,
Void *arg
)
-#else
-S32 cmLeakCallBack(pc, sigNo, arg)
-uintptr_t pc;
-S32 sigNo;
-Void *arg;
-#endif
{
S8 *buffer;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
S32 backtrace
(
-Void **buffer,
-S32 count
+Void **buffer,
+S32 count
)
-#else
-S32 backtrace(buffer, count)
-Void **buffer;
-S32 count;
-#endif
{
Backtrace_t bt;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
-static S16 cmMmBktSanityChk
-(
-CmMmBkt *bkt
-)
-#else
-static S16 cmMmBktSanityChk(bkt)
-CmMmBkt *bkt;
-#endif
+static S16 cmMmBktSanityChk(CmMmBkt *bkt)
{
CmMmBlkHdr *ptrBlk;
uint32_t blkCnt;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
-static S16 cmMmHeapSanityChk
-(
-CmMmHeapCb *heapCb
-)
-#else
-static S16 cmMmHeapSanityChk(heapCb)
-CmMmHeapCb *heapCb;
-#endif
+static S16 cmMmHeapSanityChk(CmMmHeapCb *heapCb)
{
-
/* increment the trample count */
heapCb->trampleCount++;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
-S16 cmMmRegIsBlkSane
-(
-CmMmBlkHdr *blkPtr
-)
-#else
-S16 cmMmRegIsBlkSane(blkPtr)
-CmMmBlkHdr *blkPtr;
-#endif
+S16 cmMmRegIsBlkSane(CmMmBlkHdr *blkPtr)
{
uint32_t sigCnt;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static S16 cmMmHashFunc
(
CmMmHashListCp *hashListCp,
uint32_t key,
uint16_t *idx
)
-#else
-static S16 cmMmHashFunc (hashListCp, key, idx)
-CmMmHashListCp *hashListCp; /* hash list control point */
-uint32_t key; /* key string */
-uint16_t *idx; /* idx to return */
-#endif
{
*idx = (uint16_t)(key % hashListCp->numOfbins);
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static S16 cmMmHashListInit
(
CmMmHashListCp *hashListCp, /* hash list to initialize */
-uint16_t nmbBins, /* number of hash list bins */
+uint16_t nmbBins, /* number of hash list bins */
Region region, /* memory region to allocate bins */
Pool pool /* memory pool to allocate bins */
)
-#else
-static S16 cmMmHashListInit(hashListCp, nmbBins, region, pool)
-CmMmHashListCp *hashListCp; /* hash list to initialize */
-uint16_t nmbBins; /* number of hash list bins */
-Region region; /* memory region to allocate bins */
-Pool pool; /* memory pool to allocate bins */
-#endif
{
uint16_t i;
CmMmHashListEnt *hl;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static S16 cmMmHashListDeinit
(
CmMmHashListCp *hashListCp, /* hash list to deinitialize */
Region region, /* memory region to allocate bins */
Pool pool /* memory pool to allocate bins */
)
-#else
-static S16 cmMmHashListDeinit(hashListCp, region, pool)
-CmMmHashListCp *hashListCp; /* hash list to deinitialize */
-Region region; /* memory region to allocate bins */
-Pool pool; /* memory pool to allocate bins */
-#endif
{
/* deallocate memory for bins */
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static S16 cmMmHashListInsert
(
CmMmHashListCp *hashListCp, /* hash list to add to */
-uint32_t key /* pointer to key */
+uint32_t key /* pointer to key */
)
-#else
-static S16 cmMmHashListInsert(hashListCp, key)
-CmMmHashListCp *hashListCp; /* hash list to add to */
-uint32_t key; /* pointer to key */
-#endif
{
CmMmHashListEnt *hashListEnt; /* pointer to hash list entry header */
uint16_t idx; /* index for insertion into hash list */
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmHashListInit
(
CmHstGrmHashListCp *hashListCp /* hash list to initialize */
)
-#else
-static S16 cmHstGrmHashListInit(hashListCp)
-CmHstGrmHashListCp *hashListCp; /* hash list to initialize */
-#endif
{
/*cm_mem_c_001.main_25 : Fix for TRACE5 feature crash due to missing TRC MACRO*/
#ifdef DEBUGP
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmHashListDeInit
(
CmHstGrmHashListCp *hashListCp /* hash list to initialize */
)
-#else
-static S16 cmHstGrmHashListDeInit(hashListCp)
-CmHstGrmHashListCp *hashListCp; /* hash list to initialize */
-#endif
{
/*cm_mem_c_001.main_25 : Fix for TRACE5 feature crash due to missing TRC MACRO*/
#ifdef DEBUGP
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmFreeInsert
(
CmHstGrmHashListCp* hashListCp, /* hash list cp */
-uint32_t blkSz, /* size of the block freed */
-uint32_t line, /* Line number */
-uint8_t *fileName, /* file name */
-uint8_t entId /* Tapa task which free the memory */
+uint32_t blkSz, /* size of the block freed */
+uint32_t line, /* Line number */
+uint8_t *fileName, /* file name */
+uint8_t entId /* Tapa task which free the memory */
)
-#else
-static S16 cmHstGrmFreeInsert(hashListCp, blkSz, line, fileName, entId)
-CmHstGrmHashListCp* hashListCp; /* hash list cp */
-uint32_t blkSz; /* size of the block freed */
-uint32_t line; /* line number */
-uint8_t *fileName; /* file Name */
-uint8_t entId; /* Tapa task which frees the memory */
-#endif
{
- uint32_t binIdx = 0; /* Bin index to insert the entry into the hash list */
- uint32_t key = 0; /* Key to fine the bin index */
- uint32_t ret = 0; /* Return value */
- CmMemEntries *entry = NULLP; /* Entry which contains the information */
+ uint32_t binIdx = 0; /* Bin index to insert the entry into the hash list */
+ uint32_t key = 0; /* Key to fine the bin index */
+ uint32_t ret = 0; /* Return value */
+ CmMemEntries *entry = NULLP; /* Entry which contains the information */
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmAllocInsert
(
CmHstGrmHashListCp *hashListCp,
-uint32_t blkSz,
-uint32_t *reqSz,
-uint32_t line,
-uint8_t *fileName,
-uint8_t entId
+uint32_t blkSz,
+uint32_t *reqSz,
+uint32_t line,
+uint8_t *fileName,
+uint8_t entId
)
-#else
-static S16 cmHstGrmAllocInsert(hashListCp, blkSz, reqSz, line, fileName, entId)
-CmHstGrmHashListCp *hashListCp;
-uint32_t blkSz;
-uint32_t *reqSz;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-#endif
{
- uint32_t binIdx = 0;
- uint32_t key = 0;
- uint32_t ret = 0;
- CmMemEntries *entry = NULLP;
+ uint32_t binIdx = 0;
+ uint32_t key = 0;
+ uint32_t ret = 0;
+ CmMemEntries *entry = NULLP;
/* check for the total number of entries in the hash list. *
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmGetHashIdxAndKey
(
-uint8_t *fileName,
-uint32_t line,
-uint32_t *binIdx,
-uint32_t *key
+uint8_t *fileName,
+uint32_t line,
+uint32_t *binIdx,
+uint32_t *key
)
-#else
-static S16 cmHstGrmGetHashIdxAndKey(fileName, line, binIdx, key)
-uint8_t *fileName;
-uint32_t line;
-uint32_t *binIdx;
-uint32_t *key;
-#endif
{
uint32_t i = 0;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmFillEntry
(
CmMemEntries *entry,
-uint32_t key,
-uint32_t line,
-uint8_t *fileName,
-uint8_t entId
+uint32_t key,
+uint32_t line,
+uint8_t *fileName,
+uint8_t entId
)
-#else
-static S16 cmHstGrmFillEntry(entry, key, line, fileName, entId)
-CmMemEntries *entry;
-uint32_t key;
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-#endif
{
uint32_t idx = 0;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static S16 cmHstGrmFindEntry
(
CmHstGrmHashListCp *hashListCp,
-uint32_t key,
-uint32_t *binIdx,
+uint32_t key,
+uint32_t *binIdx,
CmMemEntries **entry
)
-#else
-static S16 cmHstGrmFindEntry(hashListCp, key, binIdx, entry)
-CmHstGrmHashListCp *hashListCp;
-uint32_t key;
-uint32_t *binIdx;
-CmMemEntries **entry;
-#endif
{
- uint32_t numEnt = 0;
- uint32_t numBin = 0;
+ uint32_t numEnt = 0;
+ uint32_t numBin = 0;
CmHstGrmHashListEnt *tmpBin = NULLP;
-
for(numBin = 0; numBin < CMM_HIST_MAX_MEM_BIN; numBin++)
{
/* find for the entry in the bin */
#ifdef TENB_T2K3K_SPECIFIC_CHANGES
/* For Updating SOC Specific Memory Information */
-#ifdef ANSI
S16 UpdateSocMemInfo
(
uint8_t areaIndex,
CmLteMemInfo *mInfo
)
-#else
-S16 UpdateSocMemInfo(areaIndex,mInfo)
-uint8_t areaIndex;
-CmLteMemInfo *mInfo;
-#endif
{
uint8_t idxReg;
uint8_t idxPool;
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
uint32_t isL2MemUsageBelowLowerThreshold(
Region region
)
-#else
-uint32_t isL2MemUsageBelowLowerThreshold(region)
-Region region;
-#endif
{
void * iccHdl = ssGetIccHdl(region);
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
uint32_t isMemUsageBelowLowerThreshold(
Region region
)
-#else
-uint32_t isMemUsageBelowLowerThreshold(region)
-Region region;
-#endif
{
void * iccHdl = ssGetIccHdl(region);
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
static uint32_t isMemUsageAboveUpperThreshold(
Region region
)
-#else
-static uint32_t isMemUsageAboveUpperThreshold(region)
-Region region;
-#endif
{
void * iccHdl = ssGetIccHdl(region);
* File: cm_mem_wl.c
*
*/
-#ifdef ANSI
uint32_t isMemThreshReached(
Region reg
)
-#else
-uint32_t isMemThreshReached(reg)
-Region reg;
-#endif
{
if(gMemoryAlarm)
{
*
*
*/
-#ifdef ANSI
-static Void TSInfTrigL2Stats
-(
- Region region,
- Pool pool
-)
-#else
-static Void TSInfTrigL2Stats(region, pool)
- Region region;
- Pool pool;
-#endif
+static Void TSInfTrigL2Stats(Region region,Pool pool)
{
Buffer* pBuf;
Pst pst = {0};
*
*
*/
-#ifdef ANSI
-Void TSInfTrigStats
-(
- Region region,
- Pool pool
-)
-#else
-Void TSInfTrigStats(region, pool)
- Region region;
- Pool pool;
-#endif
+Void TSInfTrigStats(Region region,Pool pool)
{
//TODO
TSInfTrigL2Stats(region, pool);
}
-#ifdef ANSI
-static Buffer* TSInfUtlAllocMsg
-(
- Pst *pst
-)
-#else
-static Buffer* TSInfUtlAllocMsg(pst)
- Pst *pst;
-#endif
+static Buffer* TSInfUtlAllocMsg(Pst *pst)
{
Buffer *mBuf;
return (mBuf);
}
-#ifdef ANSI
-static Void TSInfUtlPackUeInfo
-(
- Buffer *mBuf,
- TSInfL2UeStats *stats
-)
-#else
-static Void TSInfUtlPackUeInfo(mBuf, stats)
- Buffer *mBuf;
- TSInfL2UeStats *stats;
-#endif
+static Void TSInfUtlPackUeInfo(Buffer *mBuf,TSInfL2UeStats *stats)
{
S32 i;
uint32_t k;
return;
}
-#ifdef ANSI
-static Void TSInfUtlPackCellInfo
-(
- Buffer *mBuf,
- TSInfL2CellStats *stats
-)
-#else
-static Void TSInfUtlPackCellInfo(mBuf, stats)
- Buffer *mBuf;
- TSInfL2CellStats *stats;
-#endif
+static Void TSInfUtlPackCellInfo(Buffer *mBuf,TSInfL2CellStats *stats )
{
S32 i,j;
return;
}
-#ifdef ANSI
-static Void TSInfUtlUnpkUeInfo
-(
- Buffer *mBuf,
- TSInfL2UeStats *stats
-)
-#else
-static Void TSInfUtlUnpkUeInfo(mBuf, stats)
- Buffer *mBuf;
- TSInfL2UeStats *stats;
-#endif
+static Void TSInfUtlUnpkUeInfo(Buffer *mBuf, TSInfL2UeStats *stats )
{
S32 i;
uint32_t k;
return;
}
-#ifdef ANSI
-static Void TSInfUtlUnpkCellInfo
-(
- Buffer *mBuf,
- TSInfL2CellStats *stats
-)
-#else
-static Void TSInfUtlUnpkCellInfo(mBuf, stats)
- Buffer *mBuf;
- TSInfL2CellStats *stats;
-#endif
+static Void TSInfUtlUnpkCellInfo(Buffer *mBuf,TSInfL2CellStats *stats )
{
S32 i,j;
return;
}
-#ifdef ANSI
-Void TSInfPkSndL2UeStats
-(
- Pst *pst,
- SuId suId,
- TSInfL2UeStats *stats
-)
-#else
-Void TSInfPkSndL2UeStats(pst, suId, stats)
- Pst *pst;
- SuId suId;
- TSInfL2UeStats *stats;
-#endif
+Void TSInfPkSndL2UeStats(Pst *pst,SuId suId,TSInfL2UeStats *stats)
{
Buffer *mBuf;
return;
}
-#ifdef ANSI
-Void TSInfUnpkL2UeStats
-(
- TSInfL2UeStatsInd func,
- Pst *pst,
- Buffer *mBuf
-)
-#else
-Void TSInfUnpkL2UeStats(func, pst, mBuf)
- TSInfL2UeStatsInd func;
- Pst *pst;
- Buffer *mBuf;
-#endif
+Void TSInfUnpkL2UeStats(TSInfL2UeStatsInd func, Pst *pst,Buffer *mBuf)
{
SuId suId;
TSInfL2UeStats stats;
-
SUnpkS16(&suId, mBuf);
TSInfUtlUnpkUeInfo(mBuf, &stats);
SPutMsg(mBuf);
return;
}
-#ifdef ANSI
-Void TSInfPkSndL2CellStats
-(
- Pst *pst,
- SuId suId,
- TSInfL2CellStats *stats
-)
-#else
-Void TSInfPkSndL2CellStats(pst, suId, stats)
- Pst *pst;
- SuId suId;
- TSInfL2Cellstats *stats;
-#endif
+Void TSInfPkSndL2CellStats(Pst *pst,SuId suId,TSInfL2CellStats *stats )
{
Buffer *mBuf;
-
mBuf = TSInfUtlAllocMsg(pst);
TSInfUtlPackCellInfo(mBuf, stats);
SPkS16(suId, mBuf);
return;
}
-#ifdef ANSI
-Void TSInfUnpkL2CellStats
-(
- TSInfL2CellStatsInd func,
- Pst *pst,
- Buffer *mBuf
-)
-#else
-Void TSInfUnpkL2CellStats(func, pst, mBuf)
- TSInfL2CellStatsInd func;
- Pst *pst;
- Buffer *mBuf;
-#endif
+Void TSInfUnpkL2CellStats(TSInfL2CellStatsInd func,Pst *pst,Buffer *mBuf)
{
SuId suId;
TSInfL2CellStats stats;
File: cm_tkns.c
*
*/
-#ifdef ANSI
S16 cmPkTknS16
(
TknS16 *tknS16, /* token S16 */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknS16(tknS16, mBuf)
-TknS16 *tknS16; /* token S16 */
-Buffer *mBuf; /* message buffer */
-#endif
{
if (tknS16->pres)
*
*/
-#ifdef ANSI
S16 cmPkTknBStr32
(
TknBStr32 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknBStr32(tknStr, mBuf)
-TknBStr32 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMPKTKNBSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkTknStr8
(
TknStr8 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStr8(tknStr, mBuf)
-TknStr8 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkTknStr16
(
TknStr16 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStr16(tknStr, mBuf)
-TknStr16 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmPkTknStrOSXL
(
TknStrOSXL *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStrOSXL(tknStr, mBuf)
-TknStrOSXL *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t ndx;
*
*/
-#ifdef ANSI
S16 cmPkTknStrBSXL
(
TknStrBSXL *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStrBSXL(tknStr, mBuf)
-TknStrBSXL *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t ndx;
uint16_t len;
*
*/
-#ifdef ANSI
S16 cmPkTknStrBMP4
(
TknStrBMP4 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStrBMP4(tknStr, mBuf)
-TknStrBMP4 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t ndx;
*
*/
-#ifdef ANSI
S16 cmPkTknStrBMPXL
(
TknStrBMPXL *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStrBMPXL(tknStr, mBuf)
-TknStrBMPXL *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t ndx;
*
*/
-#ifdef ANSI
S16 cmPkTknStrUNI4
(
TknStrUNI4 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStrUNI4(tknStr, mBuf)
-TknStrUNI4 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t ndx;
*
*/
-#ifdef ANSI
S16 cmPkTknStrUNIXL
(
TknStrUNIXL *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkTknStrUNIXL(tknStr, mBuf)
-TknStrUNIXL *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t ndx;
File: cm_tkns.c
*
*/
-#ifdef ANSI
S16 cmUnpkTknS16
(
TknS16 *tknS16, /* token S16 */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknS16(tknS16, mBuf)
-TknS16 *tknS16; /* token S16 */
-Buffer *mBuf; /* message buffer */
-#endif
{
/* Token Header */
*
*/
-#ifdef ANSI
S16 cmUnpkTknBStr32
(
TknBStr32 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknBStr32(tknStr, mBuf)
-TknBStr32 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMUNPKTKNBSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkTknStr8
(
TknStr8 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStr8(tknStr, mBuf)
-TknStr8 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMUNPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkTknStr16
(
TknStr16 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStr16(tknStr, mBuf)
-TknStr16 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMUNPKTKNSTR(tknStr, mBuf);
*
*/
-#ifdef ANSI
S16 cmUnpkTknStrOSXL
(
TknStrOSXL *tknStr, /* token string */
Buffer *mBuf, /* message buffer */
Ptr ptr /* pointer to memory control block */
)
-#else
-S16 cmUnpkTknStrOSXL(tknStr, mBuf, ptr)
-TknStrOSXL *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-Ptr ptr; /* pointer to control memory block */
-#endif
{
uint16_t ndx;
*
*/
-#ifdef ANSI
S16 cmUnpkTknStrBSXL
(
TknStrBSXL *tknStr, /* token string */
Ptr ptr, /* pointer to memory control block */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStrBSXL(tknStr, ptr, mBuf)
-TknStrBSXL *tknStr; /* token string */
-Ptr ptr; /* pointer to control memory block */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t ndx;
uint16_t len;
*
*/
-#ifdef ANSI
S16 cmUnpkTknStrBMP4
(
TknStrBMP4 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStrBMP4(tknStr, mBuf)
-TknStrBMP4 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t ndx;
*
*/
-#ifdef ANSI
S16 cmUnpkTknStrBMPXL
(
TknStrBMPXL *tknStr, /* token string */
Buffer *mBuf, /* message buffer */
Ptr ptr /* pointer to memory control block */
)
-#else
-S16 cmUnpkTknStrBMPXL(tknStr, mBuf, ptr)
-TknStrBMPXL *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-Ptr ptr; /* pointer to control memory block */
-#endif
{
uint16_t ndx;
*
*/
-#ifdef ANSI
S16 cmUnpkTknStrUNI4
(
TknStrUNI4 *tknStr, /* token string */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkTknStrUNI4(tknStr, mBuf)
-TknStrUNI4 *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t ndx;
*
*/
-#ifdef ANSI
S16 cmUnpkTknStrUNIXL
(
TknStrUNIXL *tknStr, /* token string */
Buffer *mBuf, /* message buffer */
Ptr ptr /* pointer to memory control block */
)
-#else
-S16 cmUnpkTknStrUNIXL(tknStr, mBuf, ptr)
-TknStrUNIXL *tknStr; /* token string */
-Buffer *mBuf; /* message buffer */
-Ptr ptr; /* pointer to control memory block */
-#endif
{
uint16_t ndx;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmIpv4TptAddr
(
CmIpv4TptAddr *pkParam, /* IPv4 Address structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmIpv4TptAddr (pkParam, mBuf)
-CmIpv4TptAddr *pkParam; /* IPv4 Address structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKPK(cmPkCmIpv4NetAddr, pkParam->address, mBuf);
* File: cm_tpt.c
*
*/
-#ifdef ANSI
static S16 cmPkCmIpv6NetAddr
(
-CmIpv6NetAddr *pkParam,
-Buffer *mBuf /* message buffer */
+CmIpv6NetAddr *pkParam,
+Buffer *mBuf /* message buffer */
)
-#else
-static S16 cmPkCmIpv6NetAddr (pkParam, mBuf)
-CmIpv6NetAddr *pkParam;
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t num;
uint8_t *ptr = (uint8_t*)pkParam;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
static S16 cmPkCmIpv6TptAddr
(
-CmIpv6TptAddr *pkParam, /* IPv6 transport address */
-Buffer *mBuf /* message buffer */
+CmIpv6TptAddr *pkParam, /* IPv6 transport address */
+Buffer *mBuf /* message buffer */
)
-#else
-static S16 cmPkCmIpv6TptAddr (pkParam, mBuf)
-CmIpv6TptAddr *pkParam; /* IPv6 transport address */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKPK(cmPkCmIpv6NetAddr, &pkParam->ipv6NetAddr, mBuf);
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmNetAddrTbl
(
-CmNetAddrTbl *pkParam, /* Network Address Table */
-Buffer *mBuf /* message buffer */
+CmNetAddrTbl *pkParam, /* Network Address Table */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmNetAddrTbl (pkParam, mBuf)
-CmNetAddrTbl *pkParam; /* Network Address Table */
-Buffer *mBuf; /* message buffer */
-#endif
{
- uint16_t idx; /* Loop Index */
- CmNetAddr *netAddr; /* Network Address */
+ uint16_t idx; /* Loop Index */
+ CmNetAddr *netAddr; /* Network Address */
if (pkParam->count > CM_MAX_NET_ADDR)
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmNetAddr
(
-CmNetAddr *pkParam,
-Buffer *mBuf /* message buffer */
+CmNetAddr *pkParam,
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmNetAddr (pkParam, mBuf)
-CmNetAddr *pkParam;
-Buffer *mBuf; /* message buffer */
-#endif
{
switch (pkParam->type)
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmTptAddr
(
-CmTptAddr *pkParam,
-Buffer *mBuf /* message buffer */
+CmTptAddr *pkParam,
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmTptAddr (pkParam, mBuf)
-CmTptAddr *pkParam;
-Buffer *mBuf; /* message buffer */
-#endif
{
switch (pkParam->type)
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmTptLocalInf
(
-CmTptLocalInf *pkParam, /* local interface info */
-Buffer *mBuf /* message buffer */
+CmTptLocalInf *pkParam, /* local interface info */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmTptLocalInf (pkParam, mBuf)
-CmTptLocalInf *pkParam; /* local interface info */
-Buffer *mBuf; /* message buffer */
-#endif
{
if (pkParam->intfPrsnt == TRUE)
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmNetMCastInf6
(
-CmNetMCastInf6 *pkParam, /* IPv6 multicast information */
-Buffer *mBuf /* message buffer */
+CmNetMCastInf6 *pkParam, /* IPv6 multicast information */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmNetMCastInf6(pkParam, mBuf)
-CmNetMCastInf6 *pkParam; /* IPv6 multicast information */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKPK(cmPkCmIpv6NetAddr, &pkParam->mCastAddr, mBuf);
* File: cm_tpt.c
*
*/
-#ifdef ANSI
static S16 cmPkCmSockOpts
(
-CmSockOpts *pkParam,
-Buffer *mBuf /* message buffer */
+CmSockOpts *pkParam,
+Buffer *mBuf /* message buffer */
)
-#else
-static S16 cmPkCmSockOpts (pkParam, mBuf)
-CmSockOpts *pkParam;
-Buffer *mBuf; /* message buffer */
-#endif
{
switch (pkParam->option)
* File: cm_tpt.c
*
*/
-#ifdef ANSI
static S16 cmPkCmSockParam
(
-CmSockParam *pkParam,
-Buffer *mBuf /* message buffer */
+CmSockParam *pkParam,
+Buffer *mBuf /* message buffer */
)
-#else
-static S16 cmPkCmSockParam (pkParam, mBuf)
-CmSockParam *pkParam;
-Buffer *mBuf; /* message buffer */
-#endif
{
uint32_t num;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
static S16 cmPkTlsTptParam
(
-TlsTptParam *pkParam, /**/
-Buffer *mBuf /* message buffer */
+TlsTptParam *pkParam, /**/
+Buffer *mBuf /* message buffer */
)
-#else
-static S16 cmPkTlsTptParam(pkParam, mBuf)
-TlsTptParam *pkParam; /**/
-Buffer *mBuf; /* message buffer */
-#endif
{
uint32_t num;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmTptParam
(
-CmTptParam *pkParam,
-Buffer *mBuf /* message buffer */
+CmTptParam *pkParam,
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmTptParam (pkParam, mBuf)
-CmTptParam *pkParam;
-Buffer *mBuf; /* message buffer */
-#endif
{
switch (pkParam->type)
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmIpv4TptAddr
(
-CmIpv4TptAddr *unpkParam, /* IPv4 Address */
-Buffer *mBuf /* message buffer */
+CmIpv4TptAddr *unpkParam, /* IPv4 Address */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkCmIpv4TptAddr (unpkParam, mBuf)
-CmIpv4TptAddr *unpkParam; /* IPv4 Address */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(oduPackUInt16, &unpkParam->port, mBuf);
* File: cm_tpt.c
*
*/
-#ifdef ANSI
static S16 cmUnpkCmIpv6NetAddr
(
-CmIpv6NetAddr *unpkParam, /* IPv6 address */
-Buffer *mBuf /* message buffer */
+CmIpv6NetAddr *unpkParam, /* IPv6 address */
+Buffer *mBuf /* message buffer */
)
-#else
-static S16 cmUnpkCmIpv6NetAddr (unpkParam, mBuf)
-CmIpv6NetAddr *unpkParam; /* IPv6 address */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint32_t num;
uint8_t *ptr = (uint8_t*)unpkParam;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
static S16 cmUnpkCmIpv6TptAddr
(
-CmIpv6TptAddr *unpkParam, /* IPv6 transport address */
-Buffer *mBuf /* message buffer */
+CmIpv6TptAddr *unpkParam, /* IPv6 transport address */
+Buffer *mBuf /* message buffer */
)
-#else
-static S16 cmUnpkCmIpv6TptAddr (unpkParam, mBuf)
-CmIpv6TptAddr *unpkParam; /* IPv6 transport address */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(oduPackUInt16, &unpkParam->port, mBuf);
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmNetAddrTbl
(
-CmNetAddrTbl *unpkParam, /* Network Address Table */
-Buffer *mBuf /* message buffer */
+CmNetAddrTbl *unpkParam, /* Network Address Table */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkCmNetAddrTbl (unpkParam, mBuf )
-CmNetAddrTbl *unpkParam; /* Network Address Table */
-Buffer *mBuf; /* message buffer */
-#endif
{
- uint16_t idx; /* Loop Index */
- CmNetAddr *netAddr; /* Network Address */
+ uint16_t idx; /* Loop Index */
+ CmNetAddr *netAddr; /* Network Address */
-
/* Unpack the count */
CMCHKUNPK(oduPackUInt16, &(unpkParam->count), mBuf);
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmNetAddr
(
-CmNetAddr *unpkParam,
-Buffer *mBuf /* message buffer */
+CmNetAddr *unpkParam,
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkCmNetAddr (unpkParam, mBuf )
-CmNetAddr *unpkParam;
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(oduPackUInt8, &unpkParam->type, mBuf);
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmTptAddr
(
-CmTptAddr *unpkParam,
-Buffer *mBuf /* message buffer */
+CmTptAddr *unpkParam,
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkCmTptAddr (unpkParam, mBuf)
-CmTptAddr *unpkParam;
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(oduPackUInt8, &unpkParam->type, mBuf);
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmNetMCastInf6
(
-CmNetMCastInf6 *unpkParam, /* IPv6 multicast information */
-Buffer *mBuf /* message buffer */
+CmNetMCastInf6 *unpkParam, /* IPv6 multicast information */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkCmNetMCastInf6(unpkParam, mBuf)
-CmNetMCastInf6 *unpkParam; /* IPv6 multicast information */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(oduPackUInt32, &unpkParam->localInf, mBuf);
* File: cm_tpt.c
*
*/
-#ifdef ANSI
static S16 cmUnpkCmSockOpts
(
-CmSockOpts *unpkParam, /* socket options */
-Buffer *mBuf /* message buffer */
+CmSockOpts *unpkParam, /* socket options */
+Buffer *mBuf /* message buffer */
)
-#else
-static S16 cmUnpkCmSockOpts (unpkParam, mBuf)
-CmSockOpts *unpkParam; /* socket options */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(oduPackUInt32, &unpkParam->level, mBuf);
* File: cm_tpt.c
*
*/
-#ifdef ANSI
static S16 cmUnpkCmSockParam
(
-CmSockParam *unpkParam, /* socket parameters */
-Buffer *mBuf /* message buffer */
+CmSockParam *unpkParam, /* socket parameters */
+Buffer *mBuf /* message buffer */
)
-#else
-static S16 cmUnpkCmSockParam (unpkParam, mBuf)
-CmSockParam *unpkParam; /* socket parameters */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint32_t num;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
static S16 cmUnpkTlsTptParam
(
-TlsTptParam *unpkParam, /* TLS parameters */
-Buffer *mBuf /* message buffer */
+TlsTptParam *unpkParam, /* TLS parameters */
+Buffer *mBuf /* message buffer */
)
-#else
-static S16 cmUnpkTlsTptParam (unpkParam, mBuf)
-TlsTptParam *unpkParam; /* TLS parameters */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint32_t num;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmTptParam
(
-CmTptParam *unpkParam, /* transport parameters */
-Buffer *mBuf /* message buffer */
+CmTptParam *unpkParam, /* transport parameters */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkCmTptParam (unpkParam, mBuf)
-CmTptParam *unpkParam; /* transport parameters */
-Buffer *mBuf; /* message buffer */
-#endif
{
CMCHKUNPK(oduPackUInt8, &unpkParam->type, mBuf);
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmIpHdrParm
(
-CmIpHdrParm *pkParam, /* IP hdr parameters */
-Buffer *mBuf /* message buffer */
+CmIpHdrParm *pkParam, /* IP hdr parameters */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmIpHdrParm (pkParam, mBuf)
-CmIpHdrParm *pkParam; /* IP hdr parameters */
-Buffer *mBuf; /* message buffer */
-#endif
{
switch (pkParam->type)
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmTptLocalInf
(
-CmTptLocalInf *unpkParam, /* local interface info */
-Buffer *mBuf /* message buffer */
+CmTptLocalInf *unpkParam, /* local interface info */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkCmTptLocalInf (unpkParam, mBuf)
-CmTptLocalInf *unpkParam; /* local interface info */
-Buffer *mBuf; /* message buffer */
-#endif
{
/* first unpack the bool intfPrsnt value which is always packed */
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmIpv6ExtHdr
(
-CmIpv6ExtHdr *pkParam, /* IPV6 extension hdrs */
-Buffer *mBuf /* message buffer */
+CmIpv6ExtHdr *pkParam, /* IPV6 extension hdrs */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmIpv6ExtHdr (pkParam, mBuf)
-CmIpv6ExtHdr *pkParam; /*IPV6 extension hdrs */
-Buffer *mBuf; /* message buffer */
-#endif
{
/* pack first Route hdr */
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmIpv6RtHdr
(
-CmIpv6RtHdr *pkParam, /* IPV6 Route hdr */
-Buffer *mBuf /* message buffer */
+CmIpv6RtHdr *pkParam, /* IPV6 Route hdr */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmIpv6RtHdr (pkParam, mBuf)
-CmIpv6RtHdr *pkParam; /* IPV6 Route hdr */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t idx;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmIpv6RtHdr
(
-CmIpv6RtHdr *unpkParam, /* IPV6 Route hdr */
-Buffer *mBuf, /* message buffer */
-Mem *memInfo /* meminfo to allocate for Route hdr */
+CmIpv6RtHdr *unpkParam, /* IPV6 Route hdr */
+Buffer *mBuf, /* message buffer */
+Mem *memInfo /* meminfo to allocate for Route hdr */
)
-#else
-S16 cmUnpkCmIpv6RtHdr (unpkParam, mBuf, memInfo)
-CmIpv6RtHdr *unpkParam; /* IPV6 Route hdr */
-Buffer *mBuf; /* message buffer */
-Mem *memInfo; /* meminfo to allocate for Route hdr */
-#endif
{
uint8_t idx; /* array index */
S32 retVal; /* temporary return value */
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmIpv6ExtHdr
(
-CmIpv6ExtHdr *unpkParam, /* IPV6 extension hdrs */
-Buffer *mBuf, /* message buffer */
-Mem *memInfo /* meminfo to allocate for IPV6 ext hdr */
+CmIpv6ExtHdr *unpkParam, /* IPV6 extension hdrs */
+Buffer *mBuf, /* message buffer */
+Mem *memInfo /* meminfo to allocate for IPV6 ext hdr */
)
-#else
-S16 cmUnpkCmIpv6ExtHdr (unpkParam, mBuf, memInfo)
-CmIpv6ExtHdr *unpkParam; /* IPV6 extension hdrs */
-Buffer *mBuf; /* message buffer */
-Mem *memInfo; /* meminfo to allocate for IPV6 ext hdr */
-#endif
{
/* unpack HBH hdr first */
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmIpv6DestOptsArr
(
-CmIpv6DestOptsArr *pkParam, /* IPV6 Dest hdr array */
-Buffer *mBuf /* message buffer */
+CmIpv6DestOptsArr *pkParam, /* IPV6 Dest hdr array */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmIpv6DestOptsArr (pkParam, mBuf)
-CmIpv6DestOptsArr *pkParam; /* IPV6 Dest hdr array */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t numOptions;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmIpv6DestOptsHdr
(
-CmIpv6DestOptsHdr *pkParam, /* IPV6 Dest opt */
-Buffer *mBuf /* message buffer */
+CmIpv6DestOptsHdr *pkParam, /* IPV6 Dest opt */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmIpv6DestOptsHdr (pkParam, mBuf)
-CmIpv6DestOptsHdr *pkParam; /* IPV6 Dest opt */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t optLen;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmIpv6DestOptsHdr
(
-CmIpv6DestOptsHdr *unpkParam,/* IPV6 Dest Option */
-Buffer *mBuf, /* message buffer */
-Mem *memInfo /* meminfo to allocate mem for dest opt */
+CmIpv6DestOptsHdr *unpkParam,/* IPV6 Dest Option */
+Buffer *mBuf, /* message buffer */
+Mem *memInfo /* meminfo to allocate mem for dest opt */
)
-#else
-S16 cmUnpkCmIpv6DestOptsHdr (unpkParam, mBuf, memInfo)
-CmIpv6DestOptsHdr *unpkParam;/* IPV6 Dest Option */
-Buffer *mBuf; /* message buffer */
-Mem *memInfo; /* meminfo to allocate mem for dest opt */
-#endif
{
S32 retVal; /* temporary return value */
uint8_t optLen; /* length of value field */
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmIpv6DestOptsArr
(
-CmIpv6DestOptsArr *unpkParam, /* all IPV6 Destination Options */
-Buffer *mBuf, /* message buffer */
-Mem *memInfo /* meminfo to allocate mem for dest opts */
+CmIpv6DestOptsArr *unpkParam, /* all IPV6 Destination Options */
+Buffer *mBuf, /* message buffer */
+Mem *memInfo /* meminfo to allocate mem for dest opts */
)
-#else
-S16 cmUnpkCmIpv6DestOptsArr (unpkParam, mBuf, memInfo)
-CmIpv6DestOptsArr *unpkParam; /* all IPV6 Destination Options */
-Buffer *mBuf; /* message buffer */
-Mem *memInfo; /* meminfo to allocate mem for dest opts */
-#endif
{
uint8_t numOptions;
S16 retVal;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmIpv6HBHHdrArr
(
-CmIpv6HBHHdrArr *pkParam, /* all IPV6 HopByHop options */
-Buffer *mBuf /* message buffer */
+CmIpv6HBHHdrArr *pkParam, /* all IPV6 HopByHop options */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmIpv6HBHHdrArr (pkParam, mBuf)
-CmIpv6HBHHdrArr *pkParam; /* IPV6 HopByHop options */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t numOptions;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmIpv6HBHHdr
(
-CmIpv6HBHHdr *pkParam, /* individual IPV6 HBH options */
-Buffer *mBuf /* message buffer */
+CmIpv6HBHHdr *pkParam, /* individual IPV6 HBH options */
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmIpv6HBHHdr (pkParam, mBuf)
-CmIpv6HBHHdr *pkParam; /* individual IPV6 HBH options */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint8_t optLen;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmIpv6HBHHdr
(
-CmIpv6HBHHdr *unpkParam,/* individual IPV6 HBH Option */
-Buffer *mBuf, /* message buffer */
-Mem *memInfo /* meminfo to allocate mem for HBH opt */
+CmIpv6HBHHdr *unpkParam,/* individual IPV6 HBH Option */
+Buffer *mBuf, /* message buffer */
+Mem *memInfo /* meminfo to allocate mem for HBH opt */
)
-#else
-S16 cmUnpkCmIpv6HBHHdr (unpkParam, mBuf, memInfo)
-CmIpv6HBHHdr *unpkParam;/* individual IPV6 HBH Option */
-Buffer *mBuf; /* message buffer */
-Mem *memInfo; /* meminfo to allocate mem for HBH opt */
-#endif
{
S32 retVal; /* temporary return value */
uint8_t optLen; /* length of value field */
-
CMCHKUNPK(oduPackUInt8, &unpkParam->type, mBuf);
CMCHKUNPK(oduPackUInt8, &unpkParam->length, mBuf);
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmIpv6HBHHdrArr
(
-CmIpv6HBHHdrArr *unpkParam, /* all HBH options */
-Buffer *mBuf, /* message buffer */
-Mem *memInfo /* meminfo to allocate space for HBH opt */
+CmIpv6HBHHdrArr *unpkParam, /* all HBH options */
+Buffer *mBuf, /* message buffer */
+Mem *memInfo /* meminfo to allocate space for HBH opt */
)
-#else
-S16 cmUnpkCmIpv6HBHHdrArr (unpkParam, mBuf, memInfo)
-CmIpv6HBHHdrArr *unpkParam; /* all HBH options */
-Buffer *mBuf; /* message buffer */
-Mem *memInfo; /* meminfo to allocate space for HBH opt */
-#endif
{
uint8_t numOptions;
S16 retVal;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
/* added */
#ifdef IPV6_OPTS_SUPPORTED
S16 cmUnpkCmIpHdrParm
Buffer *mBuf /* message buffer */
)
#endif /* IPV6_OPTS_SUPPORTED */
-#else
-/* added */
-#ifdef IPV6_OPTS_SUPPORTED
-S16 cmUnpkCmIpHdrParm (unpkParam, mBuf, memInfo)
-CmIpHdrParm *unpkParam;/* ip hdr parameters */
-Buffer *mBuf; /* message buffer */
-Mem *memInfo; /* meminfo to allocate mem for ipHdrParam */
-#else
-S16 cmUnpkCmIpHdrParm (unpkParam, mBuf)
-CmIpHdrParm *unpkParam;/* ip hdr parameters */
-Buffer *mBuf; /* message buffer */
-#endif /* IPV6_OPTS_SUPPORTED */
-#endif
{
CMCHKUNPK(oduPackUInt8, &unpkParam->type, mBuf);
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmPkCmIcmpFilter
(
-CmIcmpFilter *pkParam,
-Buffer *mBuf /* message buffer */
+CmIcmpFilter *pkParam,
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmPkCmIcmpFilter (pkParam, mBuf)
-CmIcmpFilter *pkParam;
-Buffer *mBuf; /* message buffer */
-#endif
{
/* Variable declaration */
S16 idx;
* File: cm_tpt.c
*
*/
-#ifdef ANSI
S16 cmUnpkCmIcmpFilter
(
-CmIcmpFilter *unpkParam,
-Buffer *mBuf /* message buffer */
+CmIcmpFilter *unpkParam,
+Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkCmIcmpFilter (unpkParam, mBuf)
-CmIcmpFilter *unpkParam;
-Buffer *mBuf; /* message buffer */
-#endif
{
/* Variable declaration */
S16 idx;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCrgBndReq
(
Pst* pst,
SuId suId,
SpId spId
)
-#else
-S16 cmPkCrgBndReq(pst, suId, spId)
-Pst* pst;
-SuId suId;
-SpId spId;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCrgBndReq
(
CrgBndReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgBndReq(func, pst, mBuf)
-CrgBndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
SpId spId;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCrgBndCfm
(
Pst* pst,
SuId suId,
uint8_t status
)
-#else
-S16 cmPkCrgBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCrgBndCfm
(
CrgBndCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgBndCfm(func, pst, mBuf)
-CrgBndCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
uint8_t status;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCrgUbndReq
(
Pst* pst,
SpId spId,
Reason reason
)
-#else
-S16 cmPkCrgUbndReq(pst, spId, reason)
-Pst* pst;
-SpId spId;
-Reason reason;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCrgUbndReq
(
CrgUbndReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgUbndReq(func, pst, mBuf)
-CrgUbndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId;
Reason reason;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCrgCfgReq
(
Pst* pst,
CrgCfgTransId transId,
CrgCfgReqInfo * cfgReqInfo
)
-#else
-S16 cmPkCrgCfgReq(pst, spId, transId, cfgReqInfo)
-Pst* pst;
-SpId spId;
-CrgCfgTransId transId;
-CrgCfgReqInfo * cfgReqInfo;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCrgCfgReq
(
CrgCfgReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgCfgReq(func, pst, mBuf)
-CrgCfgReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId;
CrgCfgTransId transId;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCrgCfgCfm
(
Pst* pst,
CrgCfgTransId transId,
uint8_t status
)
-#else
-S16 cmPkCrgCfgCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-CrgCfgTransId transId;
-uint8_t status;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCrgCfgCfm
(
CrgCfgCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgCfgCfm(func, pst, mBuf)
-CrgCfgCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
CrgCfgTransId transId;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgCfgTransId
(
CrgCfgTransId *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgCfgTransId(param, mBuf)
-CrgCfgTransId *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgCfgTransId
(
CrgCfgTransId *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgCfgTransId(param, mBuf)
-CrgCfgTransId *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgBwCfg
(
CrgBwCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgBwCfg(param, mBuf)
-CrgBwCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgBwCfg
(
CrgBwCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgBwCfg(param, mBuf)
-CrgBwCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgRachCfg
(
CrgRachCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgRachCfg(param, mBuf)
-CrgRachCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgRachCfg
(
CrgRachCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgRachCfg(param, mBuf)
-CrgRachCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgCellCfg
(
CrgCellCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgCellCfg(param, mBuf)
-CrgCellCfg *param;
-Buffer *mBuf;
-#endif
{
-
#ifdef EMTC_ENABLE
CMCHKPK(oduUnpackUInt8, param->emtcEnable, mBuf);
#endif
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgCellCfg
(
CrgCellCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgCellCfg(param, mBuf)
-CrgCellCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgUeUlHqCfg
(
CrgUeUlHqCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgUeUlHqCfg(param, mBuf)
-CrgUeUlHqCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 cmPkCrgUeSCellCfg
(
CrgUeSCellInfo *param,
Buffer *mBuf
)
-#else
-static S16 cmPkCrgUeSCellCfg(param, mBuf)
-CrgUeSCellInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(SPkS16, param->rguDlSapId, mBuf);
CMCHKPK(SPkS16, param->rguUlSapId, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 cmUnpkCrgUeSCellCfg
(
CrgUeSCellInfo *param,
Buffer *mBuf
)
-#else
-static S16 cmUnpkCrgUeSCellCfg(param, mBuf)
-CrgUeSCellInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt16, ¶m->sCellId, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->macInst, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgUeSecCellInfo
(
CrgUeSecCellInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgUeSecCellInfo(param, mBuf)
-CrgUeSecCellInfo *param;
-Buffer *mBuf;
-#endif
{
S8 idx;
for(idx = param->numSCells - 1; idx >= 0; idx--)
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgUeSecCellInfo
(
CrgUeSecCellInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgUeSecCellInfo(param, mBuf)
-CrgUeSecCellInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgUeUlHqCfg
(
CrgUeUlHqCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgUeUlHqCfg(param, mBuf)
-CrgUeUlHqCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgUeCfg
(
CrgUeCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgUeCfg(param, mBuf)
-CrgUeCfg *param;
-Buffer *mBuf;
-#endif
{
#ifdef TENB_MULT_CELL_SUPPRT
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgUeCfg
(
CrgUeCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgUeCfg(param, mBuf)
-CrgUeCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgDlLchCfg
(
CrgDlLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgDlLchCfg(param, mBuf)
-CrgDlLchCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgDlLchCfg
(
CrgDlLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgDlLchCfg(param, mBuf)
-CrgDlLchCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgUlLchCfg
(
CrgUlLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgUlLchCfg(param, mBuf)
-CrgUlLchCfg *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt8, param->lcgId, mBuf);
CMCHKPK(oduUnpackUInt8, param->ulTrchType, mBuf);
return ROK;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgUlLchCfg
(
CrgUlLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgUlLchCfg(param, mBuf)
-CrgUlLchCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgLchCfg
(
CrgLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgLchCfg(param, mBuf)
-CrgLchCfg *param;
-Buffer *mBuf;
-#endif
{
/* crg_c_001.main_5 - ADD - Added the packing for LTE_L2_MEAS. */
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgLchCfg
(
CrgLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgLchCfg(param, mBuf)
-CrgLchCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgCfg
(
CrgCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgCfg(param, mBuf)
-CrgCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgCfg
(
CrgCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgCfg(param, mBuf)
-CrgCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgCellRecfg
(
CrgCellRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgCellRecfg(param, mBuf)
-CrgCellRecfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgCellRecfg
(
CrgCellRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgCellRecfg(param, mBuf)
-CrgCellRecfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgUeRecfg
(
CrgUeRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgUeRecfg(param, mBuf)
-CrgUeRecfg *param;
-Buffer *mBuf;
-#endif
{
#ifdef LTE_ADV
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgUeRecfg
(
CrgUeRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgUeRecfg(param, mBuf)
-CrgUeRecfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgLchRecfg
(
CrgLchRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgLchRecfg(param, mBuf)
-CrgLchRecfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgLchRecfg
(
CrgLchRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgLchRecfg(param, mBuf)
-CrgLchRecfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgRecfg
(
CrgRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgRecfg(param, mBuf)
-CrgRecfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgRecfg
(
CrgRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgRecfg(param, mBuf)
-CrgRecfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgDel
(
CrgDel *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgDel(param, mBuf)
-CrgDel *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgDel
(
CrgDel *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgDel(param, mBuf)
-CrgDel *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgRst
(
CrgRst *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgRst(param, mBuf)
-CrgRst *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgRst
(
CrgRst *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgRst(param, mBuf)
-CrgRst *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCrgCfgReqInfo
(
CrgCfgReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCrgCfgReqInfo(param, mBuf)
-CrgCfgReqInfo *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCrgCfgReqInfo
(
CrgCfgReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCrgCfgReqInfo(param, mBuf)
-CrgCfgReqInfo *param;
-Buffer *mBuf;
-#endif
{
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfBndReq
(
Pst* pst,
SuId suId,
SpId spId
)
-#else
-S16 cmPkCtfBndReq(pst, suId, spId)
-Pst* pst;
-SuId suId;
-SpId spId;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfBndReq
(
CtfBndReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfBndReq(func, pst, mBuf)
-CtfBndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId = 0;
SpId spId = 0;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfBndCfm
(
Pst* pst,
SuId suId,
uint8_t status
)
-#else
-S16 cmPkCtfBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfBndCfm
(
CtfBndCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfBndCfm(func, pst, mBuf)
-CtfBndCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId = 0;
uint8_t status;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfUbndReq
(
Pst* pst,
SpId spId,
Reason reason
)
-#else
-S16 cmPkCtfUbndReq(pst, spId, reason)
-Pst* pst;
-SpId spId;
-Reason reason;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfUbndReq
(
CtfUbndReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfUbndReq(func, pst, mBuf)
-CtfUbndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId = 0;
Reason reason = 0;
* File:
*
**********************************************************/
-#ifdef ANSI
static S16 cmRelCtfCfgReq
(
Pst *pst,
CtfCfgReqInfo *cfgReqInfo
)
-#else
-static S16 cmRelCtfCfgReq(pst,cfgReqInfo)
-Pst *pst;
-CtfCfgReqInfo *param;
-#endif
{
/* ctf_c_001.main_4: Added support for vendor specific parameters */
#ifdef CTF_VER3
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfNhKeyInfo
(
CtfNhKeyInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfNhKeyInfo(param, mBuf)
-CtfNhKeyInfo *param;
-Buffer *mBuf;
-#endif
{
S16 idx;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfKenbStarInfo
(
CtfKenbStarInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfKenbStarInfo(param, mBuf)
-CtfKenbStarInfo *param;
-Buffer *mBuf;
-#endif
{
S16 idx;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfAskeyInfo
(
CtfAsKeyInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfAskeyInfo(param, mBuf)
-CtfAsKeyInfo *param;
-Buffer *mBuf;
-#endif
{
-
S16 idx;
-
-
for(idx=31;idx>=0;idx--)
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfKdfReqInfo
(
CtfKdfReqInfo *param,
Buffer *mBuf
- )
-#else
-S16 cmPkCtfKdfReqInfo(param, mBuf)
-CtfKdfReqInfo *param;
-Buffer *mBuf;
-#endif
+)
{
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfKdfReq
(
Pst* pst,
CtfCfgTransId transId,
CtfKdfReqInfo* kdfReqInfo
)
-#else
-S16 cmPkCtfKdfReq(pst, spId, transId, kdfReqInfo)
-Pst* pst;
-SpId spId;
-CtfCfgTransId transId;
-CtfKdfReqInfo* kdfReqInfo;
-#endif
{
Buffer *mBuf = NULLP;
-
-
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
/********************************************************************************************************************************/
/*START OF CNM PACK & UNPACK FUNCTIONS*/
/********************************************************************************************************************************/
-#ifdef ANSI
S16 cmPkCtfCnmVendorSpecificInfo
(
CtfCnmVendorSpecificInfo *param,
Buffer *mBuf
)
-#else
-CtfCnmVendorSpecificInfo *param;
-Buffer *mBuf;
-#endif
{
S32 i;
if(param->numOfVendorSpecifcParam <= CTF_CNM_MAX_VENDOR_PARAMS)
return ROK;
}
-#ifdef ANSI
S16 cmPkCtfCtfCnmCellSyncReq
(
CtfCnmCellSyncReq *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfCtfCnmCellSyncReq(param, mBuf)
-CtfCnmCellSyncReq *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt16, param->nbrEarfcn, mBuf);
}
-#ifdef ANSI
S16 cmPkCtfcfgReqInfo
(
CtfCnmInitSyncReq *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfcfgReqInfo(param, mBuf)
-CtfCnmInitSyncReq *param;
-Buffer *mBuf;
-#endif
{
S32 i;
return ROK;
}
-#ifdef ANSI
S16 cmUnpkCtfCnmVendorSpecificInfo
(
CtfCnmVendorSpecificInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCnmVendorSpecificInfo(param, mBuf)
-CtfCnmVendorSpecificInfo *param;
-Buffer *mBuf;
-#endif
{
S32 i;
return ROK;
}
-#ifdef ANSI
S16 cmUnpkCtfCtfCnmCellSyncReq
(
CtfCnmCellSyncReq *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCtfCnmCellSyncReq(param, mBuf)
-CtfCnmCellSyncReq *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(cmUnpkCtfCnmVendorSpecificInfo, ¶m->ctfCnmVendorSpecificInfo, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->nbrSpecSfCfg, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->nbrCellNRb, mBuf);
}
-#ifdef ANSI
S16 cmUnpkCtfsyncReqInfo
(
CtfCnmInitSyncReq *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfsyncReqInfo(param, mBuf)
-CtfCnmInitSyncReq *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfCnmCellSyncReq
(
Pst* pst,
CtfCfgTransId *transId,
CtfCnmCellSyncReq * cfgReqInfo
)
-#else
-S16 cmPkCtfCnmCellSyncReq(pst, spId, transId, cfgReqInfo)
-Pst* pst;
-SpId spId;
-CtfCfgTransId *transId;
-CtfCnmCellSyncReq * cfgReqInfo;
-#endif
{
Buffer *mBuf = NULLP;
-
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
/* ctf_c_001.main_3 Compilation warning fix with g++ */
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfCnmCellSyncReq
(
CtfCnmCellSyncReqMsg func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCnmCellSyncReq(func, pst, mBuf)
-CtfCnmCellSyncReqMsg func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId = 0;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfCnmInitSyncReq
(
Pst* pst,
CtfCfgTransId *transId,
CtfCnmInitSyncReq * cfgReqInfo
)
-#else
-S16 cmPkCtfCnmInitSyncReq(pst, spId, transId, cfgReqInfo)
-Pst* pst;
-SpId spId;
-CtfCfgTransId *transId;
-CtfCnmInitSyncReq * cfgReqInfo;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfCnmInitSyncReq
(
CtfCnmInitSyncReqMsg func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCnmInitSyncReq(func, pst, mBuf)
-CtfCnmInitSyncReqMsg func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId = 0;
}
/*-----------------------------------------------------------------------------*/
-#ifdef ANSI
S16 cmPkCtfctfCnmMibInfo
(
CtfCnmMibInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfctfCnmMibInfo(param, mBuf)
-CtfCnmMibInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt16, param->sfn, mBuf);
}
-#ifdef ANSI
S16 cmPkCtfctfCnmInitSyncInfo
(
CtfCnmInitSyncInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfctfCnmInitSyncInfo(param, mBuf)
-CtfCnmInitSyncInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt16, param->pci, mBuf);
}
-#ifdef ANSI
S16 cmPkCtfcfgRspInfo
(
CtfCnmInitSyncRsp *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfcfgRspInfo(param, mBuf)
-CtfCnmInitSyncRsp *param;
-Buffer *mBuf;
-#endif
{
S32 i;
-
CMCHKPK(oduUnpackUInt8, param->status, mBuf);
CMCHKPK(oduUnpackUInt16, param->earfcn, mBuf);
if(param->numOfNeighbourInfo <= CTF_CNM_MAX_CELL_SEARCH)
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfCnmInitSyncRsp
(
Pst* pst,
CtfCfgTransId *transId,
CtfCnmInitSyncRsp * cfgRspInfo
)
-#else
-S16 cmPkCtfCnmInitSyncRsp(pst, spId, transId, cfgRspInfo)
-Pst* pst;
-SpId spId;
-CtfCfgTransId *transId;
-CtfCnmInitSyncRsp * cfgRspInfo;
-#endif
{
Buffer *mBuf = NULLP;
}
/*-----------------------------------------------------------------------------*/
-#ifdef ANSI
S16 cmUnpkCtfctfCnmMibInfo
(
CtfCnmMibInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfctfCnmMibInfo(param, mBuf)
-CtfCnmMibInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt8, ¶m->dlSystemBandWidht, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->phichResource, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->phichDuration, mBuf);
}
-#ifdef ANSI
S16 cmUnpkctfCnmInitSyncInfo
(
CtfCnmInitSyncInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkctfCnmInitSyncInfo(param, mBuf)
-CtfCnmInitSyncInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(cmUnpkCtfCnmVendorSpecificInfo, ¶m->ctfCnmVendorSpecificInfo, mBuf);
}
-#ifdef ANSI
S16 cmUnpkCtfCnmInitSyncRspMsg
(
CtfCnmInitSyncRsp *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCnmInitSyncRspMsg(param, mBuf)
-CtfCnmInitSyncRsp *param;
-Buffer *mBuf;
-#endif
{
S32 i;
-
CMCHKUNPK(oduPackUInt8, ¶m->numOfNeighbourInfo, mBuf);
for(i=0; (i < param->numOfNeighbourInfo)&&(i < CTF_CNM_MAX_CELL_SEARCH); i++)
{
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfCnmInitSyncRsp
(
CtfCnmInitSyncRspMsg func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCnmInitSyncRsp(func, pst, mBuf)
-CtfCnmInitSyncRspMsg func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId = 0;
}
/*-----------------------------------------------------------------------*/
-#ifdef ANSI
S16 cmPkCtfCellSyncRsp
(
CtfCnmCellSyncRsp *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfCellSyncRsp(param, mBuf)
-CtfCnmCellSyncRsp *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt8, param->status, mBuf);
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfCnmCellSyncRsp
(
Pst* pst,
CtfCfgTransId *transId,
CtfCnmCellSyncRsp * cfgRspInfo
)
-#else
-S16 cmPkCtfCnmCellSyncRsp(pst, spId, transId, cfgRspInfo)
-Pst* pst;
-SpId spId;
-CtfCfgTransId *transId;
-CtfCnmCellSyncRsp * cfgRspInfo;
-#endif
{
Buffer *mBuf = NULLP;
}
/*------------------------------------------------------------*/
-#ifdef ANSI
S16 cmUnpkCtfCnmSyncRspMsg
(
CtfCnmCellSyncRsp *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCnmSyncRspMsg(param, mBuf)
-CtfCnmCellSyncRsp *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt8, ¶m->status, mBuf);
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfCnmCellSyncRsp
(
CtfCnmCellSyncRspMsg func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCnmCellSyncRsp(func, pst, mBuf)
-CtfCnmCellSyncRspMsg func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId = 0;
}
/*---------------------------------------------------------------*/
-#ifdef ANSI
S16 cmPkCtfcfgIndInfo
(
CtfCnmCellSyncInd *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfcfgIndInfo(param, mBuf)
-CtfCnmCellSyncInd *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt8, param->status, mBuf);
CMCHKPK(cmPkCtfCnmVendorSpecificInfo, ¶m->ctfCnmVendorSpecificInfo, mBuf);
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfCnmCellSyncInd
(
Pst* pst,
CtfCfgTransId *transId,
CtfCnmCellSyncInd * cfgIndInfo
)
-#else
-S16 cmPkCtfCnmCellSyncInd(pst, spId, transId, cfgIndInfo)
-Pst* pst;
-SpId spId;
-CtfCfgTransId *transId;
-CtfCnmCellSyncInd * cfgIndInfo;
-#endif
{
Buffer *mBuf = NULLP;
/*---------------------------------------------------------------*/
-#ifdef ANSI
S16 cmUnpkCtfCnmSyncIndMsg
(
CtfCnmCellSyncInd *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCnmSyncIndMsg(param, mBuf)
-CtfCnmCellSyncInd *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(cmUnpkCtfCnmVendorSpecificInfo, ¶m->ctfCnmVendorSpecificInfo, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->status, mBuf);
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfCnmCellSyncInd
(
CtfCnmCellSyncIndMsg func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCnmCellSyncInd(func, pst, mBuf)
-CtfCnmCellSyncIndMsg func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId = 0;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfCfgReq
(
Pst* pst,
CtfCfgTransId transId,
CtfCfgReqInfo* cfgReqInfo
)
-#else
-S16 cmPkCtfCfgReq(pst, spId, transId, cfgReqInfo)
-Pst* pst;
-SpId spId;
-CtfCfgTransId transId;
-CtfCfgReqInfo* cfgReqInfo;
-#endif
{
Buffer *mBuf = NULLP;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfNhKeyInfo
(
CtfNhKeyInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfNhKeyInfo(param, mBuf)
-CtfNhKeyInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
-
-
+
CMCHKUNPK(oduPackUInt16, ¶m->dlCarrFreq, mBuf);
CMCHKUNPK(oduPackUInt16, ¶m->physCellId, mBuf);
for(idx=0;idx<32;idx++)
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfKenbStarInfo
(
CtfKenbStarInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfKenbStarInfo(param, mBuf)
-CtfKenbStarInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
-
CMCHKUNPK(oduPackUInt16, ¶m->dlCarrFreq, mBuf);
CMCHKUNPK(oduPackUInt16, ¶m->physCellId, mBuf);
for(idx=0;idx<32;idx++)
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfAskeyInfo
(
CtfAsKeyInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfAskeyInfo(param, mBuf)
-CtfAskeyInfo *param;
-Buffer *mBuf;
-#endif
{
-
uint8_t idx;
-
CMCHKUNPK(oduPackUInt8, ¶m->intgAlgoType, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->ciphAlgoType, mBuf);
for(idx=0;idx<32;idx++)
* File:
*
* **********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfKdfReqInfo
(
CtfKdfReqInfo *param,
Buffer *mBuf
- )
-#else
-S16 cmUnpkCtfKdfReqInfo(param, mBuf)
-CtfKdfReqInfo *param;
-Buffer *mBuf;
-#endif
+)
{
-
CMCHKUNPK(oduPackUInt8, ¶m->keyDerType, mBuf);
switch (param->keyDerType)
{
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfKdfReq
(
CtfKdfReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfKdfReq(func, pst, mBuf)
-CtfKdfReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId = 0;
CtfCfgTransId transId;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfCfgReq
(
CtfCfgReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCfgReq(func, pst, mBuf)
-CtfCfgReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId = 0;
CtfCfgTransId transId;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfNhKeyCfmInfo
(
CtfNhKeyCfmInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfNhKeyCfmInfo(param, mBuf)
-CtfNhKeyCfmInfo *param;
-Buffer *mBuf;
-#endif
{
S16 idx;
-
for(idx=31;idx>=0;idx--)
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfKenbStarCfmInfo
(
CtfKenbStarCfmInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfKenbStarCfmInfo(param, mBuf)
-CtfKenbStarCfmInfo *param;
-Buffer *mBuf;
-#endif
{
S16 idx;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfAskeyCfmInfo
(
CtfAskeyCfmInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfAskeyCfmInfo(param, mBuf)
-CtfAskeyCfmInfo *param;
-Buffer *mBuf;
-#endif
{
S16 idx;
-
for(idx=15;idx>=0;idx--)
{
CMCHKPK(oduUnpackUInt8,param->cpCiphKey[idx],mBuf);
* File:
*
* **********************************************************/
-#ifdef ANSI
S16 cmPkCtfKdfCfmInfo
(
CtfKdfCfmInfo *param,
Buffer *mBuf
- )
-#else
-S16 cmPkCtfKdfCfmInfo(param, mBuf)
-CtfKdfCfmInfo *param;
-Buffer *mBuf;
-#endif
+)
{
-
switch (param->keyDerType)
- {
+ {
case CTF_KDF_TYPE1:
CMCHKPK(cmPkCtfAskeyCfmInfo, ¶m->u.kEnbInf, mBuf);
break;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfKdfCfm
(
Pst* pst,
CtfKdfCfmInfo *kdfCfmInfo,
uint8_t status
)
-#else
-S16 cmPkCtfKdfCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-CtfCfgTransId transId;
-uint8_t status;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfCfgCfm
(
Pst* pst,
CtfCfgTransId transId,
uint8_t status
)
-#else
-S16 cmPkCtfCfgCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-CtfCfgTransId transId;
-uint8_t status;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfEnbStopInd
(
Pst* pst,
SuId suId,
CtfCfgTransId transId
)
-#else
-S16 cmPkCtfEnbStopInd(pst, suId, transId)
-Pst* pst;
-SuId suId;
-CtfCfgTransId transId;
-#endif
{
Buffer *mBuf = NULLP;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfNhKeyCfmInfo
(
CtfNhKeyCfmInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfNhKeyCfmInfo(param, mBuf)
-CtfNhKeyCfmInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
-
for(idx=0;idx<32;idx++)
{
CMCHKUNPK(oduPackUInt8,¶m->secKey[idx],mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfKenbStarCfmInfo
(
CtfKenbStarCfmInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfKenbStarCfmInfo(param, mBuf)
-CtfKenbStarCfmInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
-
for(idx=0;idx<32;idx++)
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfAskeyCfmInfo
(
CtfAskeyCfmInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfAskeyCfmInfo(param, mBuf)
-CtfAskeyCfmInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* File:
*
* **********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfKdfCfmInfo
(
CtfKdfCfmInfo *param,
Buffer *mBuf
- )
-#else
-S16 cmUnpkCtfKdfCfmInfo(param, mBuf)
-CtfKdfCfmInfo *param;
-Buffer *mBuf;
-#endif
+)
{
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfKdfCfm
(
CtfKdfCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCfgCfm(func, pst, mBuf)
-CtfKdfCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId = 0;
CtfCfgTransId transId;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfCfgCfm
(
CtfCfgCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCfgCfm(func, pst, mBuf)
-CtfCfgCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId = 0;
CtfCfgTransId transId;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfEnbStopInd
(
CtfEnbStopInd func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfEnbStopInd(func, pst, mBuf)
-CtfEnbStopInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId = 0;
CtfCfgTransId transId;
-
if (SUnpkS16(&suId, mBuf) != ROK) {
SPutMsg(mBuf);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfUeIdChgReq
(
Pst* pst,
CtfUeInfo * ueInfo,
CtfUeInfo * newUeInfo
)
-#else
-S16 cmPkCtfUeIdChgReq(pst, spId, transId, ueInfo, newUeInfo)
-Pst* pst;
-SpId spId;
-CtfCfgTransId transId;
-CtfUeInfo * ueInfo;
-CtfUeInfo * newUeInfo;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfUeIdChgReq
(
CtfUeIdChgReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfUeIdChgReq(func, pst, mBuf)
-CtfUeIdChgReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId = 0;
CtfCfgTransId transId;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfUeIdChgCfm
(
Pst* pst,
CtfUeInfo * ueInfo,
CmStatus status
)
-#else
-S16 cmPkCtfUeIdChgCfm(pst, suId, transId, ueInfo, status)
-Pst* pst;
-SuId suId;
-CtfCfgTransId transId;
-CtfUeInfo * ueInfo;
-CmStatus status;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkCtfUeIdChgCfm
(
CtfUeIdChgCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfUeIdChgCfm(func, pst, mBuf)
-CtfUeIdChgCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId = 0;
CtfCfgTransId transId;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfCfgTransId
(
CtfCfgTransId *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfCfgTransId(param, mBuf)
-CtfCfgTransId *param;
-Buffer *mBuf;
-#endif
{
S32 i;
-
for (i=CTF_CFG_TRANSID_SIZE-1; i >= 0; i--) {
CMCHKPK(oduUnpackUInt8, param->trans[i], mBuf);
}
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfCfgTransId
(
CtfCfgTransId *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCfgTransId(param, mBuf)
-CtfCfgTransId *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfUeInfo
(
CtfUeInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfUeInfo(param, mBuf)
-CtfUeInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(cmPkLteRnti, param->ueId, mBuf);
CMCHKPK(cmPkLteCellId, param->cellId, mBuf);
return ROK;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfUeInfo
(
CtfUeInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfUeInfo(param, mBuf)
-CtfUeInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(cmUnpkLteCellId, ¶m->cellId, mBuf);
CMCHKUNPK(cmUnpkLteRnti, ¶m->ueId, mBuf);
return ROK;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfBwCfgInfo
(
CtfBwCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfBwCfgInfo(param, mBuf)
-CtfBwCfgInfo *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfBwCfgInfo
(
CtfBwCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfBwCfgInfo(param, mBuf)
-CtfBwCfgInfo *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfTxSchemeCfg
(
CtfTxSchemeCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfTxSchemeCfg(param, mBuf)
-CtfTxSchemeCfg *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt32, param->cycPfx, mBuf);
CMCHKPK(oduUnpackUInt32, param->scSpacing, mBuf);
CMCHKPK(oduUnpackUInt32, param->duplexMode, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfTxSchemeCfg
(
CtfTxSchemeCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfTxSchemeCfg(param, mBuf)
-CtfTxSchemeCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfAntennaCfgInfo
(
CtfAntennaCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfAntennaCfgInfo(param, mBuf)
-CtfAntennaCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt32, param->antPortsCnt, mBuf);
return ROK;
}
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfAntennaCfgInfo
(
CtfAntennaCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfAntennaCfgInfo(param, mBuf)
-CtfAntennaCfgInfo *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfPrachCfgInfo
(
CtfPrachCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfPrachCfgInfo(param, mBuf)
-CtfPrachCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfPrachCfgInfo
(
CtfPrachCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfPrachCfgInfo(param, mBuf)
-CtfPrachCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt8, ¶m->pres, mBuf);
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfPdschCfgInfo
(
CtfPdschCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfPdschCfgInfo(param, mBuf)
-CtfPdschCfgInfo *param;
-Buffer *mBuf;
-#endif
{
/*ctf_c_001.main_1*/
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfPdschCfgInfo
(
CtfPdschCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfPdschCfgInfo(param, mBuf)
-CtfPdschCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt8, ¶m->pres, mBuf);
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfPuschCfgBasic
(
CtfPuschCfgBasic *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfPuschCfgBasic(param, mBuf)
-CtfPuschCfgBasic *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt8, param->enable64QAM, mBuf);
CMCHKPK(oduUnpackUInt8, param->hoppingOffset, mBuf);
CMCHKPK(oduUnpackUInt32, param->hoppingMode, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfPuschCfgBasic
(
CtfPuschCfgBasic *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfPuschCfgBasic(param, mBuf)
-CtfPuschCfgBasic *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
-
CMCHKUNPK(oduPackUInt8, ¶m->noOfsubBands, mBuf);
CMCHKUNPK(oduPackUInt32, (uint32_t *)&tmpEnum, mBuf);
param->hoppingMode = (CtfPuschHoppingMode)tmpEnum;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfPuschUlRS
(
CtfPuschUlRS *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfPuschUlRS(param, mBuf)
-CtfPuschUlRS *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt8, param->cycShift, mBuf);
CMCHKPK(oduUnpackUInt8, param->grpNum, mBuf);
CMCHKPK(oduUnpackUInt8, param->seqHopEnabled, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfPuschUlRS
(
CtfPuschUlRS *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfPuschUlRS(param, mBuf)
-CtfPuschUlRS *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfPuschCfgInfo
(
CtfPuschCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfPuschCfgInfo(param, mBuf)
-CtfPuschCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfPuschCfgInfo
(
CtfPuschCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfPuschCfgInfo(param, mBuf)
-CtfPuschCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt8, ¶m->pres, mBuf);
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfPhichCfgInfo
(
CtfPhichCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfPhichCfgInfo(param, mBuf)
-CtfPhichCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfPhichCfgInfo
(
CtfPhichCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfPhichCfgInfo(param, mBuf)
-CtfPhichCfgInfo *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
-
CMCHKUNPK(oduPackUInt8, ¶m->pres, mBuf);
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfPucchCfgInfo
(
CtfPucchCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfPucchCfgInfo(param, mBuf)
-CtfPucchCfgInfo *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfPucchCfgInfo
(
CtfPucchCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfPucchCfgInfo(param, mBuf)
-CtfPucchCfgInfo *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
-
CMCHKUNPK(oduPackUInt8, ¶m->pres, mBuf);
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfSrsUlCfgInfo
(
CtfSrsUlCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfSrsUlCfgInfo(param, mBuf)
-CtfSrsUlCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfSrsUlCfgInfo
(
CtfSrsUlCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfSrsUlCfgInfo(param, mBuf)
-CtfSrsUlCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt8, ¶m->pres, mBuf);
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfTddSfCfgInfo
(
CtfTddSfCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfTddSfCfgInfo(param, mBuf)
-CtfTddSfCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfVendorSpecParams
(
CtfVendorSpecific *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfVendorSpecParams(param, mBuf)
-CtfVendorSpecific *param;
-Buffer *mBuf;
-#endif
{
if( param->buffLen != 0) {
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfVendorSpecParams
(
Pst *pst,
CtfVendorSpecific *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfVendorSpecParams(pst, param, mBuf)
-Pst *pst;
-CtfVendorSpecific *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt16, ¶m->buffLen, mBuf);
if(param->buffLen != 0) {
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfTddSfCfgInfo
(
CtfTddSfCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfTddSfCfgInfo(param, mBuf)
-CtfTddSfCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt8, ¶m->pres, mBuf);
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
* File:
*
**********************************************************/
-#ifdef ANSI
static S16 cmPkCtfUnLicnsdCellParam
(
CtfUnLicnsdCfgInfo *param,
Buffer *mBuf
)
-#else
-static S16 cmPkCtfUnLicnsdCellParam(param, mBuf)
-CtfUnLicnsdCfgInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfCellCfgInfo
(
CtfCellCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfCellCfgInfo(param, mBuf)
-CtfCellCfgInfo *param;
-Buffer *mBuf;
-#endif
{
#ifdef EMTC_ENABLE
S32 i;
* File:
*
**********************************************************/
-#ifdef ANSI
static S16 cmUnpkCtfUnLicnsdCellParam
(
CtfUnLicnsdCfgInfo *param,
Buffer *mBuf
)
-#else
-static S16 cmUnpkCtfUnLicnsdCellParam(param, mBuf)
-CtfUnLicnsdCfgInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
-
CMCHKUNPK(oduPackUInt8, ¶m->numFreq, mBuf);
for(idx = 0; idx < param->numFreq; idx++)
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfCellCfgInfo
(
CtfCellCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCellCfgInfo(param, mBuf)
-CtfCellCfgInfo *param;
-Buffer *mBuf;
-#endif
{
#ifdef EMTC_ENABLE
S32 i;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfCellRecfgInfo
(
CtfCellRecfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfCellRecfgInfo(param, mBuf)
-CtfCellRecfgInfo *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfCellRecfgInfo
(
CtfCellRecfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCellRecfgInfo(param, mBuf)
-CtfCellRecfgInfo *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfDedPdschCfgInfo
(
CtfDedPdschCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfDedPdschCfgInfo(param, mBuf)
-CtfDedPdschCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
CMCHKPK(oduUnpackUInt32, param->pA, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfDedPdschCfgInfo
(
CtfDedPdschCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfDedPdschCfgInfo(param, mBuf)
-CtfDedPdschCfgInfo *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfDedPucchCfgInfo
(
CtfDedPucchCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfDedPucchCfgInfo(param, mBuf)
-CtfDedPucchCfgInfo *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfDedPucchCfgInfo
(
CtfDedPucchCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfDedPucchCfgInfo(param, mBuf)
-CtfDedPucchCfgInfo *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfDedPuschCfgInfo
(
CtfDedPuschCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfDedPuschCfgInfo(param, mBuf)
-CtfDedPuschCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfDedPuschCfgInfo
(
CtfDedPuschCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfDedPuschCfgInfo(param, mBuf)
-CtfDedPuschCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt8, ¶m->pres, mBuf);
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfCqiRptModePeriodic
(
CtfCqiRptModePeriodic *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfCqiRptModePeriodic(param, mBuf)
-CtfCqiRptModePeriodic *param;
-Buffer *mBuf;
-#endif
{
/* ctf_c_001.main_2: added packning for cqiMask*/
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfCqiRptModePeriodic
(
CtfCqiRptModePeriodic *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCqiRptModePeriodic(param, mBuf)
-CtfCqiRptModePeriodic *param;
-Buffer *mBuf;
-#endif
{
#ifdef CTF_VER1
uint32_t tmpEnum;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfCqiReportCfgInfo
(
CtfCqiReportCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfCqiReportCfgInfo(param, mBuf)
-CtfCqiReportCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfCqiReportCfgInfo
(
CtfCqiReportCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCqiReportCfgInfo(param, mBuf)
-CtfCqiReportCfgInfo *param;
-Buffer *mBuf;
-#endif
{
#if defined (CTF_VER1) || defined (CTF_VER2)
uint32_t tmpEnum;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfDedSrsUlCfgInfo
(
CtfDedSrsUlCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfDedSrsUlCfgInfo(param, mBuf)
-CtfDedSrsUlCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfDedSrsUlCfgInfo
(
CtfDedSrsUlCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfDedSrsUlCfgInfo(param, mBuf)
-CtfDedSrsUlCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt8, ¶m->pres, mBuf);
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfDedSRCfgInfo
(
CtfDedSRCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfDedSRCfgInfo(param, mBuf)
-CtfDedSRCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
/*ctf_c_001.main_1*/
if(param->pres != FALSE)
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfDedSRCfgInfo
(
CtfDedSRCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfDedSRCfgInfo(param, mBuf)
-CtfDedSRCfgInfo *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfDedAntCfgInfo
(
CtfDedAntCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfDedAntCfgInfo(param, mBuf)
-CtfDedAntCfgInfo *param;
-Buffer *mBuf;
-#endif
{
#ifdef CTF_VER2
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfDedAntCfgInfo
(
CtfDedAntCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfDedAntCfgInfo(param, mBuf)
-CtfDedAntCfgInfo *param;
-Buffer *mBuf;
-#endif
{
#ifdef CTF_VER2
S16 idx;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfUeSecCellCfgInfo
(
CtfUeSecCellCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfUeSecCellCfgInfo(*param, mBuf)
-CtfUeSecCellCfgInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt16, param->sCellId, mBuf);
CMCHKPK(oduUnpackUInt8, param->sCellIdx, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfSecCellCfgInfo
(
CtfSecCellCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfSecCellCfgInfo(*param, mBuf)
-CtfSecCellCfgInfo *param;
-Buffer *mBuf;
-#endif
{
S8 idx;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfUeSecCellCfgInfo
(
CtfUeSecCellCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfUeSecCellCfgInfo(*param, mBuf)
-CtfUeSecCellCfgInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->sCellIdx, mBuf);
CMCHKUNPK(oduPackUInt16, ¶m->sCellId, mBuf);
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfSecCellCfgInfo
(
CtfSecCellCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfSecCellCfgInfo(*param, mBuf)
-CtfSecCellCfgInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfUeCatCfgInfo
(
CtfUeCatCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfUeCatCfgInfo(param, mBuf)
-CtfUeCatCfgInfo *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfUeCatCfgInfo
(
CtfUeCatCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfUeCatCfgInfo(param, mBuf)
-CtfUeCatCfgInfo *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfDedCfgInfo
(
CtfDedCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfDedCfgInfo(param, mBuf)
-CtfDedCfgInfo *param;
-Buffer *mBuf;
-#endif
{
#ifdef EMTC_ENABLE
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfDedCfgInfo
(
CtfDedCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfDedCfgInfo(param, mBuf)
-CtfDedCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(cmUnpkLteCellId, ¶m->cellId, mBuf);
CMCHKUNPK(cmUnpkLteRnti, ¶m->ueId, mBuf);
CMCHKUNPK(cmUnpkCtfUeCatCfgInfo, ¶m->ueCatCfg, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfDedRecfgInfo
(
CtfDedRecfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfDedRecfgInfo(param, mBuf)
-CtfDedRecfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(cmPkCtfSecCellCfgInfo, ¶m->sCellInfo,mBuf);
/*ctf_c_001.main_1*/
CMCHKPK(cmPkCtfDedAntCfgInfo, ¶m->antInfo, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfDedRecfgInfo
(
CtfDedRecfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfDedRecfgInfo(param, mBuf)
-CtfDedRecfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(cmUnpkLteCellId, ¶m->cellId, mBuf);
CMCHKUNPK(cmUnpkLteRnti, ¶m->ueId, mBuf);
/* ctf_c_001.main_4: ReEst Fix */
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfCellReleaseInfo
(
CtfCellReleaseInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfCellReleaseInfo(param, mBuf)
-CtfCellReleaseInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(cmPkLteCellId, param->cellId, mBuf);
return ROK;
}
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfCellReleaseInfo
(
CtfCellReleaseInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCellReleaseInfo(param, mBuf)
-CtfCellReleaseInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(cmUnpkLteCellId, ¶m->cellId, mBuf);
return ROK;
}
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfDedReleaseInfo
(
CtfDedReleaseInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfDedReleaseInfo(param, mBuf)
-CtfDedReleaseInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(cmPkCtfSecCellCfgInfo, ¶m->sCellInfo,mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfDedReleaseInfo
(
CtfDedReleaseInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfDedReleaseInfo(param, mBuf)
-CtfDedReleaseInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(cmUnpkLteCellId, ¶m->cellId, mBuf);
CMCHKUNPK(cmUnpkLteRnti, ¶m->ueId, mBuf);
CMCHKUNPK(cmUnpkCtfSecCellCfgInfo, ¶m->sCellInfo,mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfCfgInfo
(
CtfCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfCfgInfo(param, mBuf)
-CtfCfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
switch(param->cfgElem) {
case CTF_UE_CFG:
CMCHKPK(cmPkCtfDedCfgInfo, ¶m->u.dedCfg, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfCfgInfo
(
CtfCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCfgInfo(param, mBuf)
-CtfCfgInfo *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfReCfgInfo
(
CtfReCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfReCfgInfo(param, mBuf)
-CtfReCfgInfo *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfReCfgInfo
(
CtfReCfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfReCfgInfo(param, mBuf)
-CtfReCfgInfo *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfReleaseInfo
(
CtfReleaseInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfReleaseInfo(param, mBuf)
-CtfReleaseInfo *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfReleaseInfo
(
CtfReleaseInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfReleaseInfo(param, mBuf)
-CtfReleaseInfo *param;
-Buffer *mBuf;
-#endif
{
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfCfgReqInfo
(
CtfCfgReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfCfgReqInfo(param, mBuf)
-CtfCfgReqInfo *param;
-Buffer *mBuf;
-#endif
{
-
/* ctf_c_001.main_4: Added support for vendor specific parameters */
#ifdef CTF_VER3
CMCHKPK(cmPkCtfVendorSpecParams, ¶m->vendorParams, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfCfgReqInfo
(
Pst *pst,
CtfCfgReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCfgReqInfo(param, mBuf)
-Pst *pst;
-CtfCfgReqInfo *param;
-Buffer *mBuf;
-#endif
{
#ifdef CTF_VER3
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfCellPwrcfgInfo
(
CtfCellRecfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfCellPwrcfgInfo(param, mBuf)
-CtfCellRecfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
/* Added the pack for newly added reference signal Power*/
CMCHKPK(oduUnpackUInt32, (uint32_t)param->ctfCellStatus, mBuf);
CMCHKPK(SPkS16, param->pilotSigPwr, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfCellPwrcfgInfo
(
CtfCellRecfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCellPwrcfgInfo(param, mBuf)
-CtfCellRecfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
/* ctf_c_001.main_3: Added the unpack for newly added fileds inside the CFG structure*/
CMCHKUNPK(cmUnpkLteCellId, ¶m->cellId, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfCellStop
(
CtfCellRecfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfCellStop(param, mBuf)
-CtfCellRecfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
/* Added the pack for newly added reference signal Power*/
CMCHKPK(oduUnpackUInt32, (uint32_t)param->ctfCellStatus, mBuf);
CMCHKPK(SPkS16, param->pilotSigPwr, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkCtfCellStop
(
CtfCellRecfgInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfCellStop(param, mBuf)
-CtfCellRecfgInfo *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(cmUnpkLteCellId, ¶m->cellId, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkPerRemScanCellInfo
(
CtfPeriodicRemCellInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkPerRemScanCellInfo(param, mBuf)
-CtfPeriodicRemCellInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt16,param->pci, mBuf);
* File:
*
**********************************************************/
-#ifdef ANSI
S16 cmPkCtfPeriodicCellSearchRsp
(
CtfPeriodicRemCellSearchRsp *param,
Buffer *mBuf
)
-#else
-S16 cmPkCtfPeriodicCellSearchRsp(param, mBuf)
-CtfPeriodicRemCellSearchRsp *param;
-Buffer *mBuf;
-#endif
{
S16 idx;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCtfPeriodicRemCellSearchRsp
(
Pst* pst,
CtfCfgTransId *transId,
CtfPeriodicRemCellSearchRsp *CellCfgRsp
)
-#else
-S16 cmPkCtfPeriodicRemCellSearchRsp(pst, spId, transId, CellCfgRsp)
-Pst* pst;
-SpId spId;
-CtfCfgTransId *transId;
-CtfPeriodicRemCellSearchRsp *CellCfgRsp;
-#endif
{
Buffer *mBuf = NULLP;
return (SPstTsk(pst,mBuf));
}
-#ifdef ANSI
S16 cmUnpkCtfPerRemScanCellInfo
(
CtfPeriodicRemCellInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfPerRemScanCellInfo(param, mBuf)
-CtfPeriodicRemCellInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->numTx, mBuf);
return ROK;
}
-#ifdef ANSI
S16 cmUnpkCtfPerRemCellSrch
(
CtfPeriodicRemCellSearchRsp *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkCtfPerRemCellSrch(param, mBuf)
-CtfPeriodicRemCellSearchRsp *param;
-Buffer *mBuf;
-#endif
{
S16 idx;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkPerRemCellSrchRsp
(
CtfPerRemCellSrchRsp func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkPerRemCellSrchRsp(func, pst, mBuf)
-CtfPerRemCellSrchRsp func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId = 0;
CtfCfgTransId transId;
/****************************************************************************
* Packing Functions
***************************************************************************/
-#ifdef ANSI
-S16 cmPkKwuBndReq
-(
-Pst * pst,
-SuId suId,
-SpId spId
-)
-#else
-S16 cmPkKwuBndReq(pst, suId, spId)
-Pst * pst;
-SuId suId;
-SpId spId;
-#endif
+S16 cmPkKwuBndReq(Pst * pst,SuId suId,SpId spId)
{
S16 ret1;
Buffer *mBuf;
-
mBuf = NULLP;
if((ret1 = SGetMsg(pst->region, pst->pool, &mBuf)) != ROK)
}
\f
-#ifdef ANSI
-S16 cmPkKwuBndCfm
-(
-Pst * pst,
-SuId suId,
-uint8_t status
-)
-#else
-S16 cmPkKwuBndCfm(pst, suId, status)
-Pst * pst;
-SuId suId;
-uint8_t status;
-#endif
+S16 cmPkKwuBndCfm(Pst * pst,SuId suId,uint8_t status)
{
S16 ret1;
Buffer *mBuf;
}
\f
-#ifdef ANSI
-S16 cmPkKwuUbndReq
-(
-Pst * pst,
-SuId suId,
-Reason reason
-)
-#else
-S16 cmPkKwuUbndReq(pst, suId, reason)
-Pst * pst;
-SuId suId;
-Reason reason;
-#endif
+S16 cmPkKwuUbndReq(Pst * pst,SuId suId,Reason reason)
{
S16 ret1;
Buffer *mBuf;
return (SPstTsk(pst,mBuf));
} /* cmPkKwuUbndReq */
-#ifdef ANSI
-uint8_t cmPkKwuDatReqInfo
-(
-KwuDatReqInfo *param,
-Buffer *mBuf
-)
-#else
-uint8_t cmPkKwuDatReqInfo(param, mBuf)
-KwuDatReqInfo *param;
-Buffer *mBuf;
-#endif
+uint8_t cmPkKwuDatReqInfo(KwuDatReqInfo *param,Buffer *mBuf)
{
-
-
#ifdef CCPU_OPT
switch(param->lcType) {
case CM_LTE_LCH_CCCH:
} /* cmPkKwuDatReqInfo */
\f
-#ifdef ANSI
-uint8_t cmPkKwuDatReq
-(
-Pst * pst,
-KwuDatReqInfo* datReq,
-Buffer * mBuf
-)
-#else
-uint8_t cmPkKwuDatReq(pst, datReq, mBuf)
-Pst * pst;
-KwuDatReqInfo* datReq;
-Buffer * mBuf;
-#endif
+uint8_t cmPkKwuDatReq(Pst * pst,KwuDatReqInfo* datReq,Buffer * mBuf)
{
#ifdef LCKWU
#if (ERRCLASS & ERRCLS_ADD_RES)
} /* cmPkKwuDatReq */
\f
-#ifdef ANSI
-uint8_t cmPkKwuDatIndInfo
-(
-KwuDatIndInfo *param,
-Buffer *mBuf
-)
-#else
-uint8_t cmPkKwuDatIndInfo(param, mBuf)
-KwuDatIndInfo *param;
-Buffer *mBuf;
-#endif
+uint8_t cmPkKwuDatIndInfo(KwuDatIndInfo *param,Buffer *mBuf)
{
CMCHKPK(oduUnpackUInt8, param->isOutOfSeq, mBuf);
}
\f
-#ifdef ANSI
-uint8_t cmPkKwuDatInd
-(
-Pst * pst,
-KwuDatIndInfo* datInd,
-Buffer * mBuf
-)
-#else
-uint8_t cmPkKwuDatInd(pst, datInd, mBuf)
-Pst * pst;
-KwuDatIndInfo* datInd;
-Buffer * mBuf;
-#endif
+uint8_t cmPkKwuDatInd(Pst * pst,KwuDatIndInfo* datInd,Buffer * mBuf)
{
#ifdef LCKWU
S16 ret1 = ROK;
} /* cmPkKwuDatInd */
\f
-#ifdef ANSI
-S16 cmPkKwuDatCfmInfo
-(
-KwuDatCfmInfo *param,
-Buffer *mBuf
-)
-#else
-S16 cmPkKwuDatCfmInfo(param, mBuf)
-KwuDatCfmInfo *param;
-Buffer *mBuf;
-#endif
+S16 cmPkKwuDatCfmInfo(KwuDatCfmInfo *param,Buffer *mBuf)
{
register uint32_t iter;
} /* cmPkKwuDatCfmInfo */
\f
-#ifdef ANSI
-S16 cmPkKwuDatCfm
-(
-Pst * pst,
-SuId suId,
-KwuDatCfmInfo* datCfm
-)
-#else
-S16 cmPkKwuDatCfm(pst, suId, datCfm)
-Pst * pst;
-SuId suId;
-KwuDatCfmInfo* datCfm;
-#endif
+S16 cmPkKwuDatCfm(Pst * pst,SuId suId,KwuDatCfmInfo* datCfm)
{
#if (ERRCLASS & ERRCLS_ADD_RES)
S16 ret1= ROK;
} /* cmPkKwuDatCfm */
\f
-#ifdef ANSI
-S16 cmPkKwuDiscSduReq
-(
-Pst * pst,
-SpId spId,
-KwuDiscSduInfo* discSdu
-)
-#else
-S16 cmPkKwuDiscSduReq(pst, spId, discSdu)
-Pst * pst;
-SpId spId;
-KwuDiscSduInfo* discSdu;
-#endif
+S16 cmPkKwuDiscSduReq(Pst * pst,SpId spId,KwuDiscSduInfo* discSdu)
{
#ifdef LCKWU
S16 ret1;
} /* cmPkKwuDiscSduReq */
\f
-#ifdef ANSI
-S16 cmPkKwuStaIndInfo
-(
-KwuStaIndInfo *param,
-Buffer *mBuf
-)
-#else
-S16 cmPkKwuStaIndInfo(param, mBuf)
-KwuStaIndInfo *param;
-Buffer *mBuf;
-#endif
+S16 cmPkKwuStaIndInfo(KwuStaIndInfo *param,Buffer *mBuf)
{
S16 i;
return ROK;
}
-#ifdef ANSI
-S16 cmPkKwuFlowCntrlIndInfo
-(
-KwuFlowCntrlIndInfo *param,
-Buffer *mBuf
-)
-#else
-S16 cmPkKwuFlowCntrlIndInfo(param, mBuf)
-KwuFlowCntrlIndInfo *param;
-Buffer *mBuf;
-#endif
+S16 cmPkKwuFlowCntrlIndInfo(KwuFlowCntrlIndInfo *param,Buffer *mBuf)
{
CMCHKPK(oduUnpackUInt32, param->pktAdmitCnt, mBuf);
return ROK;
} /* cmPkKwuFlowCntrlIndInfo */
-#ifdef ANSI
-S16 cmUnpkKwuFlowCntrlIndInfo
-(
-KwuFlowCntrlIndInfo *param,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuFlowCntrlIndInfo(param, mBuf)
-KwuFlowCntrlIndInfo *param;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuFlowCntrlIndInfo(KwuFlowCntrlIndInfo *param,Buffer *mBuf)
{
CMCHKUNPK(cmUnpkLteRlcId, ¶m->rlcId, mBuf);
} /* cmUnpkKwuFlowCntrlIndInfo */
\f
-#ifdef ANSI
-S16 cmPkKwuStaInd
-(
-Pst * pst,
-SuId suId,
-KwuStaIndInfo* staInd
-)
-#else
-S16 cmPkKwuStaInd(pst, suId, staInd)
-Pst * pst;
-SuId suId;
-KwuStaIndInfo* staInd;
-#endif
+S16 cmPkKwuStaInd(Pst * pst,SuId suId,KwuStaIndInfo* staInd)
{
#ifdef LCKWU
#if (ERRCLASS & ERRCLS_ADD_RES)
} /* cmPkKwuStaInd */
\f
-#ifdef ANSI
-S16 cmPkKwuReEstCmpInd
-(
-Pst * pst,
-SuId suId,
-CmLteRlcId rlcId
-)
-#else
-S16 cmPkKwuReEstCmpInd(pst, suId, rlcId)
-Pst * pst;
-SuId suId;
-CmLteRlcId rlcId;
-#endif
+S16 cmPkKwuReEstCmpInd(Pst * pst,SuId suId,CmLteRlcId rlcId)
{
#ifdef LCKWU
#if (ERRCLASS & ERRCLS_ADD_RES)
} /* cmPkKwuReEstCmpInd */
/* kwu_c_001.main_3 added support for L2 Measurement */
-#ifdef ANSI
-S16 cmPkKwuDiscSduCfm
-(
-Pst *pst,
-SpId spId,
-KwuDiscSduInfo *discCfmSdu
-)
-#else
-S16 cmPkKwuDiscSduCfm(pst, spId, discCfmSdu)
-Pst *pst;
-SpId spId;
-KwuDiscSduInfo *discCfmSdu;
-#endif
+S16 cmPkKwuDiscSduCfm(Pst *pst,SpId spId,KwuDiscSduInfo *discCfmSdu)
{
#if (ERRCLASS & ERRCLS_ADD_RES)
S16 ret1 = ROK;
return (SPstTsk(pst,mBuf));
} /* cmPkKwuDiscSduCfm */
\f
-#ifdef ANSI
-S16 cmPkKwuFlowCntrlInd
-(
-Pst *pst,
-SuId suId,
-KwuFlowCntrlIndInfo *flowCntrlIndInfo
-)
-#else
-S16 cmPkKwuFlowCntrlInd(pst, suId, flowCntrlIndInfo)
-Pst *pst;
-SuId suId;
-KwuFlowCntrlIndInfo *flowCntrlIndInfo;
-#endif
+S16 cmPkKwuFlowCntrlInd(Pst *pst,SuId suId,KwuFlowCntrlIndInfo *flowCntrlIndInfo)
{
Buffer *mBuf;
} /* cmPkKwuFlowCntrlInd */
#ifdef LTE_L2_MEAS
-#ifdef ANSI
-S16 cmPkKwuDatAckInfo
-(
-KwuDatAckInfo *param,
-Buffer *mBuf
-)
-#else
-S16 cmPkKwuDatAckInfo(param, mBuf)
-KwuDatAckInfo *param;
-Buffer *mBuf;
-#endif
+S16 cmPkKwuDatAckInfo(KwuDatAckInfo *param,Buffer *mBuf)
{
CMCHKPK(cmPkLteRlcId, ¶m->rlcId, mBuf);
return ROK;
}
-#ifdef ANSI
-S16 cmPkKwuDatAckInd
-(
-Pst * pst,
-SuId suId,
-KwuDatAckInfo* datInd
-)
-#else
-S16 cmPkKwuDatAckInd(pst, suId, datInd)
-Pst * pst;
-SuId suId;
-KwuDatAckInfo* datInd;
-#endif
+S16 cmPkKwuDatAckInd(Pst * pst,SuId suId,KwuDatAckInfo* datInd)
{
S16 ret1;
#endif /* LTE_L2_MEAS */
\f
-#ifdef ANSI
-S16 cmUnpkKwuBndReq
-(
-KwuBndReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuBndReq(func, pst, mBuf)
-KwuBndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuBndReq(KwuBndReq func,Pst *pst,Buffer *mBuf)
{
SuId suId = 0;
SpId spId = 0;
}
\f
-#ifdef ANSI
-S16 cmUnpkKwuBndCfm
-(
-KwuBndCfm func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuBndCfm(func, pst, mBuf)
-KwuBndCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuBndCfm(KwuBndCfm func,Pst *pst,Buffer *mBuf)
{
SuId suId = 0;
uint8_t status = 0;
}
\f
-#ifdef ANSI
-S16 cmUnpkKwuUbndReq
-(
-KwuUbndReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuUbndReq(func, pst, mBuf)
-KwuUbndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuUbndReq(KwuUbndReq func,Pst *pst,Buffer *mBuf)
{
SpId spId = 0;
Reason reason = 0;
} /* cmUnpkKwuUbndReq */
\f
-#ifdef ANSI
-S16 cmUnpkKwuDatReqInfo
-(
-KwuDatReqInfo *param,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuDatReqInfo(param, mBuf)
-KwuDatReqInfo *param;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuDatReqInfo(KwuDatReqInfo *param,Buffer *mBuf)
{
}
\f
-#ifdef ANSI
-S16 cmUnpkKwuDatReq
-(
-KwuDatReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuDatReq(func, pst, mBuf)
-KwuDatReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuDatReq(KwuDatReq func,Pst *pst,Buffer *mBuf)
{
#if(ERRCLASS & ERRCLS_DEBUG)
S16 ret1 = ROK;
} /* cmUnpkKwuDatReq */
\f
-#ifdef ANSI
-uint8_t cmUnpkKwuDatIndInfo
-(
-KwuDatIndInfo *param,
-Buffer *mBuf
-)
-#else
-uint8_t cmUnpkKwuDatIndInfo(param, mBuf)
-KwuDatIndInfo *param;
-Buffer *mBuf;
-#endif
+uint8_t cmUnpkKwuDatIndInfo(KwuDatIndInfo *param,Buffer *mBuf)
{
CMCHKUNPK(cmUnpkLteRlcId, ¶m->rlcId, mBuf);
}
\f
-#ifdef ANSI
-uint8_t cmUnpkKwuDatInd
-(
-KwuDatInd func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-uint8_t cmUnpkKwuDatInd(func, pst, mBuf)
-KwuDatInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+uint8_t cmUnpkKwuDatInd(KwuDatInd func,Pst *pst,Buffer *mBuf)
{
S16 ret1 = ROK, retVal;
KwuDatIndInfo *datInd = NULLP;
} /* cmUnpkKwuDatInd */
\f
-#ifdef ANSI
-S16 cmUnpkKwuDatCfmInfo
-(
-KwuDatCfmInfo *param,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuDatCfmInfo(param, mBuf)
-KwuDatCfmInfo *param;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuDatCfmInfo(KwuDatCfmInfo *param,Buffer *mBuf)
{
register S32 iter;
return ROK;
}
-#ifdef ANSI
-S16 cmUnpkKwuDatCfm
-(
-KwuDatCfm func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuDatCfm(func, pst, mBuf)
-KwuDatCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuDatCfm(KwuDatCfm func,Pst *pst,Buffer *mBuf)
{
S16 ret1 = ROK;
SuId suId = 0;
} /* cmUnpkKwuDatCfm */
\f
-#ifdef ANSI
-S16 cmUnpkKwuDiscSduReq
-(
-KwuDiscSduReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuDiscSduReq(func, pst, mBuf)
-KwuDiscSduReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuDiscSduReq(KwuDiscSduReq func,Pst *pst,Buffer *mBuf)
{
S16 ret1 = ROK;
SpId spId = 0;
} /* cmUnpkKwuDiscSduReq */
\f
-#ifdef ANSI
-S16 cmUnpkKwuStaIndInfo
-(
-KwuStaIndInfo *param,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuStaIndInfo(param, mBuf)
-KwuStaIndInfo *param;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuStaIndInfo(KwuStaIndInfo *param,Buffer *mBuf)
{
uint32_t i;
-
CMCHKUNPK(cmUnpkLteRlcId, ¶m->rlcId, mBuf);
CMCHKUNPK(oduPackUInt32, ¶m->numSdu, mBuf);
for (i = 0; i < param->numSdu; i++)
} /* cmUnpkKwuStaIndInfo */
\f
-#ifdef ANSI
-S16 cmUnpkKwuStaInd
-(
-KwuStaInd func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuStaInd(func, pst, mBuf)
-KwuStaInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuStaInd(KwuStaInd func,Pst *pst,Buffer *mBuf)
{
S16 ret1 = ROK;
SuId suId = 0;
} /* cmUnpkKwuStaInd */
\f
-#ifdef ANSI
-S16 cmUnpkKwuReEstCmpInd
-(
-KwuReEstCmpInd func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuReEstCmpInd(func, pst, mBuf)
-KwuReEstCmpInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuReEstCmpInd(KwuReEstCmpInd func,Pst *pst,Buffer *mBuf)
{
#if(ERRCLASS & ERRCLS_DEBUG)
S16 ret1;
} /* cmUnpkKwuReEstCmpInd */
/* kwu_c_001.main_3 added support for L2 Measurement */
-#ifdef ANSI
-S16 cmUnpkKwuDiscSduCfm
-(
-KwuDiscSduCfm func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuDiscSduCfm(func, pst, mBuf)
-KwuDiscSduCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuDiscSduCfm(KwuDiscSduCfm func,Pst *pst,Buffer *mBuf)
{
S16 ret1 = ROK;
- SpId spId = 0;
+ SpId spId = 0;
KwuDiscSduInfo *discSdu = NULLP;
return ((*func)(pst, spId, discSdu));
} /* cmUnpkKwuDiscSduCfm */
-#ifdef ANSI
-S16 cmUnpkKwuFlowCntrlInd
-(
-KwuFlowCntrlInd func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuFlowCntrlInd(func, pst, mBuf)
-KwuFlowCntrlInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuFlowCntrlInd(KwuFlowCntrlInd func,Pst *pst,Buffer *mBuf)
{
SuId suId;
KwuFlowCntrlIndInfo *flowCntrlInfo = NULLP;
-
CMCHKUNPK(SUnpkS16, &(suId), mBuf);
switch(pst->selector)
} /* cmUnpkKwuFlowCntrlInd */
#ifdef LTE_L2_MEAS
\f
-#ifdef ANSI
-S16 cmUnpkKwuDatAckInfo
-(
-KwuDatAckInfo *param,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuDatAckInfo(param, mBuf)
-KwuDatAckInfo *param;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuDatAckInfo(KwuDatAckInfo *param,Buffer *mBuf)
{
CMCHKUNPK(oduPackUInt32, ¶m->sduId, mBuf);
}
\f
-#ifdef ANSI
-S16 cmUnpkKwuDatAckInd
-(
-KwuDatAckInd func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkKwuDatAckInd(func, pst, mBuf)
-KwuDatAckInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkKwuDatAckInd(KwuDatAckInd func,Pst *pst,Buffer *mBuf)
{
S16 ret1;
SuId suId = 0;
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 packRlcConfigReq
(
Pst *pst, /* post structure */
RlcMngmt *cfg /* RLC LM structure */
)
-#else
-S16 packRlcConfigReq(pst, cfg)
-Pst *pst; /* post structure */
-RlcMngmt *cfg; /* RLC LM structure */
-#endif
{
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
* -# Failure : RFAILED
*/
-#ifdef ANSI
uint8_t unpackRlcConfigReq
(
RlcConfigReq func, /* primitive to call */
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-uint8_t unpackRlcConfigReq(func, pst, mBuf)
-RlcConfigReq func; /* primitive to call */
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 ret1; /* Return value */
RlcMngmt cfg; /* RLC LM structure */
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmPkLkwCntrlReq
(
Pst *pst, /* post structure */
RlcMngmt *cntrl /* RLC LM structure */
)
-#else
-S16 cmPkLkwCntrlReq(pst,cntrl)
-Pst *pst; /* post structure */
-RlcMngmt *cntrl; /* RLC LM structure */
-#endif
{
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmUnpkLkwCntrlReq
(
LkwCntrlReq func, /* primitive to call */
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkLkwCntrlReq(func, pst, mBuf)
-LkwCntrlReq func; /* primitive to call */
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 ret1; /* return value */
RlcMngmt cfm; /* Confirmation */
* -# Failure : RFAILED
*/
-#ifdef ANSI
uint8_t cmPkLkwCntrlCfm
(
Pst *pst, /* post structure */
RlcMngmt *cfm /* RLC LM structure */
)
-#else
-uint8_t cmPkLkwCntrlCfm(pst, cfm)
-Pst *pst; /* post structure */
-RlcMngmt *cfm; /* RLC LM structure */
-#endif
{
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmUnpkLkwCntrlCfm
(
LkwCntrlCfm func, /* primitive to call */
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkLkwCntrlCfm(func, pst, mBuf)
-LkwCntrlCfm func; /* primitive to call */
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
RlcMngmt cfm; /* RLC LM structure */
S16 ret1; /* return value */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmUnpkLkwStsCfm
(
LkwStsCfm func, /* primitive to call */
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkLkwStsCfm(func, pst, mBuf)
-LkwStsCfm func; /* primitive to call */
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
RlcMngmt cfm; /* RLC LM structure */
S16 ret1; /* return value */
*/
-#ifdef ANSI
uint8_t packRlcConfigCfm
(
Pst *pst, /* post structure */
RlcMngmt *cfm /* RLC LM structure */
)
-#else
-uint8_t packRlcConfigCfm(pst,cfm)
-Pst *pst; /* post structure */
-RlcMngmt *cfm; /* RLC LM structure */
-#endif
{
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
uint8_t unpackRlcConfigCfm
(
RlcConfigCfm func, /* primitive to call */
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-uint8_t unpackRlcConfigCfm(func, pst, mBuf)
-RlcConfigCfm func; /* primitive to call */
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 ret1; /* return value */
RlcMngmt cfm; /* RLC LM structure */
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmPkLkwStaInd
(
Pst *pst, /* post structure */
RlcMngmt *usta /* RLC LM structure */
)
-#else
-S16 cmPkLkwStaInd(pst,usta)
-Pst *pst; /* post structure */
-RlcMngmt *usta; /* RLC LM structure */
-#endif
{
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmUnpkLkwStaInd
(
LkwStaInd func, /* primitive pointer */
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkLkwStaInd(func, pst, mBuf)
-LkwStaInd func; /* primitive pointer */
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
RlcMngmt usta; /* RLC LM structure */
S16 ret1; /* return value */
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmPkLkwStaReq
(
Pst *pst, /* post structure */
RlcMngmt *sta /* status */
)
-#else
-S16 cmPkLkwStaReq(pst,sta)
-Pst *pst; /* post structure */
-RlcMngmt *sta; /* status */
-#endif
{
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmUnpkLkwStaCfm
(
LkwStaReq func, /* primitive pointer */
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkLkwStaCfm(func, pst, mBuf)
-LkwStaReq func; /* primitive pointer */
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
RlcMngmt cfm; /* RLC LM structure */
S16 ret1; /* return value */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmUnpkLkwStsReq
(
LkwStsReq func, /* primitive pointer */
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkLkwStsReq(func, pst, mBuf)
-LkwStsReq func; /* primitive pointer */
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
RlcMngmt sts; /* RLC LM structure */
S16 ret1; /* return value */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmUnpkLkwStaReq
(
LkwStaReq func, /* primitive pointer */
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkLkwStaReq(func, pst, mBuf)
-LkwStaReq func; /* primitive pointer */
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
RlcMngmt sta; /* RLC LM structure */
S16 ret1; /* return value */
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmUnpkLkwTrcInd
(
LkwTrcInd func, /* primitive to call */
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 cmUnpkLkwTrcInd(func, pst, mBuf)
-LkwTrcInd func; /* primitive to call */
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 ret1; /* return value */
RlcMngmt trc; /* RLC LM structure */
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmPkCkwSapSta
(
RlcCkwCntSapSta *rcSap, /* SAP statistics */
Buffer *mBuf /* Message buffer */
)
-#else
-static S16 cmPkCkwSapSta(rcSap, mBuf)
-RlcCkwCntSapSta *rcSap; /* SAP statistics */
-Buffer *mBuf; /* Message buffer */
-#endif
{
CMCHKPK(cmPkState, rcSap->state, mBuf);
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmUnpkCkwSapSta
(
RlcCkwCntSapSta *rcSap, /* SAP statistics */
Buffer *mBuf /* Message buffer */
)
-#else
-static S16 cmUnpkCkwSapSta(rcSap, mBuf)
-RlcCkwCntSapSta *rcSap; /* SAP statistics */
-Buffer *mBuf; /* Message buffer */
-#endif
{
CMCHKUNPK(SUnpkS16, &rcSap->spId, mBuf);
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmPkKwuSapSta
(
RlcKwuSapSta *rlSap, /* SAP statistics */
Buffer *mBuf /* Message buffer */
)
-#else
-static S16 cmPkKwuSapSta(rlSap, mBuf)
-RlcKwuSapSta *rlSap; /* SAP statistics */
-Buffer *mBuf; /* Message buffer */
-#endif
{
CMCHKPK(cmPkState, rlSap->state, mBuf);
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmUnpkKwuSapSta
(
RlcKwuSapSta *rlSap, /* SAP statistics */
Buffer *mBuf /* Message buffer */
)
-#else
-static S16 cmUnpkKwuSapSta(rlSap, mBuf)
-RlcKwuSapSta *rlSap; /* SAP statistics */
-Buffer *mBuf; /* Message buffer */
-#endif
{
CMCHKUNPK(SUnpkS16, &rlSap->spId, mBuf);
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmPkRguSapSta
(
RlcRguSapSta *mkSap, /* SAP statistics */
Buffer *mBuf /* Message buffer */
)
-#else
-static S16 cmPkRguSapSta(mkSap, mBuf)
-RlcRguSapSta *mkSap; /* SAP statistics */
-Buffer *mBuf; /* Message buffer */
-#endif
{
CMCHKPK(cmPkState, mkSap->state, mBuf);
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmUnpkRguSapSta
(
RlcRguSapSta *mkSap, /* SAP statistics */
Buffer *mBuf /* Message buffer */
)
-#else
-static S16 cmUnpkRguSapSta(mkSap, mBuf)
-RlcRguSapSta *mkSap; /* SAP statistics */
-Buffer *mBuf; /* Message buffer */
-#endif
{
CMCHKUNPK(cmUnpkSuId, &mkSap->suId, mBuf);
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmPkLkwStaCfm
(
Pst *pst, /* post structure */
RlcMngmt *cfm /* solicited status confirm */
)
-#else
-S16 cmPkLkwStaCfm(pst, cfm)
-Pst *pst; /* post structure */
-RlcMngmt *cfm; /* solicited status confirm */
-#endif
{
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmPkLkwTrcInd
(
Pst *pst, /* post structure */
RlcMngmt *trc, /* trace */
Buffer *trcBuf /* trace buffer */
)
-#else
-S16 cmPkLkwTrcInd(pst, trc, trcBuf)
-Pst *pst; /* post structure */
-RlcMngmt *trc; /* trace */
-Buffer *trcBuf; /* trace buffer */
-#endif
{
S16 ret1 = ROK; /* return value */
Buffer *mBuf = NULLP; /* Buffer to trace */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmPkLkwStsReq
(
Pst *pst, /* post structure */
Action action, /* action */
RlcMngmt *sts /* statistics request */
)
-#else
-S16 cmPkLkwStsReq(pst, action, sts)
-Pst *pst; /* post structure */
-Action action; /* action */
-RlcMngmt *sts; /* statistics request */
-#endif
{
Buffer *mBuf; /* message buffer */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 cmPkLkwStsCfm
(
Pst *pst, /* post structure */
Action action, /* action */
RlcMngmt *cfm /* statistics confirmation */
)
-#else
-S16 cmPkLkwStsCfm(pst, action, cfm)
-Pst *pst; /* post structure */
-Action action; /* action */
-RlcMngmt *cfm; /* statistics confirmation */
-#endif
{
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmPkRlcMngmt
(
RlcMngmt *param, /* Managment */
Event eventType, /* Event type */
Buffer *mBuf /* Message Buffer */
)
-#else
-static S16 cmPkRlcMngmt(param ,eventType, mBuf)
-RlcMngmt *param; /* Managment */
-Event eventType; /* Event type */
-Buffer *mBuf; /* Message Buffer */
-#endif
{
S16 ret1; /* return value */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmPkRlcCfg
(
RlcMngmt *cfg,
Elmnt elmnt,
Buffer *mBuf
)
-#else
-static S16 cmPkRlcCfg(cfg, elmnt, mBuf)
-RlcMngmt *cfg;
-Elmnt elmnt;
-Buffer *mBuf;
-#endif
{
switch( elmnt )
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmPkRlcCntrl
(
RlcMngmt *cntrl,
Elmnt elmnt,
Buffer *mBuf
)
-#else
-static S16 cmPkRlcCntrl(cntrl, elmnt, mBuf)
-RlcMngmt *cntrl;
-Elmnt elmnt;
-Buffer *mBuf;
-#endif
{
uint8_t subAction; /* sub action */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmPkRlcUsta
(
RlcMngmt *usta,
Elmnt elmnt,
Buffer *mBuf
)
-#else
-static S16 cmPkRlcUsta(usta, elmnt, mBuf)
-RlcMngmt *usta;
-Elmnt elmnt;
-Buffer *mBuf;
-#endif
{
/* lkw_c_001.main_2 removed warning */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmPkRlcSsta
(
RlcMngmt *ssta,
Event eventType,
Buffer *mBuf
)
-#else
-static S16 cmPkRlcSsta(ssta, elmnt, eventType, mBuf)
-RlcMngmt *ssta;
-Elmnt elmnt;
-Event eventType;
-Buffer *mBuf;
-#endif
{
S16 ret1;
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmPkRlcTrc
(
RlcMngmt *trc, /* trace */
Buffer *mBuf /* data buffer */
)
-#else
-static S16 cmPkRlcTrc(trc, mBuf)
-RlcMngmt *trc; /* trace */
-Buffer *mBuf; /* data buffer */
-#endif
{
CMCHKPK(oduUnpackUInt16, trc->t.trc.event, mBuf);
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmPkRlcSts
(
RlcMngmt *sts,
Elmnt elmnt,
Buffer *mBuf
)
-#else
-static S16 cmPkRlcSts(sts, elmnt, mBuf)
-RlcMngmt *sts;
-Elmnt elmnt;
-Buffer *mBuf;
-#endif
{
S16 ret1;
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmPkGenSts
(
RlcGenSts *gen,
Buffer *mBuf
)
-#else
-static S16 cmPkGenSts(gen, mBuf)
-RlcGenSts *gen;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt32, gen->numSduDisc, mBuf);
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmPkCkwSapSts
(
RlcCkwCntSts *rcSap,
Buffer *mBuf
)
-#else
-static S16 cmPkCkwSapSts(rcSap, mBuf)
-RlcCkwCntSts *rcSap;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt32, rcSap->statMsgs, mBuf);
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmPkKwuSapSts
(
RlcKwuSapSts *ruSap,
Buffer *mBuf
)
-#else
-static S16 cmPkKwuSapSts(ruSap, mBuf)
-RlcKwuSapSts *ruSap;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt32, ruSap->sduTx, mBuf);
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmUnpkRlcMngmt
(
RlcMngmt *param,
Event eventType,
Buffer *mBuf
)
-#else
-static S16 cmUnpkRlcMngmt(param ,eventType, mBuf)
-RlcMngmt *param;
-Event eventType;
-Buffer *mBuf;
-#endif
{
S16 ret1;
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmUnpkRlcCfg
(
RlcMngmt *cfg,
Elmnt elmnt,
Buffer *mBuf
)
-#else
-static S16 cmUnpkRlcCfg(cfg ,elmnt, mBuf)
-RlcMngmt *cfg;
-Elmnt elmnt;
-Buffer *mBuf;
-#endif
{
switch(elmnt)
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmUnpkRlcCntrl
(
RlcMngmt *cfm,
Elmnt elmnt,
Buffer *mBuf
)
-#else
-static S16 cmUnpkRlcCntrl(cfm, elmnt, mBuf)
-RlcMngmt *cfm;
-Elmnt elmnt;
-Buffer *mBuf;
-#endif
{
uint8_t subAction;
RlcDbgCntrl *dbgCntrl;
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmUnpkRlcUsta
(
RlcMngmt *usta,
Elmnt elmnt,
Buffer *mBuf
)
-#else
-static S16 cmUnpkRlcUsta(usta ,elmnt, mBuf)
-RlcMngmt *usta;
-Elmnt elmnt;
-Buffer *mBuf;
-#endif
{
/* lkw_c_001.main_2 removed warning */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmUnpkRlcSsta
(
RlcMngmt *ssta,
Event eventType,
Buffer *mBuf
)
-#else
-static S16 cmUnpkRlcSsta(ssta ,elmnt, eventType, mBuf)
-RlcMngmt *ssta;
-Elmnt elmnt;
-Event eventType;
-Buffer *mBuf;
-#endif
{
S16 ret1; /* return value */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmUnpkRlcTrc
(
RlcMngmt *trc,
Buffer *mBuf
)
-#else
-static S16 cmUnpkRlcTrc(trc, mBuf)
-RlcMngmt *trc;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(cmUnpkDateTime, &trc->t.trc.dt, mBuf);
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmUnpkRlcSts
(
RlcMngmt *sts,
Elmnt elmnt,
Buffer *mBuf
)
-#else
-static S16 cmUnpkRlcSts(sts ,elmnt, mBuf)
-RlcMngmt *sts;
-Elmnt elmnt;
-Buffer *mBuf;
-#endif
{
S16 ret1; /* return value */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmUnpkGenSts
(
RlcGenSts *gen,
Buffer *mBuf
)
-#else
-static S16 cmUnpkGenSts(gen, mBuf)
-RlcGenSts *gen;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt32, &gen->numUe, mBuf);
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmUnpkCkwSapSts
(
RlcCkwCntSts *rcSap,
Buffer *mBuf
)
-#else
-static S16 cmUnpkCkwSapSts(rcSap ,mBuf)
-RlcCkwCntSts *rcSap;
-Buffer *mBuf;
-#endif
{
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
static S16 cmUnpkKwuSapSts
(
RlcKwuSapSts *ruSap,
Buffer *mBuf
)
-#else
-static S16 cmUnpkKwuSapSts(ruSap, mBuf)
-RlcKwuSapSts *ruSap;
-Buffer *mBuf;
-#endif
{
/* lkw_c_001.main_2 changed from suId to spId */
/* lkw_c_001.main_2 added support for L2 Measurement */
#ifdef LTE_L2_MEAS
-#ifdef ANSI
S16 cmPkLkwL2MeasReq
(
Pst * pst,
RlcL2MeasReqEvt *measReqEvt
)
-#else
-S16 cmPkLkwL2MeasReq(pst, measReqEvt)
-Pst * pst;
-RlcL2MeasReqEvt *measReqEvt;
-#endif
{
Buffer *mBuf = NULLP;
return (SPstTsk(pst,mBuf));
}
-#ifdef ANSI
S16 cmPkRlcL2MeasReqInfo
(
RlcL2MeasReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRlcL2MeasReqInfo(param, mBuf)
-RlcL2MeasReqInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
uint16_t idx1;
return ROK;
}
-#ifdef ANSI
S16 cmPkLkwL2MeasStopReq
(
Pst *pst,
uint8_t measType
)
-#else
-S16 cmPkLkwL2MeasStopReq(pst, measType)
-Pst *pst;
-uint8_t measType;
-#endif
{
Buffer *mBuf = NULLP;
return (SPstTsk(pst,mBuf));
}
-#ifdef ANSI
S16 cmPkLkwL2MeasSendReq
(
Pst *pst,
uint8_t measType
)
-#else
-S16 cmPkLkwL2MeasSendReq(pst, measType)
-Pst *pst;
-uint8_t measType;
-#endif
{
Buffer *mBuf = NULLP;
return (SPstTsk(pst,mBuf));
}
#ifdef TENB_SPLIT_ARCH
-#ifdef ANSI
S16 cmUnpkLkwL2MeasReq
(
LkwL2MeasReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLkwL2MeasReq(func, pst, mBuf)
-LkwL2MeasReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RlcL2MeasReqEvt measReqEvt;
return ((*func)(pst, &measReqEvt));
}
#else
-#ifdef ANSI
S16 cmUnpkLkwL2MeasReq
(
LkwL2MeasReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLkwL2MeasReq(func, pst, mBuf)
-LkwL2MeasReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
S16 ret;
RlcL2MeasReqEvt *measReqEvt;
}
#endif
-#ifdef ANSI
S16 cmUnpkRlcL2MeasReqInfo
(
RlcL2MeasReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRlcL2MeasReqInfo(param, mBuf)
-RlcL2MeasReqInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
uint16_t idx1;
return ROK;
}
-#ifdef ANSI
S16 cmUnpkLkwL2MeasStopReq
(
LkwL2MeasStopReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLkwL2MeasStopReq(func, pst, mBuf)
-LkwL2MeasStopReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
uint8_t measType;
return ((*func)(pst, measType));
}
-#ifdef ANSI
S16 cmUnpkLkwL2MeasSendReq
(
LkwL2MeasSendReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLkwL2MeasSendReq(func, pst, mBuf)
-LkwL2MeasSendReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
uint8_t measType;
return ((*func)(pst, measType));
}
-#ifdef ANSI
S16 cmPkLkwL2MeasCfm
(
Pst * pst,
RlcL2MeasCfmEvt *measCfmEvt
)
-#else
-S16 cmPkLkwL2MeasCfm(pst, measCfmEvt)
-Pst * pst;
-RlcL2MeasCfmEvt *measCfmEvt;
-#endif
{
Buffer *mBuf = NULLP;
uint8_t idx;
return (SPstTsk(pst,mBuf));
}
-#ifdef ANSI
S16 cmPkRlcL2MeasCfmInfo
(
RlcL2MeasCfmInfo *param,
Buffer *mBuf,
uint8_t measType
)
-#else
-S16 cmPkRlcL2MeasCfmInfo(param, mBuf, measType)
-RlcL2MeasCfmInfo *param;
-Buffer *mBuf;
-uint8_t measType;
-#endif
{
if((measType & LKW_L2MEAS_DL_IP) ||
return ROK;
}
-#ifdef ANSI
S16 cmUnpkLkwL2MeasCfm
(
LkwL2MeasCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLkwL2MeasCfm(func, pst, mBuf)
-LkwL2MeasCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
uint16_t idx1;
return ((*func)(pst, &measCfmEvt));
}
-#ifdef ANSI
S16 cmUnpkRlcL2MeasCfmInfo
(
RlcL2MeasCfmInfo *param,
Buffer *mBuf,
uint8_t measType
)
-#else
-S16 cmUnpkRlcL2MeasCfmInfo(param, mBuf, measType)
-RlcL2MeasCfmInfo *param;
-Buffer *mBuf;
-uint8_t measType;
-#endif
{
if((measType & LKW_L2MEAS_DL_IP) ||
}
-#ifdef ANSI
S16 cmPkLkwL2MeasStopCfm
(
Pst * pst,
uint8_t measType,
uint8_t status
)
-#else
-S16 cmPkLkwL2MeasStopCfm(pst, measType,status)
-Pst * pst;
-uint8_t measType;
-uint8_t status
-#endif
{
Buffer *mBuf = NULLP;
return (SPstTsk(pst,mBuf));
}
-#ifdef ANSI
+
S16 cmUnpkLkwL2MeasStopCfm
(
LkwL2MeasStopCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLkwL2MeasStopCfm(func, pst, mBuf)
-LkwL2MeasStopCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
uint8_t measType;
uint8_t status;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgCfgReq
(
Pst * pst,
RgMngmt * cfg
)
-#else
-S16 cmPkLrgCfgReq(pst, cfg)
-Pst * pst;
-RgMngmt * cfg;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgCfgReq
(
LrgCfgReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgCfgReq(func, pst, mBuf)
-LrgCfgReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
/* lrg_c_001.main_2: Changed Pointer across Interface */
RgMngmt cfg;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgSchCfgReq
(
Pst * pst,
RgMngmt * cfg
)
-#else
-S16 cmPkLrgSchCfgReq(pst, cfg)
-Pst * pst;
-RgMngmt * cfg;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgSchCfgReq
(
LrgSchCfgReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgSchCfgReq(func, pst, mBuf)
-LrgSchCfgReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
/* lrg_c_001.main_2: Changed Pointer across Interface */
RgMngmt cfg;
* @return S16
* -# ROK
**/
-#ifdef ANSI
uint8_t cmPkLrgCfgCfm
(
Pst * pst,
RgMngmt * cfm
)
-#else
-uint8_t cmPkLrgCfgCfm(pst, cfm)
-Pst * pst;
-RgMngmt * cfm;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgCfgCfm
(
LrgCfgCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgCfgCfm(func, pst, mBuf)
-LrgCfgCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgMngmt cfm;
* @return S16
* -# ROK
**/
-#ifdef ANSI
uint8_t cmPkLrgSchCfgCfm
(
Pst * pst,
RgMngmt * cfg
)
-#else
-uint8_t cmPkLrgSchCfgCfm(pst, cfg)
-Pst * pst;
-RgMngmt * cfg;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgSchCfgCfm
(
LrgSchCfgCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgSchCfgCfm(func, pst, mBuf)
-LrgSchCfgCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgMngmt cfg;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgStsReq
(
Pst * pst,
RgMngmt * sts
)
-#else
-S16 cmPkLrgStsReq(pst, sts)
-Pst * pst;
-RgMngmt * sts;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgStsReq
(
LrgStsReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgStsReq(func, pst, mBuf)
-LrgStsReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgMngmt sts;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgStsCfm
(
Pst * pst,
RgMngmt * cfm
)
-#else
-S16 cmPkLrgStsCfm(pst, cfm)
-Pst * pst;
-RgMngmt * cfm;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgStsCfm
(
LrgStsCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgStsCfm(func, pst, mBuf)
-LrgStsCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgMngmt cfm;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgStaReq
(
Pst * pst,
RgMngmt * sta
)
-#else
-S16 cmPkLrgStaReq(pst, sta)
-Pst * pst;
-RgMngmt * sta;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgStaReq
(
LrgStaReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgStaReq(func, pst, mBuf)
-LrgStaReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgMngmt sta;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgStaCfm
(
Pst * pst,
RgMngmt * cfm
)
-#else
-S16 cmPkLrgStaCfm(pst, cfm)
-Pst * pst;
-RgMngmt * cfm;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgStaCfm
(
LrgStaCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgStaCfm(func, pst, mBuf)
-LrgStaCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgMngmt cfm;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgStaInd
(
Pst * pst,
RgMngmt * usta
)
-#else
-S16 cmPkLrgStaInd(pst, usta)
-Pst * pst;
-RgMngmt * usta;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgStaInd
(
LrgStaInd func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgStaInd(func, pst, mBuf)
-LrgStaInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgMngmt usta;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgSchStaInd
(
Pst * pst,
RgMngmt * sta
)
-#else
-S16 cmPkLrgSchStaInd(pst, sta)
-Pst * pst;
-RgMngmt * sta;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgSchStaInd
(
LrgSchStaInd func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgSchStaInd(func, pst, mBuf)
-LrgSchStaInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgMngmt sta;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgCntrlReq
(
Pst * pst,
RgMngmt * cntrl
)
-#else
-S16 cmPkLrgCntrlReq(pst, cntrl)
-Pst * pst;
-RgMngmt * cntrl;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgCntrlReq
(
LrgCntrlReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgCntrlReq(func, pst, mBuf)
-LrgCntrlReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgMngmt cntrl;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgSchCntrlReq
(
Pst * pst,
RgMngmt * cntrl
)
-#else
-S16 cmPkLrgSchCntrlReq(pst, cntrl)
-Pst * pst;
-RgMngmt * cntrl;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgSchCntrlReq
(
LrgSchCntrlReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgSchCntrlReq(func, pst, mBuf)
-LrgSchCntrlReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgMngmt cntrl;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgCntrlCfm
(
Pst * pst,
RgMngmt * cfm
)
-#else
-S16 cmPkLrgCntrlCfm(pst, cfm)
-Pst * pst;
-RgMngmt * cfm;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgCntrlCfm
(
LrgCntrlCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgCntrlCfm(func, pst, mBuf)
-LrgCntrlCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgMngmt cfm;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgSchCntrlCfm
(
Pst * pst,
RgMngmt * cntrl
)
-#else
-S16 cmPkLrgSchCntrlCfm(pst, cntrl)
-Pst * pst;
-RgMngmt * cntrl;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgSchCntrlCfm
(
LrgSchCntrlCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgSchCntrlCfm(func, pst, mBuf)
-LrgSchCntrlCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgMngmt cntrl;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgTrcInd
(
Pst * pst,
RgMngmt * trc,
Buffer * trcBuf
)
-#else
-S16 cmPkLrgTrcInd(pst, trc, trcBuf)
-Pst * pst;
-RgMngmt * trc;
-Buffer * trcBuf;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgTrcInd
(
LrgTrcInd func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgTrcInd(func, pst, mBuf)
-LrgTrcInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgMngmt trc;
/* lrg_c_001.main_3 - MODIFY - Modified trcBuf to have it initialized to NULLP */
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgGenCfg
(
RgGenCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgGenCfg(param, mBuf)
-RgGenCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgGenCfg
(
RgGenCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgGenCfg(param, mBuf)
-RgGenCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgUpSapCfg
(
RgUpSapCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgUpSapCfg(param, mBuf)
-RgUpSapCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgUpSapCfg
(
RgUpSapCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgUpSapCfg(param, mBuf)
-RgUpSapCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgLowSapCfg
(
RgLowSapCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgLowSapCfg(param, mBuf)
-RgLowSapCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgLowSapCfg
(
RgLowSapCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgLowSapCfg(param, mBuf)
-RgLowSapCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgAckNack
(
RgAckNack *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgAckNack (param, mBuf)
-RgAckNack *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgSchNackAckStats
(
RgSchNackAckStats *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgSchNackAckStats (param, mBuf)
-RgSchNackAckStats *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgHqNumRetx
(
RgSchHqNumRetx *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgHqNumRetx (param, mBuf)
-RgSchHqNumRetx *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt32, param->totalTx, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgSchHqRetxStats
(
RgSchHqRetxStats *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgSchHqRetxStats (param, mBuf)
-RgSchHqRetxStats *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgAckNack
(
RgAckNack *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgAckNack (param, mBuf)
-RgAckNack *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgSchNackAckStats
(
RgSchNackAckStats *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgSchNackAckStats (param, mBuf)
-RgSchNackAckStats *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgHqNumRetx
(
RgSchHqNumRetx *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgHqNumRetx (param, mBuf)
-RgSchHqNumRetx *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->mcs, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgSchHqRetxStats
(
RgSchHqRetxStats *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgSchHqRetxStats (param, mBuf)
-RgSchHqRetxStats *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgGenSts
(
RgGenSts *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgGenSts(param, mBuf)
-RgGenSts *param;
-Buffer *mBuf;
-#endif
{
-
#ifdef MAC_SCH_STATS
CMCHKPK(cmPkRgSchHqRetxStats, ¶m->hqRetxStats, mBuf);
CMCHKPK(cmPkRgSchNackAckStats, ¶m->nackAckStats, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgGenSts
(
RgGenSts *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgGenSts(param, mBuf)
-RgGenSts *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt32, ¶m->numHarqFail, mBuf);
CMCHKUNPK(oduPackUInt32, ¶m->numUeCfg, mBuf);
CMCHKUNPK(oduPackUInt16, ¶m->numCellCfg, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgSapSts
(
RgSapSts *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgSapSts(param, mBuf)
-RgSapSts *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt32, param->numPduDrop, mBuf);
CMCHKPK(oduUnpackUInt32, param->numPduTxmit, mBuf);
CMCHKPK(oduUnpackUInt32, param->numPduRcvd, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgSapSts
(
RgSapSts *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgSapSts(param, mBuf)
-RgSapSts *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt32, ¶m->numPduRcvd, mBuf);
CMCHKUNPK(oduPackUInt32, ¶m->numPduTxmit, mBuf);
CMCHKUNPK(oduPackUInt32, ¶m->numPduDrop, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgSchInstCfg
(
RgSchInstCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgSchInstCfg(param, mBuf)
-RgSchInstCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgSchInstCfg
(
RgSchInstCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgSchInstCfg(param, mBuf)
-RgSchInstCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgCfg
(
RgCfg *param,
S16 elmnt,
Buffer *mBuf
)
-#else
-S16 cmPkRgCfg(param, elmnt, mBuf)
-RgCfg *param;
-S16 elmnt;
-Buffer *mBuf;
-#endif
{
-
switch(elmnt) {
case STSCHINST:
CMCHKPK(cmPkRgSchInstCfg, ¶m->s.schInstCfg, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgCfg
(
RgCfg *param,
S16 elmnt,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgCfg(param, elmnt, mBuf)
-RgCfg *param;
-S16 elmnt;
-Buffer *mBuf;
-#endif
{
-
switch(elmnt) {
case STGEN:
CMCHKUNPK(cmUnpkRgGenCfg, ¶m->s.genCfg, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgSapSta
(
RgSapSta *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgSapSta(param, mBuf)
-RgSapSta *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt8, param->sapState, mBuf);
return ROK;
}
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgSapSta
(
RgSapSta *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgSapSta(param, mBuf)
-RgSapSta *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt8, ¶m->sapState, mBuf);
return ROK;
}
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgSts
(
RgSts *param,
S16 elmnt,
Buffer *mBuf
)
-#else
-S16 cmPkRgSts(param, elmnt, mBuf)
-RgSts *param;
-S16 elmnt;
-Buffer *mBuf;
-#endif
{
-
switch(elmnt) {
case STTFUSAP:
CMCHKPK(cmPkRgSapSts, ¶m->s.tfuSts, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgSts
(
RgSts *param,
S16 elmnt,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgSts(param, elmnt, mBuf)
-RgSts *param;
-S16 elmnt;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(cmUnpkDateTime, ¶m->dt, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->sapInst, mBuf);
CMCHKUNPK(cmUnpkAction, ¶m->action, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgSsta
(
Pst *pst,
#endif
Buffer *mBuf
)
-#else
-S16 cmPkRgSsta(pst, param, elmnt, eventType, mBuf)
-Pst *pst;
-RgSsta *param;
-S16 elmnt;
-/* lrg_c_001.main_3 - ADD - Added the extra parameter eventType to the function */
-#ifdef LRG_V1
-uint8_t eventType;
-#endif
-Buffer *mBuf;
-#endif
{
-
switch(elmnt) {
case STTFUSAP:
CMCHKPK(cmPkRgSapSta, ¶m->s.tfuSapSta, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgSsta
(
Pst *pst,
S16 elmnt,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgSsta(pst, param, elmnt, mBuf)
-Pst *pst;
-RgSsta *param;
-S16 elmnt;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgUstaDgn
(
RgUstaDgn *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgUstaDgn(param, mBuf)
-RgUstaDgn *param;
-Buffer *mBuf;
-#endif
{
-
switch(param->type) {
case LRG_USTA_DGNVAL_MEM:
CMCHKPK(cmPkMemoryId, ¶m->u.mem, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgUstaDgn
(
RgUstaDgn *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgUstaDgn(param, mBuf)
-RgUstaDgn *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->type, mBuf);
- switch(param->type) {
- case LRG_USTA_DGNVAL_MEM:
- CMCHKUNPK(cmUnpkMemoryId, ¶m->u.mem, mBuf);
- break;
- default :
- break;
+ switch(param->type)
+ {
+ case LRG_USTA_DGNVAL_MEM:
+ CMCHKUNPK(cmUnpkMemoryId, ¶m->u.mem, mBuf);
+ break;
+ default :
+ break;
}
return ROK;
}
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgUsta
(
RgUsta *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgUsta(param, mBuf)
-RgUsta *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(cmPkRgUstaDgn, ¶m->dgn, mBuf);
CMCHKPK(cmPkCmAlarm, ¶m->cmAlarm, mBuf);
return ROK;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgUsta
(
RgUsta *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgUsta(param, mBuf)
-RgUsta *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(cmUnpkCmAlarm, ¶m->cmAlarm, mBuf);
CMCHKUNPK(cmUnpkRgUstaDgn, ¶m->dgn, mBuf);
return ROK;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgTrc
(
RgTrc *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgTrc(param, mBuf)
-RgTrc *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt8, param->evnt, mBuf);
CMCHKPK(cmPkDateTime, ¶m->dt, mBuf);
return ROK;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgTrc
(
RgTrc *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgTrc(param, mBuf)
-RgTrc *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(cmUnpkDateTime, ¶m->dt, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->evnt, mBuf);
return ROK;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgDbgCntrl
(
RgDbgCntrl *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgDbgCntrl(param, mBuf)
-RgDbgCntrl *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt32, param->dbgMask, mBuf);
return ROK;
}
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgSchUlAllocCntrl
(
RgSchUlAllocCntrl *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgSchUlAllocCntrl(param, mBuf)
-RgSchUlAllocCntrl *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->mcs, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgSchUlAllocCntrl
(
RgSchUlAllocCntrl *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgSchUlAllocCntrl(param, mBuf)
-RgSchUlAllocCntrl *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt16, ¶m->logTime, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgDbgCntrl
(
RgDbgCntrl *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgDbgCntrl(param, mBuf)
-RgDbgCntrl *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt32, ¶m->dbgMask, mBuf);
return ROK;
}
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgSapCntrl
(
RgSapCntrl *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgSapCntrl(param, mBuf)
-RgSapCntrl *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(SPkS16, param->spId, mBuf);
CMCHKPK(SPkS16, param->suId, mBuf);
return ROK;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgSapCntrl
(
RgSapCntrl *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgSapCntrl(param, mBuf)
-RgSapCntrl *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(SUnpkS16, ¶m->suId, mBuf);
CMCHKUNPK(SUnpkS16, ¶m->spId, mBuf);
return ROK;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgCntrl
(
RgCntrl *param,
S16 elmnt,
Buffer *mBuf
)
-#else
-S16 cmPkRgCntrl(param, elmnt, mBuf)
-RgCntrl *param;
-S16 elmnt;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgCntrl
(
RgCntrl *param,
S16 elmnt,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgCntrl(param, elmnt, mBuf)
-RgCntrl *param;
-S16 elmnt;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(cmUnpkDateTime, ¶m->dt, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->action, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->subAction, mBuf);
- switch(elmnt) {
- case STGEN:
- switch(param->subAction) {
- case SADBG:
- CMCHKUNPK(cmUnpkRgDbgCntrl, ¶m->s.rgDbgCntrl, mBuf);
- break;
- case SATRC:
- CMCHKUNPK(SUnpkS16, ¶m->s.trcLen, mBuf);
- break;
- case SAUSTA:
- break;
+ switch(elmnt) {
+ case STGEN:
+ switch(param->subAction) {
+ case SADBG:
+ CMCHKUNPK(cmUnpkRgDbgCntrl, ¶m->s.rgDbgCntrl, mBuf);
+ break;
+ case SATRC:
+ CMCHKUNPK(SUnpkS16, ¶m->s.trcLen, mBuf);
+ break;
+ case SAUSTA:
+ break;
#ifdef SS_DIAG
- case SALOG:
- CMCHKUNPK(oduPackUInt32, ¶m->s.logMask, mBuf);
- break;
+ case SALOG:
+ CMCHKUNPK(oduPackUInt32, ¶m->s.logMask, mBuf);
+ break;
#endif
#ifdef PHY_ERROR_LOGING
- case SAELMNT:
- CMCHKUNPK(cmUnpkRgSchUlAllocCntrl, ¶m->s.rgSchUlAllocCntrl, mBuf);
- break;
+ case SAELMNT:
+ CMCHKUNPK(cmUnpkRgSchUlAllocCntrl, ¶m->s.rgSchUlAllocCntrl, mBuf);
+ break;
#endif
- default :
- break;
- }
- break;
- case STTFUSAP:
- case STRGUSAP:
- case STRGRSAP:
- case STCRGSAP:
- switch(param->subAction) {
- default :
- CMCHKUNPK(cmUnpkRgSapCntrl, ¶m->s.rgSapCntrl, mBuf);
- break;
- }
- break;
- default :
- break;
+ default :
+ break;
+ }
+ break;
+ case STTFUSAP:
+ case STRGUSAP:
+ case STRGRSAP:
+ case STCRGSAP:
+ switch(param->subAction) {
+ default :
+ CMCHKUNPK(cmUnpkRgSapCntrl, ¶m->s.rgSapCntrl, mBuf);
+ break;
+ }
+ break;
+ default :
+ break;
}
return ROK;
}
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgMngmt
(
Pst *pst,
uint8_t eventType,
Buffer *mBuf
)
-#else
-S16 cmPkRgMngmt(pst, param, eventType, mBuf)
-Pst *pst;
-RgMngmt *param;
-uint8_t eventType;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgMngmt
(
Pst *pst,
uint8_t eventType,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgMngmt(pst, param, eventType, mBuf)
-Pst *pst;
-RgMngmt *param;
-uint8_t eventType;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(cmUnpkHeader, ¶m->hdr, mBuf);
CMCHKUNPK(cmUnpkCmStatus, ¶m->cfm, mBuf);
- switch(eventType) {
- case EVTLRGCFGREQ:
- case EVTLRGCFGCFM:
- case EVTMACSCHGENCFGREQ:
- case EVTMACSCHGENCFGCFM:
- if(cmUnpkRgCfg(¶m->t.cfg, param->hdr.elmId.elmnt, mBuf) != ROK)
- return RFAILED;
- break;
- case EVTLRGSTSREQ:
- case EVTLRGSTSCFM:
- if(cmUnpkRgSts(¶m->t.sts, param->hdr.elmId.elmnt, mBuf) != ROK)
- return RFAILED;
- break;
- case EVTLRGSSTAREQ:
- case EVTLRGSSTACFM:
- if(cmUnpkRgSsta(pst, ¶m->t.ssta, param->hdr.elmId.elmnt, mBuf) != ROK)
- return RFAILED;
- break;
- case EVTLRGUSTAIND:
- case EVTLRGSCHSTAIND:
- CMCHKUNPK(cmUnpkRgUsta, ¶m->t.usta, mBuf);
- break;
- case EVTLRGTRCIND:
- CMCHKUNPK(cmUnpkRgTrc, ¶m->t.trc, mBuf);
- break;
- case EVTLRGCNTRLREQ:
- case EVTLRGCNTRLCFM:
- case EVTLRGSCHCNTRLREQ:
- case EVTLRGSCHCNTRLCFM:
- if(cmUnpkRgCntrl(¶m->t.cntrl, param->hdr.elmId.elmnt, mBuf) != ROK)
- return RFAILED;
- break;
- default :
- return RFAILED;
+ switch(eventType) {
+ case EVTLRGCFGREQ:
+ case EVTLRGCFGCFM:
+ case EVTMACSCHGENCFGREQ:
+ case EVTMACSCHGENCFGCFM:
+ if(cmUnpkRgCfg(¶m->t.cfg, param->hdr.elmId.elmnt, mBuf) != ROK)
+ return RFAILED;
+ break;
+ case EVTLRGSTSREQ:
+ case EVTLRGSTSCFM:
+ if(cmUnpkRgSts(¶m->t.sts, param->hdr.elmId.elmnt, mBuf) != ROK)
+ return RFAILED;
+ break;
+ case EVTLRGSSTAREQ:
+ case EVTLRGSSTACFM:
+ if(cmUnpkRgSsta(pst, ¶m->t.ssta, param->hdr.elmId.elmnt, mBuf) != ROK)
+ return RFAILED;
+ break;
+ case EVTLRGUSTAIND:
+ case EVTLRGSCHSTAIND:
+ CMCHKUNPK(cmUnpkRgUsta, ¶m->t.usta, mBuf);
+ break;
+ case EVTLRGTRCIND:
+ CMCHKUNPK(cmUnpkRgTrc, ¶m->t.trc, mBuf);
+ break;
+ case EVTLRGCNTRLREQ:
+ case EVTLRGCNTRLCFM:
+ case EVTLRGSCHCNTRLREQ:
+ case EVTLRGSCHCNTRLCFM:
+ if(cmUnpkRgCntrl(¶m->t.cntrl, param->hdr.elmId.elmnt, mBuf) != ROK)
+ return RFAILED;
+ break;
+ default :
+ return RFAILED;
}
return ROK;
}
* @return S16
* -# ROK
**/
-#ifdef ANSI
static S16 cmPkNmbActvUeQciReq
(
LrgNmbActvUeQCI *nmbActvUeQci,
Buffer *mBuf
)
-#else
-static S16 cmPkNmbActvUeQciReq(nmbActvUeQci, mBuf)
-LrgNmbActvUeQCI *nmbActvUeQci;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* @return S16
* -# ROK
**/
-#ifdef ANSI
static S16 cmPkAvgPrbQciReq
(
LrgAvgPrbQCI *avgPrbQciReq,
Buffer *mBuf
)
-#else
-static S16 cmPkAvgPrbQciReq(avgPrbQciReq, mBuf)
-LrgAvgPrbQCI *avgPrbQciReq;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgSchL2MeasReq
(
Pst * pst,
LrgSchMeasReqInfo *measInfo
)
-#else
-S16 cmPkLrgSchL2MeasReq(pst, measInfo)
-Pst * pst;
-LrgSchMeasReqInfo *measInfo;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgSchL2MeasStopReq
(
Pst * pst,
LrgSchMeasStopReqInfo *measInfo
)
-#else
-S16 cmPkLrgSchL2MeasStopReq(pst, measInfo)
-Pst * pst;
-LrgSchMeasStopReqInfo *measInfo;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgSchL2MeasSendReq
(
Pst * pst,
LrgSchMeasSndReqInfo *measInfo
)
-#else
-S16 cmPkLrgSchL2MeasSendReq(pst, measInfo)
-Pst * pst;
-LrgSchMeasSndReqInfo *measInfo;
-#endif
{
Buffer *mBuf = NULLP;
- if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
+ if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
__FILE__, __LINE__, (ErrCls)ERRCLS_ADD_RES,
* @return S16
* -# ROK
**/
-#ifdef ANSI
static S16 cmUnpkNmbActvUeQciReq
(
LrgNmbActvUeQCI *param,
Buffer *mBuf
)
-#else
-static S16 cmUnpkNmbActvUeQciReq(param, mBuf)
-LrgNmbActvUeQCI *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* @return S16
* -# ROK
**/
-#ifdef ANSI
static S16 cmUnpkAvgPrbQciReq
(
LrgAvgPrbQCI *param,
Buffer *mBuf
)
-#else
-static S16 cmUnpkAvgPrbQciReq (param, mBuf)
-LrgAvgPrbQCI *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgSchL2MeasReq
(
LrgSchL2MeasReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgSchL2MeasReq(func, pst, mBuf)
-LrgSchL2MeasReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
LrgSchMeasReqInfo measInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgSchL2MeasStopReq
(
LrgSchL2MeasStopReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgSchL2MeasStopReq(func, pst, mBuf)
-LrgSchL2MeasStopReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
LrgSchMeasStopReqInfo measInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgSchL2MeasSendReq
(
LrgSchL2MeasSendReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgSchL2MeasSendReq(func, pst, mBuf)
-LrgSchL2MeasSendReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
LrgSchMeasSndReqInfo measInfo;
CMCHKUNPK(cmUnpkHeader, &measInfo.hdr, mBuf);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgSchL2MeasStopCfm
(
Pst * pst,
LrgSchMeasCfmInfo *measInfo
)
-#else
-S16 cmPkLrgSchL2MeasStopCfm(pst, measInfo)
-Pst * pst;
-LrgSchMeasCfmInfo *measInfo;
-#endif
{
Buffer *mBuf = NULLP;
- if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
+ if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
__FILE__, __LINE__, (ErrCls)ERRCLS_ADD_RES,
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgSchL2MeasStopCfm
(
LrgSchL2MeasStopCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgSchL2MeasStopCfm(func, pst, mBuf)
-LrgSchL2MeasStopCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
LrgSchMeasCfmInfo measInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
static S16 cmPkNumUeQciCfm
(
LrgNumActvUeQCICfm *param,
Buffer *mBuf
)
-#else
-static S16 cmPkNumUeQciCfm(param, mBuf)
-LrgNumActvUeQCICfm *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* @return S16
* -# ROK
**/
-#ifdef ANSI
static S16 cmPkAvgPrbQciCfm
(
LrgAvgPrbQCICfm *param,
Buffer *mBuf
)
-#else
-static S16 cmPkAvgPrbQciCfm(param, mBuf)
-LrgAvgPrbQCICfm *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* @return S16
* -# ROK
**/
-#ifdef ANSI
static S16 cmPkRaPrmbsCfm
(
LrgRaPreamblesCfm *param,
Buffer *mBuf
)
-#else
-static S16 cmPkRaPrmbsCfm(param, mBuf)
-LrgRaPreamblesCfm *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt16, param->randSelPreHighRange, mBuf);
* @return S16
* -# ROK
**/
-#ifdef ANSI
static S16 cmPkAvgPrbCfm
(
LrgAvgPrbCfm *param,
Buffer *mBuf
)
-#else
-static S16 cmPkAvgPrbCfm(param, mBuf)
-LrgAvgPrbCfm *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->prbPerc, mBuf);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLrgSchL2MeasCfm
(
Pst * pst,
LrgSchMeasCfmInfo *measInfo
)
-#else
-S16 cmPkLrgSchL2MeasCfm(pst, measInfo)
-Pst * pst;
-LrgSchMeasCfmInfo *measInfo;
-#endif
{
Buffer *mBuf = NULLP;
* @return Void
* -# ROK
**/
-#ifdef ANSI
static S16 cmUnpkNumUeQciCfm
(
LrgNumActvUeQCICfm *param,
Buffer *mBuf
)
-#else
-static S16 cmUnpkNumUeQciCfm(param, mBuf)
-LrgNumActvUeQCICfm *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* @return Void
* -# ROK
**/
-#ifdef ANSI
static S16 cmUnpkAvgPrbQciCfm
(
LrgAvgPrbQCICfm *param,
Buffer *mBuf
)
-#else
-static S16 cmUnpkAvgPrbQciCfm(param, mBuf)
-LrgAvgPrbQCICfm *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* @return Void
* -# ROK
**/
-#ifdef ANSI
static S16 cmUnpkRaPrmbsCfm
(
LrgRaPreamblesCfm *param,
Buffer *mBuf
)
-#else
-static S16 cmUnpkRaPrmbsCfm(param, mBuf)
-LrgRaPreamblesCfm *param;
-Buffer *mBuf;
-#endif
{
* @return Void
* -# ROK
**/
-#ifdef ANSI
static S16 cmUnpkAvgPrbCfm
(
LrgAvgPrbCfm *param,
Buffer *mBuf
)
-#else
-static S16 cmUnpkAvgPrbCfm(param, mBuf)
-LrgAvgPrbCfm *param;
-Buffer *mBuf;
-#endif
{
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLrgSchL2MeasCfm
(
LrgSchL2MeasCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLrgSchL2MeasCfm(func, pst, mBuf)
-LrgSchL2MeasCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
LrgSchMeasCfmInfo measInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLwLcRgmBndReq
(
Pst* pst,
SuId suId,
SpId spId
)
-#else
-S16 cmPkLwLcRgmBndReq(pst, suId, spId)
-Pst* pst;
-SuId suId;
-SpId spId;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLwLcRgmBndReq
(
RgmBndReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLwLcRgmBndReq(func, pst, mBuf)
-RgmBndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
SpId spId;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLwLcRgmUbndReq
(
Pst* pst,
SpId spId,
Reason reason
)
-#else
-S16 cmPkLwLcRgmUbndReq(pst, spId, reason)
-Pst* pst;
-SpId spId;
-Reason reason;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLwLcRgmBndCfm
(
Pst* pst,
SuId suId,
uint8_t status
)
-#else
-S16 cmPkLwLcRgmBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLwLcRgmBndCfm
(
RgmBndCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLwLcRgmBndCfm(func, pst, mBuf)
-RgmBndCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
uint8_t status;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLwLcRgmCfgPrbRprt
(
Pst* pst,
SpId spId,
RgmPrbRprtCfg * prbRprtCfg
)
-#else
-S16 cmPkLwLcRgmCfgPrbRprt(pst, spId, prbRprtCfg)
-Pst* pst;
-SpId spId;
-RgmPrbRprtCfg * prbRprtCfg;
-#endif
{
Buffer *mBuf = NULLP;
uint32_t len = sizeof(RgmPrbRprtCfg);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLwLcRgmCfgPrbRprt
(
RgmCfgPrbRprtFptr func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLwLcRgmCfgPrbRprt(func, pst, mBuf)
-RgmCfgPrbRprtFptr func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
S16 ret;
SpId spId;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkLwLcRgmPrbRprtInd
(
Pst* pst,
SuId suId,
RgmPrbRprtInd * prbRprtInd
)
-#else
-S16 cmPkLwLcRgmPrbRprtInd(pst, suId, prbRprtInd)
-Pst* pst;
-SuId suId;
-RgmPrbRprtInd * prbRprtInd;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkLwLcRgmPrbRprtInd
(
RgmPrbRprtIndFptr func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkLwLcRgmPrbRprtInd(func, pst, mBuf)
-RgmPrbRprtIndFptr func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
RgmPrbRprtInd *prbRprtInd;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkRgmBndReq
(
Pst* pst,
SuId suId,
SpId spId
)
-#else
-S16 cmPkRgmBndReq(pst, suId, spId)
-Pst* pst;
-SuId suId;
-SpId spId;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkRgmBndReq
(
RgmBndReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgmBndReq(func, pst, mBuf)
-RgmBndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
SpId spId;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkRgmUbndReq
(
Pst* pst,
SpId spId,
Reason reason
)
-#else
-S16 cmPkRgmUbndReq(pst, spId, reason)
-Pst* pst;
-SpId spId;
-Reason reason;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkRgmUbndReq
(
RgmUbndReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgmUbndReq(func, pst, mBuf)
-RgmUbndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId;
Reason reason;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkRgmBndCfm
(
Pst* pst,
SuId suId,
uint8_t status
)
-#else
-S16 cmPkRgmBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkRgmBndCfm
(
RgmBndCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgmBndCfm(func, pst, mBuf)
-RgmBndCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
uint8_t status;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkCfgPrbRprt
(
RgmPrbRprtCfg * prbRprtCfg,
Buffer *mBuf
)
-#else
-S16 cmPkCfgPrbRprt(prbRprtCfg, mBuf)
-RgmPrbRprtCfg * prbRprtCfg;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt16, prbRprtCfg->usPrbAvgPeriodicty, mBuf);
CMCHKPK(oduUnpackUInt8, prbRprtCfg->bConfigType, mBuf);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnPkCfgPrbRprt
(
RgmPrbRprtCfg * prbRprtCfg,
Buffer *mBuf
)
-#else
-S16 cmUnPkCfgPrbRprt(prbRprtCfg, mBuf)
-RgmPrbRprtCfg * prbRprtCfg;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, &prbRprtCfg->bCellId, mBuf);
CMCHKUNPK(oduPackUInt8, &prbRprtCfg->bConfigType, mBuf);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkRgmCfgPrbRprt
(
Pst* pst,
SpId spId,
RgmPrbRprtCfg * prbRprtCfg
)
-#else
-S16 cmPkRgmCfgPrbRprt(pst, spId, prbRprtCfg)
-Pst* pst;
-SpId spId;
-RgmPrbRprtCfg * prbRprtCfg;
-#endif
{
Buffer *mBuf = NULLP;
uint32_t len = sizeof(RgmPrbRprtCfg);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkRgmCfgPrbRprt
(
RgmCfgPrbRprtFptr func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgmCfgPrbRprt(func, pst, mBuf)
-RgmCfgPrbRprtFptr func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId;
RgmPrbRprtCfg *prbRprtCfg;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkRgmPrbQciRpt
(
- RgmPrbRptPerQci *qciPrbRprt,
- Buffer *mBuf
- )
-#else
-S16 cmPkRgmPrbQciRpt(qciPrbRprt, mBuf)
-RgmPrbRptPerQci *qciPrbRprt;
-Buffer *mBuf = NULLP;
-#endif
+RgmPrbRptPerQci *qciPrbRprt,
+Buffer *mBuf
+)
{
CMCHKPK(oduUnpackUInt8, qciPrbRprt->bQci, mBuf);
CMCHKPK(oduUnpackUInt8, qciPrbRprt->bAvgPrbUlUsage, mBuf);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkRgmPrbQciRpt
(
- RgmPrbRptPerQci *qciPrbRprt,
- Buffer *mBuf
- )
-#else
-S16 cmUnpkRgmPrbQciRpt(qciPrbRprt, mBuf)
-RgmPrbRptPerQci *qciPrbRprt;
-Buffer *mBuf = NULLP;
-#endif
+RgmPrbRptPerQci *qciPrbRprt,
+Buffer *mBuf
+)
{
CMCHKUNPK(oduPackUInt8, &qciPrbRprt->bAvgPrbDlUsage, mBuf);
CMCHKUNPK(oduPackUInt8, &qciPrbRprt->bAvgPrbUlUsage, mBuf);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkPrbRprtInd
(
- RgmPrbRprtInd * prbRprtInd,
- Buffer *mBuf
- )
-#else
-S16 cmPkPrbRprtInd(prbRprtInd, mBuf)
- RgmPrbRprtInd * prbRprtInd;
- Buffer *mBuf = NULLP;
-#endif
+RgmPrbRprtInd * prbRprtInd,
+Buffer *mBuf
+)
{
S32 idx = 0;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkPrbRprtInd
(
- RgmPrbRprtInd * prbRprtInd,
- Buffer *mBuf
- )
-#else
-S16 cmUnpkPrbRprtInd(prbRprtInd, mBuf)
- RgmPrbRprtInd * prbRprtInd;
- Buffer *mBuf;
-#endif
+RgmPrbRprtInd * prbRprtInd,
+Buffer *mBuf
+)
{
uint32_t idx = 0;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkRgmPrbRprtInd
(
Pst* pst,
SuId suId,
RgmPrbRprtInd * prbRprtInd
)
-#else
-S16 cmPkRgmPrbRprtInd(pst, suId, prbRprtInd)
-Pst* pst;
-SuId suId;
-RgmPrbRprtInd * prbRprtInd;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkRgmPrbRprtInd
(
RgmPrbRprtIndFptr func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgmPrbRprtInd(func, pst, mBuf)
-RgmPrbRprtIndFptr func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
RgmPrbRprtInd prbRprtInd;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkTransModeInd
(
- RgmTransModeInd *transModeInd,
- Buffer *mBuf
- )
-#else
-S16 cmPkTransModeInd(transModeInd, mBuf)
- RgmTransModeInd *transModeInd;
- Buffer *mBuf;
-#endif
+RgmTransModeInd *transModeInd,
+Buffer *mBuf
+)
{
CMCHKPK(oduUnpackUInt32, transModeInd->eMode, mBuf);
CMCHKPK(oduUnpackUInt16, transModeInd->usCrnti, mBuf);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkTransModeInd
(
- RgmTransModeInd *transModeInd,
- Buffer *mBuf
- )
-#else
-S16 cmUnpkTransModeInd(transModeInd, mBuf)
- RgmTransModeInd *transModeInd;
- Buffer *mBuf;
-#endif
+RgmTransModeInd *transModeInd,
+Buffer *mBuf
+)
{
uint32_t tmpModeEnum;
CMCHKUNPK(oduPackUInt8, &transModeInd->bCellId, mBuf);
* @return S16
* -# ROK
**/
-#ifdef ANSI
+
S16 cmPkRgmTransModeInd
(
Pst* pst,
SuId suId,
RgmTransModeInd *transModeInd
)
-#else
-S16 cmPkRgmTransModeInd(pst, suId, transModeInd)
-Pst* pst;
-SuId suId;
-RgmTransModeInd *transModeInd;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkRgmTransModeInd
(
RgmTransModeIndFptr func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgmTransModeInd(func, pst, mBuf)
-RgmTransModeIndFptr func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
RgmTransModeInd transModeInd;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrBndReq
(
Pst* pst,
SuId suId,
SpId spId
)
-#else
-S16 cmPkRgrBndReq(pst, suId, spId)
-Pst* pst;
-SuId suId;
-SpId spId;
-#endif
{
Buffer *mBuf = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrBndReq
(
RgrBndReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrBndReq(func, pst, mBuf)
-RgrBndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
SpId spId;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrBndCfm
(
Pst* pst,
SuId suId,
uint8_t status
)
-#else
-S16 cmPkRgrBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
{
Buffer *mBuf = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrBndCfm
(
RgrBndCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrBndCfm(func, pst, mBuf)
-RgrBndCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
uint8_t status;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUbndReq
(
Pst* pst,
SpId spId,
Reason reason
)
-#else
-S16 cmPkRgrUbndReq(pst, spId, reason)
-Pst* pst;
-SpId spId;
-Reason reason;
-#endif
{
Buffer *mBuf = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUbndReq
(
RgrUbndReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUbndReq(func, pst, mBuf)
-RgrUbndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId;
Reason reason;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrCfgReq
(
RgrCfgReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrCfgReq(func, pst, mBuf)
-RgrCfgReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgrCfgTransId transId;
RgrCfgReqInfo *cfgReqInfo;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrTtiIndInfo
(
RgrTtiIndInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrTtiIndInfo(param, mBuf)
-RgrTtiIndInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt16, param->sfn, mBuf);
CMCHKPK(cmPkLteCellId, param->cellId, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrTtiIndInfo
(
RgrTtiIndInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrTtiIndInfo(param, mBuf)
-RgrTtiIndInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(cmUnpkLteCellId, ¶m->cellId, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrTtiInd
(
Pst* pst,
SuId suId,
RgrTtiIndInfo *ttiInd
)
-#else
-S16 cmPkRgrTtiInd(pst, suId, ttiInd)
-Pst* pst;
-SuId suId;
-RgrTtiIndInfo *ttiInd;
-#endif
{
Buffer *mBuf = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrTtiInd
(
RgrTtiInd func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrTtiInd(func, pst, mBuf)
-RgrTtiInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
RgrTtiIndInfo *ttiInd;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrCfgCfm
(
Pst* pst,
RgrCfgTransId transId,
uint8_t status
)
-#else
-S16 cmPkRgrCfgCfm(pst, transId, status)
-Pst* pst;
-RgrCfgTransId transId;
-uint8_t status;
-#endif
{
Buffer *mBuf = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrCfgCfm
(
RgrCfgCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrCfgCfm(func, pst, mBuf)
-RgrCfgCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgrCfgTransId transId;
uint8_t status;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrSiCfgCfm
(
Pst* pst,
RgrCfgTransId transId,
uint8_t status
)
-#else
-S16 cmPkRgrSiCfgCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-RgrCfgTransId transId;
-uint8_t status;
-#endif
{
Buffer *mBuf = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrSiCfgCfm
(
RgrSiCfgCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrSiCfgCfm(func, pst, mBuf)
-RgrSiCfgCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
RgrCfgTransId transId;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrCfgTransId
(
RgrCfgTransId *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrCfgTransId(param, mBuf)
-RgrCfgTransId *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrCfgTransId
(
RgrCfgTransId *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrCfgTransId(param, mBuf)
-RgrCfgTransId *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrDlHqCfg
(
RgrDlHqCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrDlHqCfg(param, mBuf)
-RgrDlHqCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrDlHqCfg
(
RgrDlHqCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrDlHqCfg(param, mBuf)
-RgrDlHqCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrRntiCfg
(
RgrRntiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrRntiCfg(param, mBuf)
-RgrRntiCfg *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt16, param->size, mBuf);
CMCHKPK(cmPkLteRnti, param->startRnti, mBuf);
return ROK;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrRntiCfg
(
RgrRntiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrRntiCfg(param, mBuf)
-RgrRntiCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrEmtcRntiCfg
(
RgrEmtcRntiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrEmtcRntiCfg(param, mBuf)
-RgrEmtcRntiCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrEmtcRntiCfg
(
RgrEmtcRntiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrEmtcRntiCfg(param, mBuf)
-RgrEmtcRntiCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrDlCmnCodeRateCfg
(
RgrDlCmnCodeRateCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrDlCmnCodeRateCfg(param, mBuf)
-RgrDlCmnCodeRateCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->ccchCqi, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrDlCmnCodeRateCfg
(
RgrDlCmnCodeRateCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrDlCmnCodeRateCfg(param, mBuf)
-RgrDlCmnCodeRateCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt16, ¶m->bcchPchRaCodeRate, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrCfiCfg
(
RgrCfiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrCfiCfg(param, mBuf)
-RgrCfiCfg *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt8, param->cfi, mBuf);
return ROK;
}
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrCfiCfg
(
RgrCfiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrCfiCfg(param, mBuf)
-RgrCfiCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->cfi, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrPuschSubBandCfg
(
RgrPuschSubBandCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrPuschSubBandCfg(param, mBuf)
-RgrPuschSubBandCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrPuschSubBandCfg
(
RgrPuschSubBandCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrPuschSubBandCfg(param, mBuf)
-RgrPuschSubBandCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
-
CMCHKUNPK(oduPackUInt8, ¶m->subbandStart, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->numSubbands, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->size, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUlCmnCodeRateCfg
(
RgrUlCmnCodeRateCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUlCmnCodeRateCfg(param, mBuf)
-RgrUlCmnCodeRateCfg *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt8, param->ccchCqi, mBuf);
return ROK;
}
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUlCmnCodeRateCfg
(
RgrUlCmnCodeRateCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUlCmnCodeRateCfg(param, mBuf)
-RgrUlCmnCodeRateCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->ccchCqi, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUlTrgCqiCfg
(
RgrUlTrgCqiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUlTrgCqiCfg(param, mBuf)
-RgrUlTrgCqiCfg *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt8, param->trgCqi, mBuf);
return ROK;
}
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUlTrgCqiCfg
(
RgrUlTrgCqiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUlTrgCqiCfg(param, mBuf)
-RgrUlTrgCqiCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->trgCqi, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrBwCfg
(
RgrBwCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrBwCfg(param, mBuf)
-RgrBwCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->ulTotalBw, mBuf);
#ifdef EMTC_ENABLE
/* EMTC related pack changes start*/
-#ifdef ANSI
S16 cmPkRgrEmtcSiCfg
(
RgrEmtcSiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrEmtcSiCfg(param, mBuf)
-RgrEmtcSiCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
-#ifdef ANSI
S16 cmPkRgrEmtcRachCfg
(
RgrEmtcRachCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrEmtcRachCfg(param, mBuf)
-RgrEmtcRachCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
}
-#ifdef ANSI
S16 cmPkRgrEmtcPdschCfg
(
RgrEmtcPdschCfg*param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrEmtcPdschCfg(param, mBuf)
-RgrEmtcPdschCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt16, param->emtcMaxRepCeModeA, mBuf);
return ROK;
}
-#ifdef ANSI
S16 cmPkRgrEmtcPuschCfg
(
RgrEmtcPuschCfg*param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrEmtcPuschCfg(param, mBuf)
-RgrEmtcPuschCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt16, param->emtcMaxRepCeModeA, mBuf);
CMCHKPK(oduUnpackUInt16, param->emtcMaxRepCeModeB, mBuf);
-#ifdef ANSI
S16 cmPkRgrEmtcPucchCfg
(
RgrEmtcPucchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrEmtcPucchCfg(param, mBuf)
-RgrEmtcPucchCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
-
- for (i=RGR_MAX_CE_LEVEL-1; i >= 0; i--) {
+ for (i=RGR_MAX_CE_LEVEL-1; i >= 0; i--)
+ {
CMCHKPK(oduUnpackUInt16, param->emtcN1pucchAnInfoLst[i], mBuf);
- }
+ }
CMCHKPK(oduUnpackUInt8, param->emtcPucchNumRepCEMsg4Lvl0, mBuf);
CMCHKPK(oduUnpackUInt8, param->emtcPucchNumRepCEMsg4Lvl1, mBuf);
}
-#ifdef ANSI
S16 cmPkRgrEmtcPrachCeParamCfg
(
RgrEmtcPrachCEParamLst *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrEmtcPrachCeParamCfg(param, mBuf)
-RgrEmtcPrachCEParamLst *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->emtcPrachCfgIdx, mBuf);
CMCHKPK(oduUnpackUInt8, param->emtcPrachFreqOffset, mBuf);
-#ifdef ANSI
S16 cmPkRgrEmtcPrachCfg
(
RgrEmtcPrachCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrEmtcPrachCfg(param, mBuf)
-RgrEmtcPrachCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
-#ifdef ANSI
S16 cmPkRgrEmtcCfg
(
RgrEmtcCellCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrEmtcCfg(param, mBuf)
-RgrEmtcCellCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt16, param->pci, mBuf);
CMCHKPK(oduUnpackUInt32, param->emtcT300Tmr, mBuf);
/* EMTC related unpack changes start*/
-#ifdef ANSI
S16 cmUnpkRgrEmtcSiCfg
(
RgrEmtcSiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrEmtcSiCfg(param, mBuf)
-RgrEmtcSiCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
-#ifdef ANSI
S16 cmUnpkRgrEmtcRachCfg
(
RgrEmtcRachCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrEmtcRachCfg(param, mBuf)
-RgrEmtcRachCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
}
-#ifdef ANSI
S16 cmUnpkRgrEmtcPdschCfg
(
RgrEmtcPdschCfg*param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrEmtcPdschCfg(param, mBuf)
-RgrEmtcPdschCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt16, ¶m->emtcMaxRepCeModeB, mBuf);
return ROK;
}
-#ifdef ANSI
S16 cmUnpkRgrEmtcPuschCfg
(
RgrEmtcPuschCfg*param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrEmtcPuschCfg(param, mBuf)
-RgrEmtcPuschCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->emtcHoppingOffset, mBuf);
CMCHKUNPK(oduPackUInt16, ¶m->emtcMaxRepCeModeB, mBuf);
-#ifdef ANSI
S16 cmUnpkRgrEmtcPucchCfg
(
RgrEmtcPucchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrEmtcPucchCfg(param, mBuf)
-RgrEmtcPucchCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
}
-#ifdef ANSI
S16 cmUnpkRgrEmtcPrachCeParamCfg
(
RgrEmtcPrachCEParamLst *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrEmtcPrachCeParamCfg(param, mBuf)
-RgrEmtcPrachCEParamLst *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->emtcPrachHoppingCfg, mBuf);
CMCHKUNPK(oduPackUInt16, ¶m->emtcMpdcchNumRep, mBuf);
-#ifdef ANSI
S16 cmUnpkRgrEmtcPrachCfg
(
RgrEmtcPrachCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrEmtcPrachCfg(param, mBuf)
-RgrEmtcPrachCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
return ROK;
}
-#ifdef ANSI
S16 cmUnpkRgrEmtcCfg
(
RgrEmtcCellCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrEmtcCfg(param, mBuf)
-RgrEmtcCellCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->emtcPuschNbIdx, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrBwCfg
(
RgrBwCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrBwCfg(param, mBuf)
-RgrBwCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->dlTotalBw, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrPhichCfg
(
RgrPhichCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrPhichCfg(param, mBuf)
-RgrPhichCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->isDurExtend, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrPhichCfg
(
RgrPhichCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrPhichCfg(param, mBuf)
-RgrPhichCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrPucchCfg
(
RgrPucchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrPucchCfg(param, mBuf)
-RgrPucchCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->maxPucchRb, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrPucchCfg
(
RgrPucchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrPucchCfg(param, mBuf)
-RgrPucchCfg *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(oduPackUInt8, ¶m->resourceSize, mBuf);
CMCHKUNPK(oduPackUInt16, ¶m->n1PucchAn, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->deltaShift, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrSrsCfg
(
RgrSrsCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrSrsCfg(param, mBuf)
-RgrSrsCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrSrsCfg
(
RgrSrsCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrSrsCfg(param, mBuf)
-RgrSrsCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
-
CMCHKUNPK(oduPackUInt8, ¶m->isSrsCfgSetup, mBuf);
CMCHKUNPK(oduPackUInt32, (uint32_t *)&tmpEnum, mBuf);
param->srsCfgPrdEnum = (RgrSrsCfgPrd) tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrRachCfg
(
RgrRachCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrRachCfg(param, mBuf)
-RgrRachCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrRachCfg
(
RgrRachCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrRachCfg(param, mBuf)
-RgrRachCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrSiCfg
(
RgrSiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrSiCfg(param, mBuf)
-RgrSiCfg *param;
-Buffer *mBuf;
-#endif
{
/* rgr_c_001.main_4:MOD-Modified for SI Enhancement. */
#ifdef RGR_SI_SCH
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrSiCfg
(
RgrSiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrSiCfg(param, mBuf)
-RgrSiCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
/* rgr_c_001.main_4:MOD-Modified for SI Enhancement. */
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrTpcRntiCfg
(
RgrTpcRntiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrTpcRntiCfg(param, mBuf)
-RgrTpcRntiCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrTpcRntiCfg
(
RgrTpcRntiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrTpcRntiCfg(param, mBuf)
-RgrTpcRntiCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUlPwrCfg
(
RgrUlPwrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUlPwrCfg(param, mBuf)
-RgrUlPwrCfg *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(cmPkRgrTpcRntiCfg, ¶m->puschPwrFmt3a, mBuf);
CMCHKPK(cmPkRgrTpcRntiCfg, ¶m->puschPwrFmt3, mBuf);
CMCHKPK(cmPkRgrTpcRntiCfg, ¶m->pucchPwrFmt3a, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUlPwrCfg
(
RgrUlPwrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUlPwrCfg(param, mBuf)
-RgrUlPwrCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrPuschCfg
(
RgrPuschCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrPuschCfg(param, mBuf)
-RgrPuschCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrPuschCfg
(
RgrPuschCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrPuschCfg(param, mBuf)
-RgrPuschCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrCodeBookRstCfg
(
RgrCodeBookRstCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrCodeBookRstCfg(param, mBuf)
-RgrCodeBookRstCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrCodeBookRstCfg
(
RgrCodeBookRstCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrCodeBookRstCfg(param, mBuf)
-RgrCodeBookRstCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrPreambleSetCfg
(
RgrPreambleSetCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrPreambleSetCfg(param, mBuf)
-RgrPreambleSetCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrPreambleSetCfg
(
RgrPreambleSetCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrPreambleSetCfg(param, mBuf)
-RgrPreambleSetCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrCmnLchCfg
(
RgrCmnLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrCmnLchCfg(param, mBuf)
-RgrCmnLchCfg *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt8, param->ulTrchType, mBuf);
CMCHKPK(oduUnpackUInt8, param->dlTrchType, mBuf);
CMCHKPK(oduUnpackUInt8, param->dir, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrCmnLchCfg
(
RgrCmnLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrCmnLchCfg(param, mBuf)
-RgrCmnLchCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrDlfsCfg
(
RgrDlfsCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrDlfsCfg(param, mBuf)
-RgrDlfsCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrDlfsCfg
(
RgrDlfsCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrDlfsCfg(param, mBuf)
-RgrDlfsCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrTddPrachInfo
(
RgrTddPrachInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrTddPrachInfo(param, mBuf)
-RgrTddPrachInfo *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrTddPrachInfo
(
RgrTddPrachInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrTddPrachInfo(param, mBuf)
-RgrTddPrachInfo *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrTddPrachRscInfo
(
RgrTddPrachRscInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrTddPrachRscInfo(param, mBuf)
-RgrTddPrachRscInfo *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrTddPrachRscInfo
(
RgrTddPrachRscInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrTddPrachRscInfo(param, mBuf)
-RgrTddPrachRscInfo *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrEnbPfs
(
RgrEnbPfs *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrEnbPfs(param, mBuf)
-RgrEnbPfs *param;
-Buffer *mBuf;
-#endif
{
S32 idx;
for(idx = RGR_MAX_NUM_QCI-1; idx >= 0; idx--)
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrEnbPfs
(
RgrEnbPfs *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrEnbPfs(param, mBuf)
-RgrEnbPfs *param;
-Buffer *mBuf;
-#endif
{
S32 idx;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrSpsCellCfg
(
RgrSpsCellCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrSpsCellCfg(param, mBuf)
-RgrSpsCellCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt16, param->maxSpsUePerUlSf, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrSpsDlCellCfg
(
RgrSpsCellCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrSpsDlCellCfg(param, mBuf)
-RgrSpsCellCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 cmPkRgrLteUCellCfg
(
RgrLteUCfg *param,
Buffer *mBuf
)
-#else
-static S16 cmPkRgrLteUCellCfg(param, mBuf)
-RgrLteUCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->isLaaCell, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 cmUnpkRgrLteUCellCfg
(
RgrLteUCfg *param,
Buffer *mBuf
)
-#else
-static S16 cmUnpkRgrLteUCellCfg(param, mBuf)
-RgrLteUCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrLteAdvancedUeConfig
(
- RgrLteAdvancedUeConfig *param,
- Buffer *mBuf
- )
-#else
-S16 cmPkRgrLteAdvancedUeConfig(param, mBuf)
- RgrLteAdvancedUeConfig *param;
- Buffer *mBuf;
-#endif
+RgrLteAdvancedUeConfig *param,
+Buffer *mBuf
+)
{
CMCHKPK(oduUnpackUInt8, param->isUeCellEdge, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrLteAdvancedUeConfig
(
- RgrLteAdvancedUeConfig *param,
- Buffer *mBuf
- )
-#else
-S16 cmUnpkRgrLteAdvancedUeConfig(param, mBuf)
- RgrLteAdvancedUeConfig *param;
- Buffer *mBuf;
-#endif
+RgrLteAdvancedUeConfig *param,
+Buffer *mBuf
+)
{
CMCHKUNPK(oduPackUInt32, ¶m->pres, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrAbsConfig
(
- RgrAbsConfig *param,
- Buffer *mBuf
- )
-#else
-S16 cmPkRgrAbsConfig(param, mBuf)
- RgrAbsConfig *param;
- Buffer *mBuf;
-#endif
+RgrAbsConfig *param,
+Buffer *mBuf
+)
{
S8 indx = 0;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrSfrConfig
(
- RgrSfrConfig *param,
- Buffer *mBuf
- )
-#else
-S16 cmPkRgrSfrConfig(param, mBuf)
- RgrSfrConfig *param;
- Buffer *mBuf;
-#endif
+RgrSfrConfig *param,
+Buffer *mBuf
+)
{
CMCHKPK(oduUnpackUInt32, (uint32_t)param->status, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrDsfrConfig
(
- RgrDsfrConfig *param,
- Buffer *mBuf
- )
-#else
-S16 cmPkRgrDsfrConfig(param, mBuf)
- RgrDsfrConfig *param;
- Buffer *mBuf;
-#endif
+RgrDsfrConfig *param,
+Buffer *mBuf
+)
{
CMCHKPK(oduUnpackUInt32, (uint32_t)param->status, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrDsfrConfig
(
- RgrDsfrConfig *param,
- Buffer *mBuf
- )
-#else
-S16 cmUnpkRgrDsfrConfig(param, mBuf)
- RgrDsfrConfig *param;
- Buffer *mBuf;
-#endif
+RgrDsfrConfig *param,
+Buffer *mBuf
+)
{
CMCHKUNPK(oduPackUInt32, (uint32_t *)¶m->status, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
+
S16 cmPkRgrCellLteAdvancedFeatureCfg
(
- RgrLteAdvancedCellConfig *param,
- Buffer *mBuf
- )
-#else
-S16 cmPkRgrCellLteAdvancedFeatureCfg(param, mBuf)
- RgrLteAdvancedCellConfig *param;
- Buffer *mBuf;
-#endif
+RgrLteAdvancedCellConfig *param,
+Buffer *mBuf
+)
{
CMCHKPK(oduUnpackUInt32, param->pres, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrAbsConfig
(
- RgrAbsConfig *param,
- Buffer *mBuf
- )
-#else
-S16 cmUnpkRgrAbsConfig(param, mBuf)
- RgrAbsConfig *param;
- Buffer *mBuf;
-#endif
+RgrAbsConfig *param,
+Buffer *mBuf
+)
{
S8 indx = 0;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrSfrConfig
(
- RgrSfrConfig *param,
- Buffer *mBuf
- )
-#else
-S16 cmUnpkRgrSfrConfig(param, mBuf)
- RgrSfrConfig *param;
- Buffer *mBuf;
-#endif
+RgrSfrConfig *param,
+Buffer *mBuf
+)
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrCellLteAdvancedFeatureCfg
(
- RgrLteAdvancedCellConfig *param,
- Buffer *mBuf
- )
-#else
-S16 cmUnpkRgrCellLteAdvancedFeatureCfg(param, mBuf)
- RgrLteAdvancedCellConfig *param;
- Buffer *mBuf;
-#endif
+RgrLteAdvancedCellConfig *param,
+Buffer *mBuf
+)
{
CMCHKUNPK(cmUnpkRgrAbsConfig, ¶m->absCfg, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkMacSchedGnbCfg
(
MacSchedGnbCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkMacSchedGnbCfg(param, mBuf)
-RgrSchedEnbCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->maxDlUePerTti, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkMacSchedGnbCfg
(
MacSchedGnbCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkMacSchedGnbCfg(param, mBuf)
-MacSchedGnbCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrCellCfg
(
RgrCellCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrCellCfg(param, mBuf)
-RgrCellCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrCellCfg
(
RgrCellCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrCellCfg(param, mBuf)
-RgrCellCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeAprdDlCqiCfg
(
RgrUeAprdDlCqiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeAprdDlCqiCfg(param, mBuf)
-RgrUeAprdDlCqiCfg *param;
-Buffer *mBuf;
-#endif
{
/*Pack Aperiodic Trigger List only for Pcell */
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeAprdDlCqiCfg
(
RgrUeAprdDlCqiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeAprdDlCqiCfg(param, mBuf)
-RgrUeAprdDlCqiCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUePrdDlCqiCfg
(
RgrUePrdDlCqiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUePrdDlCqiCfg(param, mBuf)
-RgrUePrdDlCqiCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUePrdDlCqiCfg
(
RgrUePrdDlCqiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUePrdDlCqiCfg(param, mBuf)
-RgrUePrdDlCqiCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeDlPCqiSetup
(
RgrUeDlPCqiSetup *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeDlPCqiSetup(param, mBuf)
-RgrUeDlPCqiSetup *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeDlPCqiSetup
(
RgrUeDlPCqiSetup *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeDlPCqiSetup(param, mBuf)
-RgrUeDlPCqiSetup *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUePrdDlCqiCfg
(
RgrUePrdDlCqiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUePrdDlCqiCfg(param, mBuf)
-RgrUePrdDlCqiCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUePrdDlCqiCfg
(
RgrUePrdDlCqiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUePrdDlCqiCfg(param, mBuf)
-RgrUePrdDlCqiCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeUlSrsSetupCfg
(
RgrUeUlSrsSetupCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeUlSrsSetupCfg(param, mBuf)
-RgrUeUlSrsSetupCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeUlSrsSetupCfg
(
RgrUeUlSrsSetupCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeUlSrsSetupCfg(param, mBuf)
-RgrUeUlSrsSetupCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeSrSetupCfg
(
RgrUeSrSetupCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeSrSetupCfg(param, mBuf)
-RgrUeSrSetupCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeSrSetupCfg
(
RgrUeSrSetupCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeSrSetupCfg(param, mBuf)
-RgrUeSrSetupCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt16, ¶m->srResIdx, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeSrCfg
(
RgrUeSrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeSrCfg(param, mBuf)
-RgrUeSrCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeSrCfg
(
RgrUeSrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeSrCfg(param, mBuf)
-RgrUeSrCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeUlSrsCfg
(
RgrUeUlSrsCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeUlSrsCfg(param, mBuf)
-RgrUeUlSrsCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeUlSrsCfg
(
RgrUeUlSrsCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeUlSrsCfg(param, mBuf)
-RgrUeUlSrsCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeDlCqiCfg
(
RgrUeDlCqiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeDlCqiCfg(param, mBuf)
-RgrUeDlCqiCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeDlCqiCfg
(
RgrUeDlCqiCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeDlCqiCfg(param, mBuf)
-RgrUeDlCqiCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeMeasGapCfg
(
RgrUeMeasGapCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeMeasGapCfg(param, mBuf)
-RgrUeMeasGapCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeMeasGapCfg
(
RgrUeMeasGapCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeMeasGapCfg(param, mBuf)
-RgrUeMeasGapCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrDrxLongCycleOffst
(
RgrDrxLongCycleOffst *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrDrxLongCycleOffst(param, mBuf)
-RgrDrxLongCycleOffst *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrDrxLongCycleOffst
(
RgrDrxLongCycleOffst *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrDrxLongCycleOffst(param, mBuf)
-RgrDrxLongCycleOffst *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrDrxShortDrx
(
RgrDrxShortDrx *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrDrxShortDrx(param, mBuf)
-RgrDrxShortDrx *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrDrxShortDrx
(
RgrDrxShortDrx *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrDrxShortDrx(param, mBuf)
-RgrDrxShortDrx *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeDrxCfg
(
RgrUeDrxCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeDrxCfg(param, mBuf)
-RgrUeDrxCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeDrxCfg
(
RgrUeDrxCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeDrxCfg(param, mBuf)
-RgrUeDrxCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeCapCfg
(
RgrUeCapCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeCapCfg(param, mBuf)
-RgrUeCapCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeCapCfg
(
RgrUeCapCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeCapCfg(param, mBuf)
-RgrUeCapCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeAckNackRepCfg
(
RgrUeAckNackRepCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeAckNackRepCfg(param, mBuf)
-RgrUeAckNackRepCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeAckNackRepCfg
(
RgrUeAckNackRepCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeAckNackRepCfg(param, mBuf)
-RgrUeAckNackRepCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeTxModeCfg
(
RgrUeTxModeCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeTxModeCfg(param, mBuf)
-RgrUeTxModeCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeTxModeCfg
(
RgrUeTxModeCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeTxModeCfg(param, mBuf)
-RgrUeTxModeCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeUlHqCfg
(
RgrUeUlHqCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeUlHqCfg(param, mBuf)
-RgrUeUlHqCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeUlHqCfg
(
RgrUeUlHqCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeUlHqCfg(param, mBuf)
-RgrUeUlHqCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeGrpPwrCfg
(
RgrUeGrpPwrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeGrpPwrCfg(param, mBuf)
-RgrUeGrpPwrCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeGrpPwrCfg
(
RgrUeGrpPwrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeGrpPwrCfg(param, mBuf)
-RgrUeGrpPwrCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeSpsDlCfg
(
RgrUeSpsDlCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeSpsDlCfg(param, mBuf)
-RgrUeSpsDlCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeSpsDlCfg
(
RgrUeSpsDlCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeSpsDlCfg(param, mBuf)
-RgrUeSpsDlCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeSpsUlCfg
(
RgrUeSpsUlCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeSpsUlCfg(param, mBuf)
-RgrUeSpsUlCfg *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeSpsUlCfg
(
RgrUeSpsUlCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeSpsUlCfg(param, mBuf)
-RgrUeSpsUlCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeSpsCfg
(
RgrUeSpsCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeSpsCfg(param, mBuf)
-RgrUeSpsCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeSpsCfg
(
RgrUeSpsCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeSpsCfg(param, mBuf)
-RgrUeSpsCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeUlPwrCfg
(
RgrUeUlPwrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeUlPwrCfg(param, mBuf)
-RgrUeUlPwrCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeUlPwrCfg
(
RgrUeUlPwrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeUlPwrCfg(param, mBuf)
-RgrUeUlPwrCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeQosCfg
(
RgrUeQosCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeQosCfg(param, mBuf)
-RgrUeQosCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeQosCfg
(
RgrUeQosCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeQosCfg(param, mBuf)
-RgrUeQosCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUePuschDedCfg
(
RgrUePuschDedCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUePuschDedCfg(param, mBuf)
-RgrUePuschDedCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUePuschDedCfg
(
RgrUePuschDedCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUePuschDedCfg(param, mBuf)
-RgrUePuschDedCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeTxAntSelCfg
(
RgrUeTxAntSelCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeTxAntSelCfg(param, mBuf)
-RgrUeTxAntSelCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeTxAntSelCfg
(
RgrUeTxAntSelCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeTxAntSelCfg(param, mBuf)
-RgrUeTxAntSelCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeTaTmrCfg
(
RgrUeTaTmrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeTaTmrCfg(param, mBuf)
-RgrUeTaTmrCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeTaTmrCfg
(
RgrUeTaTmrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeTaTmrCfg(param, mBuf)
-RgrUeTaTmrCfg *param;
-Buffer *mBuf;
-#endif
{
#ifdef EMTC_ENABLE
-#ifdef ANSI
S16 cmUnpkRgrEmtcUeCfg
(
RgrUeEmtcCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrEmtcUeCfg(param, mBuf)
-RgrUeEmtcCfg *param;
-Buffer *mBuf;
-#endif
{
S32 indx=0;
S32 idx=0;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeCfg
(
RgrUeCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeCfg(param, mBuf)
-RgrUeCfg *param;
-Buffer *mBuf;
-#endif
{
#ifdef RG_5GTF
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeCfg
(
RgrUeCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeCfg(param, mBuf)
-RgrUeCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrLchQosCfg
(
RgrLchQosCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrLchQosCfg(param, mBuf)
-RgrLchQosCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrLchQosCfg
(
RgrLchQosCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrLchQosCfg(param, mBuf)
-RgrLchQosCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrLchSpsCfg
(
RgrLchSpsCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrLchSpsCfg(param, mBuf)
-RgrLchSpsCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrLchSpsCfg
(
RgrLchSpsCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrLchSpsCfg(param, mBuf)
-RgrLchSpsCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrDlLchCfg
(
RgrDlLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrDlLchCfg(param, mBuf)
-RgrDlLchCfg *param;
-Buffer *mBuf;
-#endif
{
/*rgr_c_001.main_7 - Added support for SPS*/
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrDlLchCfg
(
RgrDlLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrDlLchCfg(param, mBuf)
-RgrDlLchCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUlLchCfg
(
RgrUlLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUlLchCfg(param, mBuf)
-RgrUlLchCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUlLchCfg
(
RgrUlLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUlLchCfg(param, mBuf)
-RgrUlLchCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUlLcgCfg
(
RgrUlLcgCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUlLcgCfg(param, mBuf)
-RgrUlLcgCfg *param;
-Buffer *mBuf;
-#endif
{
/*rgr_c_001.main_9 ADD added changes for L2 measurements*/
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUlLcgCfg
(
RgrUlLcgCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUlLcgCfg(param, mBuf)
-RgrUlLcgCfg *param;
-Buffer *mBuf;
-#endif
{
/*rgr_c_001.main_9 ADD added changes for L2 measurements*/
return ROK;
}
-#ifdef ANSI
S16 cmPkRgrUlLchQciCfg
(
RgrUlLchQciCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUlLchQciCfg (param, mBuf)
-RgrUlLchQciCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->lcId, mBuf);
CMCHKPK(oduUnpackUInt8, param->qci, mBuf);
CMCHKPK(oduUnpackUInt8, param->lcgId, mBuf);
return ROK;
}
-#ifdef ANSI
S16 cmUnpkRgrUlLchQciCfg
(
RgrUlLchQciCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUlLchQciCfg (param, mBuf)
-RgrUlLchQciCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->lcgId, mBuf);
CMCHKUNPK(oduPackUInt8, ¶m->qci, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrLchCfg
(
RgrLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrLchCfg(param, mBuf)
-RgrLchCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->lcgId, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrLchCfg
(
RgrLchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrLchCfg(param, mBuf)
-RgrLchCfg *param;
-Buffer *mBuf;
-#endif
{
}
-#ifdef ANSI
S16 cmPkRgrLcgCfg
(
RgrLcgCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrLcgCfg(param, mBuf)
-RgrLcgCfg *param;
-Buffer *mBuf;
-#endif
{
}
-#ifdef ANSI
S16 cmUnpkRgrLcgCfg
(
RgrLcgCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrLcgCfg(param, mBuf)
-RgrLcgCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrCfg
(
RgrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrCfg(param, mBuf)
-RgrCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrCfg
(
RgrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrCfg(param, mBuf)
-RgrCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrActvTime
(
RgrActvTime *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrActvTime(param, mBuf)
-RgrActvTime *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrActvTime
(
RgrActvTime *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrActvTime(param, mBuf)
-RgrActvTime *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrCellRecfg
(
RgrCellRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrCellRecfg(param, mBuf)
-RgrCellRecfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(cmPkRgrCellCntrlCmdCfg, ¶m->cntrlCmdCfg, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrCellRecfg
(
RgrCellRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrCellRecfg(param, mBuf)
-RgrCellRecfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeRecfg
(
RgrUeRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeRecfg(param, mBuf)
-RgrUeRecfg *param;
-Buffer *mBuf;
-#endif
{
#ifdef EMTC_ENABLE
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeRecfg
(
RgrUeRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeRecfg(param, mBuf)
-RgrUeRecfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrLchRecfg
(
RgrLchRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrLchRecfg(param, mBuf)
-RgrLchRecfg *param;
-Buffer *mBuf;
-#endif
{
/*rgr_c_001.main_7 - Added support for SPS*/
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrLchRecfg
(
RgrLchRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrLchRecfg(param, mBuf)
-RgrLchRecfg *param;
-Buffer *mBuf;
-#endif
{
}
-#ifdef ANSI
S16 cmPkRgrLcgRecfg
(
RgrLcgRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrLcgRecfg(param, mBuf)
-RgrLcgRecfg *param;
-Buffer *mBuf;
-#endif
{
#ifdef RG_UNUSED
S32 i;
}
-#ifdef ANSI
S16 cmUnpkRgrLcgRecfg
(
RgrLcgRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrLcgRecfg(param, mBuf)
-RgrLcgRecfg *param;
-Buffer *mBuf;
-#endif
{
#ifdef RG_UNUSED
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrRecfg
(
RgrRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrRecfg(param, mBuf)
-RgrRecfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrRecfg
(
RgrRecfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrRecfg(param, mBuf)
-RgrRecfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeDlSecCellRelInfo
(
RgrUeDlSecCellRelInfo *param,
Buffer *mBuf
)
-#else
-static S16 cmPkRgrUeDlSecCellRelInfo(param, mBuf)
-RgrUeDlSecCellRelInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt16, param->sCellId, mBuf);
CMCHKPK(oduUnpackUInt8, param->sCellIdx, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeSecCellRelInfo
(
RgrUeSecCellRelInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeSecCellRelInfo(param, mBuf)
-RgrUeSecCellRelInfo *param;
-Buffer *mBuf;
-#endif
{
S8 idx;
for(idx = param->numSCells - 1; idx >= 0; idx--)
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrDel
(
RgrDel *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrDel(param, mBuf)
-RgrDel *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeDlSecCellRelInfo
(
RgrUeDlSecCellRelInfo *param,
Buffer *mBuf
)
-#else
-static S16 cmUnpkRgrUeDlSecCellRelInfo(param, mBuf)
-RgrUeDlSecCellRelInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->sCellIdx, mBuf);
CMCHKUNPK(oduPackUInt16, ¶m->sCellId, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeSecCellRelInfo
(
RgrUeSecCellRelInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeSecCellRelInfo(param, mBuf)
-RgrUeSecCellRelInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrDel
(
RgrDel *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrDel(param, mBuf)
-RgrDel *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrSonPrbCfg
(
RgrPrbCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrSonPrbCfg(param, mBuf)
-RgrPrbCfg *param;
-Buffer *mBuf;
-#endif
{
S32 count;
for(count = RGR_SCH_MAX_PA_PER_PRB - 1; count >= 0; count --)
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrSonPrbCfg
(
RgrPrbCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrSonPrbCfg(param, mBuf)
-RgrPrbCfg *param;
-Buffer *mBuf;
-#endif
{
S32 count;
CMCHKUNPK(oduPackUInt8, ¶m->isSonIcicEnable, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrSonCfg
(
RgrSonCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrSonCfg(param, mBuf)
-RgrSonCfg *param;
-Buffer *mBuf;
-#endif
{
switch(param->cfgType)
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrSonCfg
(
RgrSonCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrSonCfg(param, mBuf)
-RgrSonCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt32, (uint32_t *)¶m->cfgType, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrRst
(
RgrRst *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrRst(param, mBuf)
-RgrRst *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrRst
(
RgrRst *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrRst(param, mBuf)
-RgrRst *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 cmUnPkRgrSCellActDeactInfo
(
RgrSCellActDeactInfo *param,
Buffer *mBuf
)
-#else
-static S16 cmUnPkRgrSCellActInfo(param, mBuf)
-RgrSCellActDeactInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->sCellIdx, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnPkRgrSCellActDeactEvnt
(
RgrSCellActDeactEvnt *param,
Buffer *mBuf
)
-#else
-S16 cmUnPkRgrSCellActDeactEvnt(param, mBuf)
-RgrSCellActDeactEvnt *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 cmPkRgrSCellActDeactInfo
(
RgrSCellActDeactInfo *param,
Buffer *mBuf
)
-#else
-static S16 cmPkRgrSCellActDeactInfo(param, mBuf)
-RgrSCellActDeactInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->sCellIdx, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrSCellActDeactEvnt
(
RgrSCellActDeactEvnt *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrSCellActDeactEvnt(param, mBuf)
-RgrSCellActDeactEvnt *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrCfgReqInfo
(
RgrCfgReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrCfgReqInfo(param, mBuf)
-RgrCfgReqInfo *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrCfgReqInfo
(
RgrCfgReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrCfgReqInfo(param, mBuf)
-RgrCfgReqInfo *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeBsrTmrCfg
(
RgrUeBsrTmrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeBsrTmrCfg(param, mBuf)
-RgrUeBsrTmrCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeBsrTmrCfg
(
RgrUeBsrTmrCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeBsrTmrCfg(param, mBuf)
-RgrUeBsrTmrCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrSiCfgReq
(
Pst* pst,
RgrCfgTransId transId,
RgrSiCfgReqInfo * cfgReqInfo
)
-#else
-S16 cmPkRgrSiCfgReq(pst, spId, transId, cfgReqInfo)
-Pst* pst;
-SpId spId;
-RgrCfgTransId transId;
-RgrSiCfgReqInfo * cfgReqInfo;
-#endif
{
Buffer *mBuf = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrSiCfgReq
(
RgrSiCfgReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrSiCfgReq(func, pst, mBuf)
-RgrSiCfgReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId;
RgrCfgTransId transId;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrSiCfgReqInfo
(
RgrSiCfgReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrSiCfgReqInfo(param, mBuf)
-RgrSiCfgReqInfo *param;
-Buffer *mBuf;
-#endif
{
/* ccpu00111328: S16 is renamed as MsgLen */
MsgLen msgLen;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrSiCfgReqInfo
(
RgrSiCfgReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrSiCfgReqInfo(param, mBuf)
-RgrSiCfgReqInfo *param;
-Buffer *mBuf;
-#endif
{
MsgLen msgLen, totalMsgLen;
/*Merge from Mohit Changes*/
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrWarningSiCfgReq
(
Pst* pst,
RgrCfgTransId transId,
RgrWarningSiCfgReqInfo * warningSiCfgReqInfo
)
-#else
-S16 cmPkRgrWarningSiCfgReq(pst, spId, transId, warningSiCfgReqInfo)
-Pst* pst;
-SpId spId;
-RgrCfgTransId transId;
-RgrWarningSiCfgReqInfo * warningSiCfgReqInfo;
-#endif
{
Buffer *mBuf = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrWarningSiCfgReq
(
RgrWarningSiCfgReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrWarningSiCfgReq(func, pst, mBuf)
-RgrWarningSiCfgReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId;
RgrCfgTransId transId;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrWarningSiCfgReqInfo
(
Pst *pst,
RgrWarningSiCfgReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrWarningSiCfgReqInfo(pst, param, mBuf)
-Pst *pst;
-RgrWarningSiCfgReqInfo *param;
-Buffer *mBuf;
-#endif
{
MsgLen msgLen;
uint32_t count;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrWarningSiCfgReqInfo
(
Pst *pst,
RgrWarningSiCfgReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrWarningSiCfgReqInfo(pst, param, mBuf)
-Pst *pst;
-RgrWarningSiCfgReqInfo *param;
-Buffer *mBuf;
-#endif
{
MsgLen msgLen, totalMsgLen;
uint32_t count, loopCnt;
*
* File :
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrWarningSiStopReq
(
Pst *pst,
RgrCfgTransId transId,
uint8_t siId
)
-#else
-S16 cmPkRgrWarningSiStopReq(pst,spId, transId, siId)
-Pst *pst;
-SpId spId;
-RgrCfgTransId transId;
-uint8_t siId;
-#endif
{
Buffer *mBuf = NULLP;
*
* File :
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrWarningSiStopReq
(
RgrWarningSiStopReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrWarningSiStopReq(param, mBuf)
-RgrWarningSiStopReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId;
uint8_t siId;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrWarningSiCfgCfm
(
Pst* pst,
uint8_t siId,
uint8_t status
)
-#else
-S16 cmPkRgrWarningSiCfgCfm(pst, suId, transId, siId, status)
-Pst* pst;
-SuId suId;
-RgrCfgTransId transId;
-uint8_t siId;
-uint8_t status;
-#endif
{
Buffer *mBuf = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrWarningSiCfgCfm
(
RgrWarningSiCfgCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrWarningSiCfgCfm(func, pst, mBuf)
-RgrWarningSiCfgCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
uint8_t siId;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrLoadInfReq
(
Pst* pst,
RgrCfgTransId transId,
RgrLoadInfReqInfo * loadInfReq
)
-#else
-S16 cmPkRgrLoadInfReq(pst, spId, transId, loadInfReq)
-Pst* pst;
-SpId spId;
-RgrCfgTransId transId;
-RgrLoadInfReqInfo * loadInfReq;
-#endif
{
Buffer *mBuf = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrLoadInfReq
(
RgrLoadInfReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrLoadInfReq(func, pst, mBuf)
-RgrLoadInfReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId;
RgrCfgTransId transId;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrLoadInfReqInfo
(
RgrLoadInfReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrLoadInfReqInfo(param, mBuf)
-RgrLoadInfReqInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(cmPkLteCellId, param->cellId, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrLoadInfReqInfo
(
RgrLoadInfReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrLoadInfReqInfo(param, mBuf)
-RgrLoadInfReqInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->rgrCcPHighEndRb, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeCqiReptCfg
(
RgrUeCqiReptCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeCqiReptCfg(param, mBuf)
-RgrUeCqiReptCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->numColltdCqiRept, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeCqiReptCfg
(
RgrUeCqiReptCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeCqiReptCfg(param, mBuf)
-RgrUeCqiReptCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->numColltdCqiRept, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrStaInd
(
Pst* pst,
SuId suId,
RgrStaIndInfo* staInd
)
-#else
-S16 cmPkRgrStaInd(pst, suId, staInd)
-Pst* pst;
-SuId suId;
-RgrStaIndInfo* staInd;
-#endif
{
Buffer *mBuf = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrStaInd
(
RgrStaInd func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrStaInd(func, pst, mBuf)
-RgrStaInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
RgrStaIndInfo *staInd;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrStaIndInfo
(
RgrStaIndInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrStaIndInfo(param, mBuf)
-RgrStaIndInfo *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrStaIndInfo
(
RgrStaIndInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrStaIndInfo(param, mBuf)
-RgrStaIndInfo *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeCqiInfo
(
RgrUeCqiInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeCqiInfo(param, mBuf)
-RgrUeCqiInfo *param;
-Buffer *mBuf;
-#endif
{
S16 idx;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeCqiInfo
(
RgrUeCqiInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeCqiInfo(param, mBuf)
-RgrUeCqiInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrSubBandCqiInfo
(
RgrSubBandCqiInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrSubBandCqiInfo(param, mBuf)
-RgrSubBandCqiInfo *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeCqiRept
(
RgrUeCqiRept *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeCqiRept(param, mBuf)
-RgrUeCqiRept *param;
-Buffer *mBuf;
-#endif
{
S8 idx;
uint8_t count;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrSubBandCqiInfo
(
RgrSubBandCqiInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrSubBandCqiInfo(param, mBuf)
-RgrSubBandCqiInfo *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeCqiRept
(
RgrUeCqiRept *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeCqiRept(param, mBuf)
-RgrUeCqiRept *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrLoadInfInd
(
Pst* pst,
SuId suId,
RgrLoadInfIndInfo* loadInfInd
)
-#else
-S16 cmPkRgrLoadInfInd(pst, suId, loadInfInd)
-Pst* pst;
-SuId suId;
-RgrLoadInfIndInfo* loadInfInd;
-#endif
{
Buffer *mBuf = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrLoadInfInd
(
RgrLoadInfInd func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrLoadInfInd(func, pst, mBuf)
-RgrLoadInfInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
RgrLoadInfIndInfo *loadInfInd = NULLP; /* dsfr_pal_fixes ** 21-March-2013 ** SKS */
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrLoadInfIndInfo
(
RgrLoadInfIndInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrLoadInfIndInfo(param, mBuf)
-RgrLoadInfIndInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrLoadInfIndInfo
(
RgrLoadInfIndInfo *param,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrLoadInfIndInfo(param, pst, mBuf)
-RgrLoadInfIndInfo *param;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
S8 idx;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUepACfg
(
RgrUepACfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUepACfg(param, mBuf)
-RgrUepACfg *param;
-Buffer *mBuf;
-#endif
{
if(param->pAPrsnt)
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUepACfg
(
RgrUepACfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUepACfg(param, mBuf)
-RgrUepACfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUePdschDedCfg
(
RgrUePdschDedCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUePdschDedCfg(param, mBuf)
-RgrUePdschDedCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(cmPkRgrUepACfg, ¶m->uepACfg, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUePdschDedCfg
(
RgrUePdschDedCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUePdschDedCfg(param, mBuf)
-RgrUePdschDedCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(cmUnpkRgrUepACfg, ¶m->uepACfg, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 cmPkRgrUeUlPwrDedSCellCfg
(
RgrUeUlPwrDedSCellCfg *param,
Buffer *mBuf
)
-#else
-static S16 cmPkRgrUeUlPwrDedSCellCfg(param, mBuf)
-RgrUeUlPwrDedSCellCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt8, param->pSRSOffset, mBuf);
CMCHKPK(SPkS8, param->p0UePusch, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 cmUnpkRgrUeUlPwrDedSCellCfg
(
RgrUeUlPwrDedSCellCfg *param,
Buffer *mBuf
)
-#else
-static S16 cmUnpkRgrUeUlPwrDedSCellCfg(param, mBuf)
-RgrUeUlPwrDedSCellCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 cmPkRgrUeSecCellCfg
(
RgrUeSecCellCfg *param,
Buffer *mBuf
)
-#else
-static S16 cmPkRgrUeSecCellCfg(param, mBuf)
-RgrUeSecCellCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(cmPkRgrUeUlPwrDedSCellCfg,¶m->ueSCellUlDedPwrCfg, mBuf);
CMCHKPK(oduUnpackUInt8, param->isUlCaEnabled, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeSecCellInfo
(
RgrUeSecCellInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeSecCellInfo(param, mBuf)
-RgrUeSecCellInfo *param;
-Buffer *mBuf;
-#endif
{
S8 idx;
for(idx = param->numSCells - 1; idx >= 0; idx--)
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 cmUnpkRgrUeSecCellCfg
(
RgrUeSecCellCfg *param,
Buffer *mBuf
)
-#else
-static S16 cmUnpkRgrUeSecCellCfg(param, mBuf)
-RgrUeSecCellCfg *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(oduPackUInt8, ¶m->sCellIdx, mBuf);
CMCHKUNPK(oduPackUInt16, ¶m->sCellId, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeSecCellInfo
(
RgrUeSecCellInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeSecCellInfo(param, mBuf)
-RgrUeSecCellInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeSCellAckPucchCfg
(
RgrUeSCellAckPucchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeSCellAckPucchCfg(param, mBuf)
-RgrUeSCellAckPucchCfg *param;
-Buffer *mBuf;
-#endif
{
S8 idx;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeSCellAckPucchCfg
(
RgrUeSCellAckPucchCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeSCellAckPucchCfg(param, mBuf)
-RgrUeSCellAckPucchCfg *param;
-Buffer *mBuf;
-#endif
{
uint8_t idx;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeStaInd
(
Pst* pst,
SuId suId,
RgrUeStaIndInfo* ueStaInd
)
-#else
-S16 cmPkRgrUeStaInd(pst, suId, ueStaInd)
-Pst* pst;
-SuId suId;
-RgrUeStaIndInfo* ueStaInd;
-#endif
{
Buffer *mBuf = NULLP;
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeStaInd
(
RgrUeStaInd func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeStaInd(func, pst, mBuf)
-RgrUeStaInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
RgrUeStaIndInfo *ueStaInd;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrUeStaIndInfo
(
RgrUeStaIndInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrUeStaIndInfo(param, mBuf)
-RgrUeStaIndInfo *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrUeStaIndInfo
(
RgrUeStaIndInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrUeStaIndInfo(param, mBuf)
-RgrUeStaIndInfo *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrCellCsgParamCfg
(
RgrCellCsgParamCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrCellCsgParamCfg(param, mBuf)
-RgrCellCsgParamCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrCellCsgParamCfg
(
RgrCellCsgParamCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrCellCsgParamCfg(param, mBuf)
-RgrCellCsgParamCfg *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRgrCellCntrlCmdCfg
(
RgrCellCntrlCmdCfg *param,
Buffer *mBuf
)
-#else
-S16 cmPkRgrCellCntrlCmdCfg(param, mBuf)
-RgrCellCntrlCmdCfg *param;
-Buffer *mBuf;
-#endif
{
switch(param->cmdType)
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRgrCellCntrlCmdCfg
(
RgrCellCntrlCmdCfg *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRgrCellCntrlCmdCfg(param, mBuf)
-RgrCellCntrlCmdCfg *param;
-Buffer *mBuf;
-#endif
{
uint32_t tmpEnum;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkRguBndReq
(
Pst* pst,
SuId suId,
SpId spId
)
-#else
-S16 cmPkRguBndReq(pst, suId, spId)
-Pst* pst;
-SuId suId;
-SpId spId;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkRguBndReq
(
RguBndReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguBndReq(func, pst, mBuf)
-RguBndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
SpId spId;
-
if (SUnpkS16(&suId, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkRguUbndReq
(
Pst* pst,
SpId spId,
Reason reason
)
-#else
-S16 cmPkRguUbndReq(pst, spId, reason)
-Pst* pst;
-SpId spId;
-Reason reason;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkRguUbndReq
(
RguUbndReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguUbndReq(func, pst, mBuf)
-RguUbndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId;
Reason reason;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkRguBndCfm
(
Pst* pst,
SuId suId,
uint8_t status
)
-#else
-S16 cmPkRguBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkRguBndCfm
(
RguBndCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguBndCfm(func, pst, mBuf)
-RguBndCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
uint8_t status;
-
if (SUnpkS16(&suId, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRguL2MUlThrpMeasReqInfo
(
RguL2MUlThrpMeasReqInfo* param,
Buffer *mBuf
)
-#else
-S16 cmPkRguL2MUlThrpMeasReqInfo(param, mBuf)
-RguL2MUlThrpMeasReqInfo* param;
-Buffer *mBuf;
-#endif
{
S32 loop;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRguL2MUlThrpMeasReqInfo
(
RguL2MUlThrpMeasReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguL2MUlThrpMeasReqInfo(param, mBuf)
-RguL2MUlThrpMeasReqInfo *param;
-Buffer *mBuf;
-#endif
{
uint8_t loop;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkRguL2MUlThrpMeasReq
(
Pst* pst,
SpId spId,
RguL2MUlThrpMeasReqInfo* measReq
)
-#else
-S16 cmPkRguL2MUlThrpMeasReq(pst, spId, measReq)
-Pst* pst;
-SpId spId;
-RguL2MUlThrpMeasReqInfo* measReq;
-#endif
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkRguL2MUlThrpMeasReq
(
RguL2MUlThrpMeasReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguL2MUlThrpMeasReq(func, pst, mBuf)
-RguL2MUlThrpMeasReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SpId spId;
RguL2MUlThrpMeasReqInfo* measReq;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkRguHqStaInd
(
Pst* pst,
SuId suId,
RguHarqStatusInd *harqStatusInd
)
-#else
-S16 cmPkRguHqStaInd(pst, suId, harqStatusInd)
-Pst* pst;
-SuId suId;
-RguHarqStatusInd *harqStatusInd;
-#endif
{
Buffer *mBuf;
- uint8_t idx;
+ uint8_t idx;
RguHarqStatusInd *harqStaInd = NULL;
#ifdef XEON_SPECIFIC_CHANGES
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkRguHqStaInd
(
RguHqStaInd func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguHqStaInd(func, pst, mBuf)
-RguHqStaInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RguHarqStatusInd *hqStaInd;
- SuId suId;
- uint8_t idx;
-
+ SuId suId;
+ uint8_t idx;
if (SUnpkS16(&suId, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
}
#endif /* LTE_L2_MEAS */
-#ifdef ANSI
S16 cmPkRguLcFlowCntrlInfo
(
RguLcFlowCntrlInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguLcFlowCntrlInfo (param,mBuf)
-RguLcFlowCntrlInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKPK(oduUnpackUInt32, param->maxBo4FlowCtrl, mBuf);
CMCHKPK(oduUnpackUInt32, param->pktAdmitCnt, mBuf);
return ROK;
}
-#ifdef ANSI
S16 cmPkRguUeFlowCntrlInfo
(
RguUeFlowCntrlInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguUeFlowCntrlInfo (param,mBuf)
-RguUeFlowCntrlInfo *param;
-Buffer *mBuf;
-#endif
{
uint32_t idx;
return ROK;
}
-#ifdef ANSI
S16 cmPkRguFlowCntrlInfo
(
RguFlowCntrlInd *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguFlowCntrlInfo(flowCntrlInd, mBuf)
-RguFlowCntrlInd *param;
-Buffer *mBuf;
-#endif
{
uint32_t idx;
-
for (idx=(param->numUes - 1); idx >= 0; idx--)
{
cmPkRguUeFlowCntrlInfo(¶m->ueFlowCntrlInfo[idx],mBuf);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmPkRguFlowCntrlInd
(
Pst* pst,
SuId suId,
RguFlowCntrlInd *flowCntrlInd
)
-#else
-S16 cmPkRguFlowCntrlInd(pst, suId, flowCntrlInd)
-Pst* pst;
-SuId suId;
-RguFlowCntrlInd *flowCntrlInd;
-#endif
{
Buffer *mBuf = NULLP;
return (SPstTsk(pst,mBuf));
}
-#ifdef ANSI
S16 cmUnpkRguLcFlowCntrlInfo
(
RguLcFlowCntrlInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguLcFlowCntrlInfo (param,mBuf)
-RguLcFlowCntrlInfo *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(cmUnpkLteLcId, ¶m->lcId, mBuf);
return ROK;
}
-#ifdef ANSI
S16 cmUnpkRguUeFlowCntrlInfo
(
RguUeFlowCntrlInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguUeFlowCntrlInfo (param,mBuf)
-RguUeFlowCntrlInfo *param;
-Buffer *mBuf;
-#endif
{
uint32_t idx;
CMCHKUNPK(cmUnpkLteRnti, ¶m->ueId, mBuf);
return ROK;
}
-#ifdef ANSI
S16 cmUnpkRguFlowCntrlInfo
(
RguFlowCntrlInd *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguFlowCntrlInfo(flowCntrlInfo, mBuf)
-RguFlowCntrlInd *param;
-Buffer *mBuf;
-#endif
{
uint32_t idx;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkRguFlowCntrlInd
(
RguFlowCntrlIndInfo func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguFlowCntrlInd(func, pst, mBuf)
-RguFlowCntrlIndInfo func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
SuId suId;
RguFlowCntrlInd *flowCntrlInd;
-
if (SUnpkS16(&suId, mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRguPduInfo
(
RguPduInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguPduInfo(param, mBuf)
-RguPduInfo *param;
-Buffer *mBuf;
-#endif
{
S32 i;
-
for (i=param->numPdu-1; i >= 0; i--) {
/* rgu_c_001.main_3: ccpu00111328: S16 is renamed as MsgLen */
MsgLen msgLen = 0;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRguPduInfo
(
RguPduInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguPduInfo(param, mBuf)
-RguPduInfo *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRguDBoReport
(
RguDBoReport *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguDBoReport(param, mBuf)
-RguDBoReport *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKPK(oduUnpackUInt32, param->oldestSduArrTime, mBuf);
CMCHKPK(oduUnpackUInt32, param->staPduBo, mBuf);
#ifdef CCPU_OPT
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRguDBoReport
(
RguDBoReport *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguDBoReport(param, mBuf)
-RguDBoReport *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRguCDatReqInfo
(
RguCDatReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguCDatReqInfo(param, mBuf)
-RguCDatReqInfo *param;
-Buffer *mBuf;
-#endif
{
MsgLen msgLen;
-
if (param->pdu != NULLP)
{
if (SFndLenMsg(param->pdu, &msgLen) != ROK)
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRguCDatReqInfo
(
RguCDatReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguCDatReqInfo(param, mBuf)
-RguCDatReqInfo *param;
-Buffer *mBuf;
-#endif
{
MsgLen msgLen, totalMsgLen;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRguLchDatReq
(
RguLchDatReq *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguLchDatReq(param, mBuf)
-RguLchDatReq *param;
-Buffer *mBuf;
-#endif
{
-
#ifdef L2_OPTMZ
CMCHKPK(oduUnpackUInt8, param->freeBuff, mBuf);
#endif
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRguLchDatReq
(
RguLchDatReq *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguLchDatReq(param, mBuf)
-RguLchDatReq *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(cmUnpkLteLcId, ¶m->lcId, mBuf);
CMCHKUNPK(cmUnpkRguDBoReport, ¶m->boReport, mBuf);
CMCHKUNPK(cmUnpkRguPduInfo, ¶m->pdu, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRguDatReqTb
(
RguDatReqTb *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguDatReqTb(param, mBuf)
-RguDatReqTb *param;
-Buffer *mBuf;
-#endif
{
S32 i;
*
**********************************************************/
#ifdef LTE_L2_MEAS
-#ifdef ANSI
S16 cmUnpkRguDatReqTb
(
Pst *pst,
Buffer *mBuf
)
#else
-S16 cmUnpkRguDatReqTb(pst, param, mBuf)
-Pst *pst;
-RguDatReqTb *param;
-Buffer *mBuf;
-#endif
-#else
-#ifdef ANSI
S16 cmUnpkRguDatReqTb
(
RguDatReqTb *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguDatReqTb(param, mBuf)
-RguDatReqTb *param;
-Buffer *mBuf;
-#endif
#endif
{
S32 i;
**********************************************************/
/*rgu_c_001.main_5 - ADD - L2M Support */
#ifdef LTE_L2_MEAS
-#ifdef ANSI
S16 cmPkRguDDatReqInfo
(
Pst *pst,
Buffer *mBuf
)
#else
-S16 cmPkRguDDatReqInfo(pst, param, mBuf)
-Pst *pst;
-RguDDatReqInfo *param;
-Buffer *mBuf;
-#endif
-#else
-#ifdef ANSI
S16 cmPkRguDDatReqInfo
(
RguDDatReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguDDatReqInfo(param, mBuf)
-RguDDatReqInfo *param;
-Buffer *mBuf;
-#endif
#endif
{
S32 i;
*
**********************************************************/
#ifdef LTE_L2_MEAS
-#ifdef ANSI
S16 cmUnpkRguDDatReqInfo
(
Pst *pst,
Buffer *mBuf
)
#else
-S16 cmUnpkRguDDatReqInfo(pst, param, mBuf)
-Pst *pst;
-RguDDatReqInfo *param;
-Buffer *mBuf;
-#endif
-#else
-#ifdef ANSI
S16 cmUnpkRguDDatReqInfo
(
RguDDatReqInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguDDatReqInfo(param, mBuf)
-RguDDatReqInfo *param;
-Buffer *mBuf;
-#endif
#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRguCDatIndInfo
(
RguCDatIndInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguCDatIndInfo(param, mBuf)
-RguCDatIndInfo *param;
-Buffer *mBuf;
-#endif
{
MsgLen msgLen;
-
if (SFndLenMsg(param->pdu, &msgLen) != ROK)
return RFAILED;
if (SCatMsg(mBuf, param->pdu, M1M2) != ROK)
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRguCDatIndInfo
(
RguCDatIndInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguCDatIndInfo(param, mBuf)
-RguCDatIndInfo *param;
-Buffer *mBuf;
-#endif
{
MsgLen msgLen, totalMsgLen;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRguLchDatInd
(
RguLchDatInd *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguLchDatInd(param, mBuf)
-RguLchDatInd *param;
-Buffer *mBuf;
-#endif
{
- CMCHKPK(cmPkRguPduInfo, ¶m->pdu, mBuf);
+ CMCHKPK(cmPkRguPduInfo, ¶m->pdu, mBuf);
CMCHKPK(cmPkLteLcId, param->lcId, mBuf);
return ROK;
}
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRguLchDatInd
(
RguLchDatInd *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguLchDatInd(param, mBuf)
-RguLchDatInd *param;
-Buffer *mBuf;
-#endif
{
CMCHKUNPK(cmUnpkLteLcId, ¶m->lcId, mBuf);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRguCStaRspInfo
(
RguCStaRspInfo *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguCStaRspInfo(param, mBuf)
-RguCStaRspInfo *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRguCStaRspInfo
(
RguCStaRspInfo *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguCStaRspInfo(param, mBuf)
-RguCStaRspInfo *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRguLchStaInd
(
RguLchStaInd *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguLchStaInd(param, mBuf)
-RguLchStaInd *param;
-Buffer *mBuf;
-#endif
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRguLchStaInd
(
RguLchStaInd *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguLchStaInd(param, mBuf)
-RguLchStaInd *param;
-Buffer *mBuf;
-#endif
{
-
CMCHKUNPK(cmUnpkLteLcId, ¶m->lcId, mBuf);
CMCHKUNPK(SUnpkS16, ¶m->totBufSize, mBuf);
return ROK;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmPkRguStaIndTb
(
RguStaIndTb *param,
Buffer *mBuf
)
-#else
-S16 cmPkRguStaIndTb(param, mBuf)
-RguStaIndTb *param;
-Buffer *mBuf;
-#endif
{
S32 i;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 cmUnpkRguStaIndTb
(
RguStaIndTb *param,
Buffer *mBuf
)
-#else
-S16 cmUnpkRguStaIndTb(param, mBuf)
-RguStaIndTb *param;
-Buffer *mBuf;
-#endif
{
S32 i;