RlcCb *rlcCb[MAX_RLC_INSTANCES];
EXTERN S16 rlcActvTmr ARGS ((Ent ent, Inst inst));
-PRIVATE Void rlcLmmSendCfm ARGS ((RlcCb *gCb,Pst *pst,RlcMngmt *cfm,U8 type,
+PRIVATE Void rlcLmmSendCfm ARGS ((RlcCb *gCb,Pst *pst,RlcMngmt *cfm,uint8_t type,
Header *hdr));
PRIVATE S16 rlcLmmGenCfg ARGS ((RlcCb *gCb, RlcGenCfg *cfg));
PRIVATE S16 rlcLmmCfgKwuSap ARGS ((RlcCb *gCb,RlcSapCfg *cfg));
#if 0
/* Register the timer */
/*Pradeep: changing the SRegTmrMt() to SRegTmr()*/
- if(SRegTmrMt(gCb->init.ent, gCb->init.inst, (U16)cfg->timeRes,
+ if(SRegTmrMt(gCb->init.ent, gCb->init.inst, (uint16_t)cfg->timeRes,
rlcActvTmr) != ROK)
{
RLC_FREE(gCb,gCb->u.dlCb->udxDlSap, rlcUdxSapSize);
/* Register the timer */
#if 0
- if(SRegTmrMt(gCb->init.ent, gCb->init.inst, (U16)cfg->timeRes,
+ if(SRegTmrMt(gCb->init.ent, gCb->init.inst, (uint16_t)cfg->timeRes,
rlcActvTmr) != ROK)
{
RLC_FREE(gCb,gCb->u.ulCb->udxUlSap, rlcUdxSapSize);
PRIVATE Void rlcLmmSendCfm
(
RlcCb *gCb,
-Pst *pst,
+Pst *pst,
RlcMngmt *cfm,
-U8 type,
-Header *hdr
+uint8_t type,
+Header *hdr
)
#else
PRIVATE Void rlcLmmSendCfm(gCb,pst, cfm, type, hdr)
RlcCb gCb;
-Pst *pst;
+Pst *pst;
RlcMngmt *cfm;
-U8 type;
-Header *hdr;
+uint8_t type;
+Header *hdr;
#endif
{
Pst rPst; /* Reply post structure */
break;
}
- RETVOID;
+ return;
}
#endif
{
S16 ret = ROK;
- U16 cntr;
- U8 measType;
+ uint16_t cntr;
+ uint8_t measType;
RlcL2MeasCfmEvt measCfmEvt;
RlcCb *tRlcCb;
S16 RlcMiLkwL2MeasStopReq
(
Pst *pst,
-U8 measType
+uint8_t measType
)
#else
S16 RlcMiLkwL2MeasStopReq (pst, measType)
Pst *pst;
-U8 measType;
+uint8_t measType;
#endif
{
S16 ret = ROK;
RlcL2MeasEvtCb *measEvtCb = NULLP;
- U16 cntr;
- U8 status = ROK;
+ uint16_t cntr;
+ uint8_t status = ROK;
RlcCb *tRlcCb;
tRlcCb = RLC_GET_RLCCB(pst->dstInst);
S16 RlcMiLkwL2MeasSendReq
(
Pst *pst,
-U8 measType
+uint8_t measType
)
#else
S16 RlcMiLkwL2MeasSendReq (pst, measType)
Pst *pst;
-U8 measType;
+uint8_t measType;
#endif
{
/*S16 ret = ROK;*/
RlcL2MeasEvtCb *measEvtCb = NULLP;
- U16 cntr;
+ uint16_t cntr;
RlcCb *tRlcCb;
tRlcCb = RLC_GET_RLCCB(pst->dstInst);
RlcMngmt *cntrl;
#endif
{
- S16 reason; /* reason for failure */
- U8 sAction; /* subaction field */
+ S16 reason; /* reason for failure */
+ uint8_t sAction; /* subaction field */
reason = LCM_REASON_NOT_APPL;
sAction = cntrl->t.cntrl.subAction;
gCb->init.usta = FALSE;
}
- RETVOID;
+ return;
}
/**
#endif
{
RlcRguSapCb *rguSap;
- U32 idx;
+ uint32_t idx;
if (gCb->genCfg.rlcMode == LKW_RLC_MODE_DL)
{
#ifdef ANSI
Void rlcLmmSendAlarm
(
-RlcCb *gCb,
-U16 category,
-U16 event,
-U16 cause,
-SuId suId,
-U32 ueId,
-U8 qci
+RlcCb *gCb,
+uint16_t category,
+uint16_t event,
+uint16_t cause,
+SuId suId,
+uint32_t ueId,
+uint8_t qci
)
#else
Void rlcLmmSendAlarm(category, event, cause, suId, ueId, qci)
RlcCb *gCb;
-U16 category;
-U16 event;
-U16 cause;
-SuId suId;
-U32 ueId;
-U8 qci;
+uint16_t category;
+uint16_t event;
+uint16_t cause;
+SuId suId;
+uint32_t ueId;
+uint8_t qci;
#endif
#else /* LTE_L2_MEAS */
#ifdef ANSI
Void rlcLmmSendAlarm
(
-RlcCb *gCb,
-U16 category,
-U16 event,
-U16 cause,
-SuId suId,
-U32 ueId
+RlcCb *gCb,
+uint16_t category,
+uint16_t event,
+uint16_t cause,
+SuId suId,
+uint32_t ueId
)
#else
Void rlcLmmSendAlarm(category, event, cause, suId, ueId)
-RlcCb *gCb;
-U16 category;
-U16 event;
-U16 cause;
-SuId suId;
-U32 ueId;
+RlcCb *gCb;
+uint16_t category;
+uint16_t event;
+uint16_t cause;
+SuId suId;
+uint32_t ueId;
#endif
#endif /* LTE_L2_MEAS */
{
if(gCb->init.usta == FALSE)
{
- RETVOID;
+ return;
}
usta.hdr.elmId.elmnt = STGEN;
RlcMiLkwStaInd(&(gCb->init.lmPst), &usta);
- RETVOID;
+ return;
}