********************************************************************/
/* Configuration confirmation primitive */
-PRIVATE RlcConfigCfm rlcMiRlcConfigCfmMt[MAXKWMI] =
+static RlcConfigCfm rlcMiRlcConfigCfmMt[MAXKWMI] =
{
#ifdef LCKWMILKW
packRlcConfigCfm, /* 0 - loosely coupled - fc */
/* control confirmation primitives */
-PRIVATE LkwCntrlCfm kwMiLkwCntrlCfmMt[MAXKWMI] =
+static LkwCntrlCfm kwMiLkwCntrlCfmMt[MAXKWMI] =
{
#ifdef LCKWMILKW
cmPkLkwCntrlCfm, /* 0 - loosely coupled - fc */
/* Status Indication primitive */
-PRIVATE LkwStaInd kwMiLkwStaIndMt[MAXKWMI] =
+static LkwStaInd kwMiLkwStaIndMt[MAXKWMI] =
{
#ifdef LCKWMILKW
cmPkLkwStaInd, /* 0 - loosely coupled */
/* Status confirm primitive */
-PRIVATE LkwStaCfm kwMiLkwStaCfmMt[MAXKWMI] =
+static LkwStaCfm kwMiLkwStaCfmMt[MAXKWMI] =
{
#ifdef LCKWMILKW
cmPkLkwStaCfm, /* 0 - loosely coupled */
/* Statistics confirm primitive */
-PRIVATE LkwStsCfm kwMiLkwStsCfmMt[MAXKWMI] =
+static LkwStsCfm kwMiLkwStsCfmMt[MAXKWMI] =
{
#ifdef LCKWMILKW
cmPkLkwStsCfm, /* 0 - loosely coupled */
/* Trace indication primitive */
-PRIVATE LkwTrcInd kwMiLkwTrcIndMt[MAXKWMI] =
+static LkwTrcInd kwMiLkwTrcIndMt[MAXKWMI] =
{
#ifdef LCKWMILKW
cmPkLkwTrcInd, /* 0 - loosely coupled */
/* kw005.201 added support for L2 Measurement */
#ifdef LTE_L2_MEAS
-PRIVATE CONSTANT LkwL2MeasCfm rlcMiLkwL2MeasCfmMt[] =
+static const LkwL2MeasCfm rlcMiLkwL2MeasCfmMt[] =
{
#ifdef LCKWMILKW
cmPkLkwL2MeasCfm,
SmMiLkwL2MeasCfm,
#endif
};
-PRIVATE CONSTANT LkwL2MeasStopCfm RlcMiLkwL2MeasStopCfmMt[] =
+static const LkwL2MeasStopCfm RlcMiLkwL2MeasStopCfmMt[] =
{
#ifdef LCKWMILKW
cmPkLkwL2MeasStopCfm,
the layer manager API provided.
*/
-#ifdef ANSI
S16 RlcMiRlcConfigCfm
(
Pst *pst, /* post structure */
RlcMngmt *cfm /* Layer Management structure */
)
-#else
-S16 RlcMiRlcConfigCfm(pst, cfm)
-Pst *pst; /* post structure */
-RlcMngmt *cfm; /* Layer Management structure */
-#endif
{
/* jump to specific primitive depending on configured selector */
layer manager API provided.
*/
-#ifdef ANSI
S16 RlcMiLkwCntrlCfm
(
Pst *pst, /* post structure */
RlcMngmt *cfm /* configure */
)
-#else
-S16 RlcMiLkwCntrlCfm(pst, cfm)
-Pst *pst; /* post structure */
-RlcMngmt *cfm; /* confirm */
-#endif
{
/* jump to specific primitive depending on configured selector */
- For a tightly coupled interface, the actual function called depends on
the layer manager API provided.
*/
-#ifdef ANSI
S16 RlcMiLkwStaInd
(
Pst *pst, /* post structure */
RlcMngmt *usta /* unsolicited status */
)
-#else
-S16 RlcMiLkwStaInd(pst, usta)
-Pst *pst; /* post structure */
-RlcMngmt *usta; /* unsolicited status */
-#endif
{
/* jump to specific primitive depending on configured selector */
(*kwMiLkwStaIndMt[pst->selector])(pst, usta);
on the layer manager API provided.
*/
-#ifdef ANSI
S16 RlcMiLkwStaCfm
(
Pst *pst, /* post structure */
RlcMngmt *cfm /* solicited status confirmation */
)
-#else
-S16 RlcMiLkwStaCfm(pst, cfm)
-Pst *pst; /* post structure */
-RlcMngmt *cfm; /* solicited status confirmation */
-#endif
{
/* jump to specific primitive depending on configured selector */
on the layer manager API provided.
*/
-#ifdef ANSI
S16 RlcMiLkwStsCfm
(
Pst *pst, /* post structure */
Action action, /* action */
RlcMngmt *cfm /* statistics confirmation */
)
-#else
-S16 RlcMiLkwStsCfm(pst, action, cfm)
-Pst *pst; /* post structure */
-Action action; /* action */
-RlcMngmt *cfm; /* statistics confirmation */
-#endif
{
/* jump to specific primitive depending on configured selector */
(*kwMiLkwStsCfmMt[pst->selector])(pst, action, cfm);
the layer manager API provided.
*/
-#ifdef ANSI
S16 RlcMiLkwTrcInd
(
Pst *pst, /* post structure */
RlcMngmt *trc, /* trace indication */
Buffer *mBuf /* message buffer */
)
-#else
-S16 RlcMiLkwTrcInd(pst, trc, mBuf)
-Pst *pst; /* post structure */
-RlcMngmt *trc; /* trace indication */
-Buffer *mBuf; /* message buffer */
-#endif
{
/* jump to specific primitive depending on configured selector */
(*kwMiLkwTrcIndMt[pst->selector])(pst, trc, mBuf);
/* kw005.201 added support for L2 Measurement */
#ifdef LTE_L2_MEAS
-#ifdef ANSI
-S16 RlcMiLkwL2MeasCfm
-(
-Pst * pst,
-RlcL2MeasCfmEvt *measEvt
-)
-#else
-S16 RlcMiLkwL2MeasCfm(pst, measEvt)
-Pst * pst;
-RlcL2MeasCfmEvt *measEvt;
-#endif
+S16 RlcMiLkwL2MeasCfm(Pst * pst,RlcL2MeasCfmEvt *measEvt)
{
(*rlcMiLkwL2MeasCfmMt[pst->selector])(pst, measEvt);
return ROK;
}
-#ifdef ANSI
-S16 RlcMiLkwL2MeasStopCfm
-(
-Pst *pst,
-U8 measType,
-U8 status
-)
-#else
-S16 RlcMiLkwL2MeasStopCfm(pst, measType,status)
-Pst *pst;
-U8 measType;
-U8 status;
-#endif
+S16 RlcMiLkwL2MeasStopCfm(Pst *pst,uint8_t measType,uint8_t status)
{
(*RlcMiLkwL2MeasStopCfmMt[pst->selector])(pst, measType,status);