CmTqCp *rlcTqCp;
Size rguSapSize;
- TRC2(rlcLmmGenCfg)
-
if(cfg->maxUe > RLC_MAX_UE)
{
#if (ERRCLASS & ERRCLS_INT_PAR)
/* Timer Initialization */
gCb->rlcTqCp.tmrLen = RLC_TMR_LEN;
- cmMemset((U8*)gCb->rlcTq, NULLP, sizeof(CmTqType) * RLC_TMR_LEN);
+ memset(gCb->rlcTq, NULLP, sizeof(CmTqType) * RLC_TMR_LEN);
RLC_MEM_CPY(&(gCb->init.lmPst), &cfg->lmPst, sizeof(Pst));
{
Pst rPst; /* Reply post structure */
- TRC2(rlcLmmSendCfm);
-
RLC_MEM_SET(&rPst, 0, sizeof(Pst));
/* reply post structure for confirmation */
*/
#ifdef ANSI
-S16 RlcMiRlcConfigReq
+uint8_t RlcMiRlcConfigReq
(
Pst *pst,
RlcMngmt *cfg
)
#else
-S16 RlcMiRlcConfigReq (pst, cfg)
+uint8_t RlcMiRlcConfigReq (pst, cfg)
Pst *pst;
RlcMngmt *cfg;
#endif
Reason reason; /* failure reason */
RlcCb *tRlcCb=NULLP;
- TRC3(RlcMiRlcConfigReq);
-
#if (ERRCLASS & ERRCLS_INT_PAR)
/* Check if the instance is configured */
if (pst->dstInst >= MAX_RLC_INSTANCES)
* -# RFAILED
*/
#ifdef ANSI
-S16 RlcMiLkwCntrlReq
+uint8_t RlcMiLkwCntrlReq
(
Pst *pst,
RlcMngmt *cntrl
)
#else
-S16 RlcMiLkwCntrlReq(pst, cntrl)
+uint8_t RlcMiLkwCntrlReq(pst, cntrl)
Pst *pst;
RlcMngmt *cntrl;
#endif
Reason reason; /* failure reason */
RlcCb *tRlcCb=NULLP;
- TRC3(RlcMiLkwCntrlReq)
-
#if (ERRCLASS & ERRCLS_INT_PAR)
/* Check if the instance is configured */
if (pst->dstInst >= MAX_RLC_INSTANCES)
Reason reason; /* Failure reason */
RlcCb *tRlcCb=NULLP;
- TRC3(RlcMiLkwStaReq);
-
#if (ERRCLASS & ERRCLS_INT_PAR)
/* Check if the instance is configured */
if (pst->dstInst >= MAX_RLC_INSTANCES)
Reason reason; /* Reason for failure */
RlcCb *tRlcCb=NULLP;
- TRC3(RlcMiLkwStsReq);
-
#if (ERRCLASS & ERRCLS_INT_PAR)
/* Check if the instance is configured */
if (pst->dstInst >= MAX_RLC_INSTANCES)
RlcCb *tRlcCb;
- TRC3(RlcMiLkwL2MeasReq);
-
tRlcCb = RLC_GET_RLCCB(pst->dstInst);
/* Initialize measCfmEvt */
return RFAILED;
}
#endif
- cmMemcpy((Void*)measEvt, (Void*)measReqEvt, sizeof(RlcL2MeasReqEvt));
+ memcpy(measEvt, measReqEvt, sizeof(RlcL2MeasReqEvt));
/*Redirect the request to DL task */
/* NOTE:As of today, there are no cases where the Req will fail at DL
as long as it reached the DL, so we don't wait for a confirmation from
U8 status = ROK;
RlcCb *tRlcCb;
- TRC3(RlcMiLkwL2MeasStopReq);
-
tRlcCb = RLC_GET_RLCCB(pst->dstInst);
/* reset the counter values for the measurement that is stopped */
rlcUlUdxL2MeasStopReq(&(RLC_GET_UDX_SAP(tRlcCb)->pst),measType);
/*return ROK;*/
}
- /*cmMemset((U8*)&measCfmEvt, 0, sizeof(RlcL2MeasCfmEvt)); */
+ /*memset(&measCfmEvt, 0, sizeof(RlcL2MeasCfmEvt)); */
status = LCM_PRIM_OK;
RlcMiLkwL2MeasStopCfm(&tRlcCb->genCfg.lmPst, measType,status);
RlcL2MeasEvtCb *measEvtCb = NULLP;
U16 cntr;
RlcCb *tRlcCb;
- TRC3(RlcMiLkwL2MeasSendReq);
tRlcCb = RLC_GET_RLCCB(pst->dstInst);
#endif
{
RlcKwuSapCb *rlcKwuSapCb;
- TRC2(rlcLmmCfgKwuSap)
#if (ERRCLASS & ERRCLS_INT_PAR)
/* Validate the protocol parameters */
{
RlcCkwSapCb *ckwSap;
- TRC2(rlcLmmCfgCkwSap)
-
#if (ERRCLASS & ERRCLS_INT_PAR)
/* Validate config parameters */
if ((cfg->sapId >= RLC_MAX_CKWSAPS) || (cfg->sapId < 0) )
RlcUdxDlSapCb *udxDlSap;
RlcUdxUlSapCb *udxUlSap;
- TRC2(rlcLmmCfgUdxSap);
-
#if (ERRCLASS & ERRCLS_INT_PAR)
/* Validate the protocol parameters */
if((cfg->sapId >= RLC_MAX_UDXSAPS) || (cfg->sapId < 0))
{
RlcRguSapCb *rguSap;
- TRC2(rlcLmmCfgRguSap);
-
#if (ERRCLASS & ERRCLS_INT_PAR)
/* Validate the protocol parameters */
if((cfg->sapId >= gCb->genCfg.maxRguSaps) || \
S16 reason; /* reason for failure */
U8 sAction; /* subaction field */
- TRC2(rlcLmmValidateGenCntrl);
-
reason = LCM_REASON_NOT_APPL;
sAction = cntrl->t.cntrl.subAction;
Size rlcSapSize;
Size rlcUdxSapSize;
- TRC2(rlcLmmCleanGblRsrcs)
-
if (gCb->init.cfgDone)
{
/* Deregister the timers */
RlcRguSapCb *rguSap;
U32 idx;
- TRC2(rlcLmmShutdown)
-
if (gCb->genCfg.rlcMode == LKW_RLC_MODE_DL)
{
for (idx = 0; idx < gCb->genCfg.maxRguSaps; idx++)
#endif /* DEBUGP */
S16 reason; /* reason for failure */
- TRC2(rlcLmmGenCntrl);
-
/* Validate control parameters */
reason = rlcLmmValidateGenCntrl (cntrl);
RlcMngmt *cntrl;
#endif
{
- TRC2(rlcLmmUdxSapCntrl)
#if (ERRCLASS & ERRCLS_INT_PAR)
if (gCb->genCfg.rlcMode == LKW_RLC_MODE_DL)
{
RlcRguSapCb *rguSap; /* rgu sap pointer */
- TRC2(rlcLmmLSapCntrl)
-
#if (ERRCLASS & ERRCLS_INT_PAR)
/* validate SuId */
if((cntrl->t.cntrl.s.sapCntrl.suId < 0) ||
{
RlcKwuSapCb *rlcKwSapCb;
- TRC2(rlcLmmGetKwuSapSta);
-
#if (ERRCLASS & ERRCLS_INT_PAR)
/* Validate the protocol parameters */
if ((sta->spId >= (S16)gCb->genCfg.maxKwuSaps)||
RlcRguSapSta *sta;
#endif
{
- TRC2(rlcLmmGetRguSapSta);
#if (ERRCLASS & ERRCLS_INT_PAR)
/* Validate the protocol parameters */
RlcCkwCntSapSta *sta;
#endif
{
- TRC2(rlcLmmGetCkwCntSapSta);
#if (ERRCLASS & ERRCLS_INT_PAR)
/* Validate config parameters */
Action action;
#endif
{
- TRC2(rlcLmmGetGenSts);
#if (ERRCLASS & ERRCLS_INT_PAR)
/* Validate protocol parameters */
Action action;
#endif
{
- TRC2(rlcLmmGetSapSts);
/* Validate protocol parameters */
if (action != LKW_ZEROSTS && action != LKW_NOZEROSTS)
{
RlcMngmt usta; /* Rlc Management Structure */
- TRC2(rlcLmmSendAlarm);
-
if(gCb->init.usta == FALSE)
{
RETVOID;
MsgLen tempCnt;
Pst pst;
- TRC2(rlcLmmSendTrc)
-
RLOG2(L_DEBUG, "rlcLmmSendTrc(): Trace for event=%d, gCb->trcLen=%d",
event,
gCb->trcLen);
- cmMemset((U8 *)&trc, 0, sizeof(RlcMngmt));
+ memset(&trc, 0, sizeof(RlcMngmt));
pst = gCb->init.lmPst;
#endif
{
RlcCb *gCb;
- TRC2(rlcActvTmr)
if (inst >= MAX_RLC_INSTANCES)
{