Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
- TRC3(packRlcConfigReq)
ret1 = SGetMsg(pst->region, pst->pool, &mBuf);
if (ret1 != ROK)
*/
#ifdef ANSI
-S16 unpackRlcConfigReq
+uint8_t unpackRlcConfigReq
(
RlcConfigReq func, /* primitive to call */
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
#else
-S16 unpackRlcConfigReq(func, pst, mBuf)
+uint8_t unpackRlcConfigReq(func, pst, mBuf)
RlcConfigReq func; /* primitive to call */
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
S16 ret1; /* Return value */
RlcMngmt cfg; /* RLC LM structure */
- TRC3(unpackRlcConfigReq)
- cmMemset((U8 *) &cfg, (U8) 0, (S16) sizeof(RlcMngmt));
+ memset(&cfg, 0, sizeof(RlcMngmt));
ret1 = cmUnpkRlcMngmt(&cfg, LKW_EVT_CFG_REQ, mBuf);
if(ret1 != ROK)
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
- TRC3(cmPkLkwCntrlReq)
ret1 = SGetMsg(pst->region, pst->pool, &mBuf);
if (ret1 != ROK)
S16 ret1; /* return value */
RlcMngmt cfm; /* Confirmation */
- TRC3(cmUnpkLkwCntrlReq)
ret1 = cmUnpkRlcMngmt(&cfm, LKW_EVT_CNTRL_REQ, mBuf);
*/
#ifdef ANSI
-S16 cmPkLkwCntrlCfm
+uint8_t cmPkLkwCntrlCfm
(
Pst *pst, /* post structure */
RlcMngmt *cfm /* RLC LM structure */
)
#else
-S16 cmPkLkwCntrlCfm(pst, cfm)
+uint8_t cmPkLkwCntrlCfm(pst, cfm)
Pst *pst; /* post structure */
RlcMngmt *cfm; /* RLC LM structure */
#endif
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
- TRC3(cmPkLkwCntrlCfm)
ret1 = SGetMsg(pst->region, pst->pool, &mBuf);
if (ret1 != ROK)
RlcMngmt cfm; /* RLC LM structure */
S16 ret1; /* return value */
- TRC3(cmUnpkLkwCntrlCfm)
ret1 = cmUnpkRlcMngmt(&cfm, LKW_EVT_CNTRL_CFM, mBuf);
RlcMngmt cfm; /* RLC LM structure */
S16 ret1; /* return value */
- TRC3(cmUnpkLkwStsCfm)
ret1 = cmUnpkRlcMngmt(&cfm, LKW_EVT_STS_CFM, mBuf);
#ifdef ANSI
-S16 packRlcConfigCfm
+uint8_t packRlcConfigCfm
(
Pst *pst, /* post structure */
RlcMngmt *cfm /* RLC LM structure */
)
#else
-S16 packRlcConfigCfm(pst,cfm)
+uint8_t packRlcConfigCfm(pst,cfm)
Pst *pst; /* post structure */
RlcMngmt *cfm; /* RLC LM structure */
#endif
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
- TRC3(packRlcConfigCfm)
ret1 = SGetMsg(pst->region, pst->pool, &mBuf);
if (ret1 != ROK)
* -# Failure : RFAILED
*/
#ifdef ANSI
-S16 unpackRlcConfigCfm
+uint8_t unpackRlcConfigCfm
(
RlcConfigCfm func, /* primitive to call */
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
#else
-S16 unpackRlcConfigCfm(func, pst, mBuf)
+uint8_t unpackRlcConfigCfm(func, pst, mBuf)
RlcConfigCfm func; /* primitive to call */
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
RlcMngmt cfm; /* RLC LM structure */
- TRC3(unpackRlcConfigCfm)
ret1 = cmUnpkRlcMngmt(&cfm, LKW_EVT_CFG_CFM, mBuf);
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
- TRC3(cmPkLkwStaInd)
ret1 = SGetMsg(pst->region, pst->pool, &mBuf);
if (ret1 != ROK)
RlcMngmt usta; /* RLC LM structure */
S16 ret1; /* return value */
- TRC3(cmUnpkLkwStaInd)
ret1 = cmUnpkRlcMngmt(&usta, LKW_EVT_STA_IND, mBuf);
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
- TRC3(cmPkLkwStaReq)
ret1 = SGetMsg(pst->region, pst->pool, &mBuf);
if (ret1 != ROK)
RlcMngmt cfm; /* RLC LM structure */
S16 ret1; /* return value */
- TRC3(cmUnpkLkwStaReq)
ret1 = cmUnpkRlcMngmt(&cfm, LKW_EVT_STA_CFM, mBuf);
S16 ret1; /* return value */
Action action; /* Action */
- TRC3(cmUnpkLkwStsReq)
CMCHKUNPK(SUnpkS16, &action, mBuf);
RlcMngmt sta; /* RLC LM structure */
S16 ret1; /* return value */
- TRC3(cmUnpkLkwStaReq)
ret1 = cmUnpkRlcMngmt(&sta, LKW_EVT_STA_REQ, mBuf);
S16 ret1; /* return value */
RlcMngmt trc; /* RLC LM structure */
- TRC3(cmUnpkLkwTrcInd)
ret1 = cmUnpkRlcMngmt(&trc, LKW_EVT_TRC_IND, mBuf);
Buffer *mBuf; /* Message buffer */
#endif
{
- TRC3(cmPkCkwSapSta)
CMCHKPK(cmPkState, rcSap->state, mBuf);
CMCHKPK(SPkS16, rcSap->spId, mBuf);
Buffer *mBuf; /* Message buffer */
#endif
{
- TRC3(cmUnpkCkwSapSta)
CMCHKUNPK(SUnpkS16, &rcSap->spId, mBuf);
CMCHKUNPK(cmUnpkState, &rcSap->state, mBuf);
Buffer *mBuf; /* Message buffer */
#endif
{
- TRC3(cmPkKwuSapSta)
CMCHKPK(cmPkState, rlSap->state, mBuf);
CMCHKPK(SPkS16, rlSap->spId, mBuf);
Buffer *mBuf; /* Message buffer */
#endif
{
- TRC3(cmUnpkKwuSapSta)
CMCHKUNPK(SUnpkS16, &rlSap->spId, mBuf);
CMCHKUNPK(cmUnpkState, &rlSap->state, mBuf);
Buffer *mBuf; /* Message buffer */
#endif
{
- TRC3(cmPkRguSapSta)
CMCHKPK(cmPkState, mkSap->state, mBuf);
CMCHKPK(cmPkSuId, mkSap->suId, mBuf);
Buffer *mBuf; /* Message buffer */
#endif
{
- TRC3(cmUnpkRguSapSta)
CMCHKUNPK(cmUnpkSuId, &mkSap->suId, mBuf);
CMCHKUNPK(cmUnpkState, &mkSap->state, mBuf);
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
- TRC3(cmPkLkwStaCfm);
ret1 = SGetMsg(pst->region, pst->pool, &mBuf);
if (ret1 != ROK)
S16 ret1 = ROK; /* return value */
Buffer *mBuf = NULLP; /* Buffer to trace */
- TRC3(cmPkLkwTrcInd);
ret1 = SGetMsg(pst->region, pst->pool, &mBuf);
if (ret1 != ROK)
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
- TRC3(cmPkLkwStsReq)
ret1 = SGetMsg(pst->region, pst->pool, &mBuf);
if (ret1 != ROK)
Buffer *mBuf; /* message buffer */
S16 ret1; /* return value */
- TRC3(cmPkLkwStsCfm);
/* lkw_c_001.main_2 removed warning */
UNUSED(action);
ret1 = SGetMsg(pst->region, pst->pool, &mBuf);
{
S16 ret1; /* return value */
- TRC3(cmPkRlcMngmt)
switch( eventType )
{
Buffer *mBuf;
#endif
{
- TRC3(cmPkRlcCfg)
switch( elmnt )
{
Buffer *mBuf;
#endif
{
- U8 subAction; /* sub action */
+ uint8_t subAction; /* sub action */
- TRC3(cmPkRlcCntrl)
switch( elmnt )
{
Buffer *mBuf;
#endif
{
- TRC3(cmPkRlcUsta)
/* lkw_c_001.main_2 removed warning */
UNUSED(elmnt);
#endif
{
S16 ret1;
- TRC3(cmPkRlcSsta)
ret1 = RFAILED;
switch(elmnt)
Buffer *mBuf; /* data buffer */
#endif
{
- TRC3(cmPkRlcTrc)
CMCHKPK(oduUnpackUInt16, trc->t.trc.event, mBuf);
CMCHKPK(cmPkDateTime, &trc->t.trc.dt, mBuf);
#endif
{
S16 ret1;
- TRC3(cmPkRlcSts)
ret1 = RFAILED;
switch(elmnt)
Buffer *mBuf;
#endif
{
- TRC3(cmPkGenSts)
CMCHKPK(oduUnpackUInt32, gen->numSduDisc, mBuf);
CMCHKPK(oduUnpackUInt32, gen->numOfRb, mBuf);
Buffer *mBuf;
#endif
{
- TRC3(cmPkCkwSapSts)
CMCHKPK(oduUnpackUInt32, rcSap->statMsgs, mBuf);
Buffer *mBuf;
#endif
{
- TRC3(cmPkCkwSapSts)
CMCHKPK(oduUnpackUInt32, ruSap->sduTx, mBuf);
CMCHKPK(oduUnpackUInt32, ruSap->sduRx, mBuf);
#endif
{
S16 ret1;
- TRC3(cmUnpkRlcMngmt)
- cmMemset((U8 *) param, (U8) 0, (S16) sizeof(RlcMngmt));
+ memset(param, 0, sizeof(RlcMngmt));
CMCHKUNPK(cmUnpkHeader, ¶m->hdr, mBuf);
CMCHKUNPK(cmUnpkCmStatus, ¶m->cfm, mBuf);
Buffer *mBuf;
#endif
{
- TRC3(cmUnpkRlcCfg)
switch(elmnt)
{
Buffer *mBuf;
#endif
{
- U8 subAction;
+ uint8_t subAction;
RlcDbgCntrl *dbgCntrl;
RlcTrcCntrl *trcCntrl;
- TRC3(cmUnpkRlcCntrl);
/* lkw_c_001.main_2 removed warning */
UNUSED(elmnt);
Buffer *mBuf;
#endif
{
- TRC3(cmUnpkRlcUsta);
/* lkw_c_001.main_2 removed warning */
UNUSED(elmnt);
#endif
{
S16 ret1; /* return value */
- TRC3(cmUnpkRlcSsta);
CMCHKUNPK(cmUnpkDateTime, &ssta->t.ssta.dt, mBuf);
switch(elmnt)
ret1 = ROK;
if(eventType == LKW_EVT_STA_CFM)
{
- cmMemset((U8 *) ptNmb, (U8) 0, LKW_PART_NUM_STR_LEN);
+ memset( ptNmb, 0, LKW_PART_NUM_STR_LEN);
ssta->t.ssta.s.sysId.ptNmb = ptNmb;
CMCHKUNPK(cmUnpkSystemId, &ssta->t.ssta.s.sysId,mBuf);
}
Buffer *mBuf;
#endif
{
- TRC3(cmUnpkRlcTrc);
CMCHKUNPK(cmUnpkDateTime, &trc->t.trc.dt, mBuf);
CMCHKUNPK(oduPackUInt16, &trc->t.trc.event, mBuf);
#endif
{
S16 ret1; /* return value */
- TRC3(cmUnpkRlcSts);
CMCHKUNPK(cmUnpkDateTime, &sts->t.sts.dt, mBuf);
Buffer *mBuf;
#endif
{
- TRC3(cmUnpkGenSts);
CMCHKUNPK(oduPackUInt32, &gen->numUe, mBuf);
CMCHKUNPK(oduPackUInt32, &gen->pdusRecv, mBuf);
#endif
{
- TRC3(cmUnpkCkwSapSts);
CMCHKUNPK(oduPackUInt32, &rcSap->statMsgs, mBuf);
Buffer *mBuf;
#endif
{
- TRC3(cmUnpkKwuSapSts)
/* lkw_c_001.main_2 changed from suId to spId */
CMCHKUNPK(cmUnpkSuId, &ruSap->spId, mBuf);
#endif
{
Buffer *mBuf = NULLP;
- TRC3(cmPkLkwL2MeasReq)
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
Buffer *mBuf;
#endif
{
- U8 idx;
- U16 idx1;
+ uint8_t idx;
+ uint16_t idx1;
- TRC3(cmPkRlcL2MeasReqInfo)
if((param->measType & LKW_L2MEAS_DL_IP) ||
(param->measType & LKW_L2MEAS_UL_IP))
S16 cmPkLkwL2MeasStopReq
(
Pst *pst,
-U8 measType
+uint8_t measType
)
#else
S16 cmPkLkwL2MeasStopReq(pst, measType)
Pst *pst;
-U8 measType;
+uint8_t measType;
#endif
{
Buffer *mBuf = NULLP;
- TRC3(cmPkLkwL2MeasStopReq)
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
S16 cmPkLkwL2MeasSendReq
(
Pst *pst,
-U8 measType
+uint8_t measType
)
#else
S16 cmPkLkwL2MeasSendReq(pst, measType)
Pst *pst;
-U8 measType;
+uint8_t measType;
#endif
{
Buffer *mBuf = NULLP;
- TRC3(cmPkLkwL2MeasSendReq)
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId,
{
RlcL2MeasReqEvt measReqEvt;
- TRC3(cmUnpkLkwL2MeasReq)
if (oduPackUInt32(&measReqEvt.transId, mBuf) != ROK) {
SPutMsg(mBuf);
S16 ret;
RlcL2MeasReqEvt *measReqEvt;
- TRC3(cmUnpkLkwL2MeasReq)
if((ret = SGetSBuf(pst->region, pst->pool, (Data **)&measReqEvt,\
Buffer *mBuf;
#endif
{
- U8 idx;
- U16 idx1;
+ uint8_t idx;
+ uint16_t idx1;
- TRC3(cmUnpkRlcL2MeasReqInfo)
CMCHKUNPK(oduPackUInt8, ¶m->measType, mBuf);
Buffer *mBuf;
#endif
{
- U8 measType;
- TRC3(cmUnpkLkwL2MeasReq)
+ uint8_t measType;
CMCHKUNPK(oduPackUInt8, &measType, mBuf);
SPutMsg(mBuf);
Buffer *mBuf;
#endif
{
- U8 measType;
+ uint8_t measType;
- TRC3(cmUnpkLkwL2MeasSendReq)
CMCHKUNPK(oduPackUInt8, &measType, mBuf);
SPutMsg(mBuf);
#endif
{
Buffer *mBuf = NULLP;
- U8 idx;
- U8 idx1;
+ uint8_t idx;
+ uint8_t idx1;
- TRC3(cmPkLkwL2MeasCfm)
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
(
RlcL2MeasCfmInfo *param,
Buffer *mBuf,
-U8 measType
+uint8_t measType
)
#else
S16 cmPkRlcL2MeasCfmInfo(param, mBuf, measType)
RlcL2MeasCfmInfo *param;
Buffer *mBuf;
-U8 measType;
+uint8_t measType;
#endif
{
- TRC3(cmPkRlcL2MeasCfmInfo)
if((measType & LKW_L2MEAS_DL_IP) ||
(measType & LKW_L2MEAS_UL_IP))
Buffer *mBuf;
#endif
{
- U8 idx;
- U16 idx1;
+ uint8_t idx;
+ uint16_t idx1;
RlcL2MeasCfmEvt measCfmEvt;
- TRC3(cmUnpkLkwL2MeasCfm)
-
- cmMemset((U8 *)&measCfmEvt, 0 , sizeof(RlcL2MeasCfmEvt));
-
+ memset(&measCfmEvt, 0 , sizeof(RlcL2MeasCfmEvt));
if (oduPackUInt32(&measCfmEvt.transId, mBuf) != ROK) {
SPutMsg(mBuf);
#if (ERRCLASS & ERRCLS_ADD_RES)
(
RlcL2MeasCfmInfo *param,
Buffer *mBuf,
-U8 measType
+uint8_t measType
)
#else
S16 cmUnpkRlcL2MeasCfmInfo(param, mBuf, measType)
RlcL2MeasCfmInfo *param;
Buffer *mBuf;
-U8 measType;
+uint8_t measType;
#endif
{
- TRC3(cmUnpkRlcL2MeasCfmInfo)
if((measType & LKW_L2MEAS_DL_IP) ||
(measType & LKW_L2MEAS_UL_IP))
S16 cmPkLkwL2MeasStopCfm
(
Pst * pst,
-U8 measType,
-U8 status
+uint8_t measType,
+uint8_t status
)
#else
S16 cmPkLkwL2MeasStopCfm(pst, measType,status)
Pst * pst;
-U8 measType;
-U8 status
+uint8_t measType;
+uint8_t status
#endif
{
Buffer *mBuf = NULLP;
- TRC3(cmPkLkwL2MeasStopCfm)
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
#if (ERRCLASS & ERRCLS_ADD_RES)
Buffer *mBuf;
#endif
{
- U8 measType;
- U8 status;
- TRC3(cmUnpkLkwL2MeasCfm)
+ uint8_t measType;
+ uint8_t status;
CMCHKUNPK(oduPackUInt8, &measType, mBuf);
CMCHKUNPK(oduPackUInt8, &status, mBuf);
SPutMsg(mBuf);