#define __LKW_X__
#ifdef __cplusplus
-EXTERN "C" {
+extern "C" {
#endif /* __cplusplus */
/** @brief
General Configuration Structure. */
-typedef struct kwGenCfg
+typedef struct rlcGenCfg
{
Pst lmPst; /*!< Post structure for communicating
with LM. */
- U32 maxUe; /*!< Maximum number of UEs supported
+ uint32_t maxUe; /*!< Maximum number of UEs supported
by RLC. */
- U16 maxKwuSaps; /*!< Maximum KWU SAPs. */
+ uint16_t maxKwuSaps; /*!< Maximum KWU SAPs. */
/* Supported by SPLIT Architecture */
- U16 maxUdxSaps; /*!< Maximum Udx SAPs. */
+ uint16_t maxUdxSaps; /*!< Maximum Udx SAPs. */
/* Supported by SPLIT Architecture ends */
Ticks timeRes; /*!< Time resolution. */
/* Supported by SPLIT Architecture */
- U8 rlcMode; /*!< RLC_DL or RLC_UL */
+ uint8_t rlcMode; /*!< RLC_DL or RLC_UL */
/* Supported by SPLIT Architecture ends */
- U16 maxRguSaps; /*!< Maximum RGU SAPs. */
-}KwGenCfg;
+ uint16_t maxRguSaps; /*!< Maximum RGU SAPs. */
+}RlcGenCfg;
/** @brief
SAP Configuration Structure */
-typedef struct kwSapCfg
+typedef struct rlcSapCfg
{
Selector selector; /*!< Selector for LC/TC. */
MemoryId mem; /*!< Region and pool. */
Ent ent; /*!< Entity ID. */
Inst inst; /*!< Instance ID. */
SpId sapId; /*!< SAP ID. */
- U16 bndTmrIntvl; /*!< Bind timer interval. */
+ uint16_t bndTmrIntvl; /*!< Bind timer interval. */
Priority priority; /*!< Priority. */
Route route; /*!< Route. */
-}KwSapCfg;
+}RlcSapCfg;
/** @brief
* Configuration Structure
*/
-typedef struct kwCfg
+typedef struct rlcCfg
{
union
{
- KwGenCfg gen; /*!< General configuraton. */
- KwSapCfg sap; /*!< SAP configuration. */
+ RlcGenCfg gen; /*!< General configuraton. */
+ RlcSapCfg sap; /*!< SAP configuration. */
}s;
-}KwCfg;
+}RlcCfg;
/** @brief
General Statistics Structure */
-typedef struct kwGenSts
+typedef struct rlcGenSts
{
CntrSts numUe; /*!< Total number of UEs. */
CntrSts pdusRecv; /*!< Number of PDUs received. */
to retransmission. */
CntrSts numOfRb; /*!< Total number of RBs in RLC. */
CntrSts numSduDisc; /*!< Number of SDUs discarded. */
-}KwGenSts;
+}RlcGenSts;
/** @brief
RLC Upper SAP statistics */
-typedef struct kwKwuSapSts
+typedef struct rlcKwuSapSts
{
/* lkw_x_001.main_2, changed from suId to spId */
SpId spId; /*!< Service Provider ID. */
CntrSts sduRx; /*!< Number of SDUs received. */
CntrSts sduTx; /*!< Number of tranxmitted SDUs. */
-}KwKwuSapSts;
+}RlcKwuSapSts;
/** @brief
RRC Control SAP Statistics */
-typedef struct kwCkwCntSts
+typedef struct rlcCkwCntSts
{
CntrSts statMsgs; /*!< Number of Status Messages send. */
-}KwCkwCntSts;
+}RlcCkwCntSts;
/** @brief
Statistics Structure */
-typedef struct kwSts
+typedef struct rlcSts
{
DateTime dt; /*!< Date and Time structure. */
union
{
- KwGenSts gen; /*!< General Statistics. */
- KwKwuSapSts kwuSap; /*!< RLC upper SAP statistics. */
- KwCkwCntSts ckwSap; /*!< RRC control SAP. */
+ RlcGenSts gen; /*!< General Statistics. */
+ RlcKwuSapSts rlckwuSap; /*!< RLC upper SAP statistics. */
+ RlcCkwCntSts ckwSap; /*!< RRC control SAP. */
}s;
-}KwSts;
+}RlcSts;
/** @brief
MAC Upper SAP Status Structure */
-typedef struct kwRguSapSta
+typedef struct rlcRguSapSta
{
SuId suId; /*!< Service user ID. */
State state; /*!< State of the SAP. */
-}KwRguSapSta;
+}RlcRguSapSta;
/** @brief
RLC Upper SAP Status Structure */
-typedef struct kwKwuSapSta
+typedef struct rlcKwuSapSta
{
SpId spId; /*!< Service provider ID. */
State state; /*!< State of the SAP. */
-}KwKwuSapSta;
+}RlcKwuSapSta;
/** @brief
RRC Control SAP Status Structure */
-typedef struct kwCkwCntSapSta
+typedef struct rlcCkwCntSapSta
{
SpId spId; /*!< Service provider ID. */
State state; /*!< State of the SAP. */
-}KwCkwCntSapSta;
+}RlcCkwCntSapSta;
/** @brief
Status Structure */
-typedef struct kwSSta
+typedef struct rlcSSta
{
DateTime dt; /*!< Date and Time structure. */
union
{
SystemId sysId; /*!< System ID. */
- KwRguSapSta rguSap; /*!< RLC lower SAP (MAC) status. */
- KwKwuSapSta kwuSap; /*!< RLC Upper SAP status. */
- KwCkwCntSapSta ckwSap; /*!< RRC Control SAP Status. */
+ RlcRguSapSta rguSap; /*!< RLC lower SAP (MAC) status. */
+ RlcKwuSapSta rlckwuSap; /*!< RLC Upper SAP status. */
+ RlcCkwCntSapSta ckwSap; /*!< RRC Control SAP Status. */
}s;
-}KwSSta;
+}RlcSSta;
/** @brief
Trace Control Structure */
-typedef struct kwTrcCntrl
+typedef struct rlcTrcCntrl
{
- U8 trcMask; /*!< Trace mask. */
+ uint8_t trcMask; /*!< Trace mask. */
S16 trcLen; /*!< Trace length. */
-}KwTrcCntrl;
+}RlcTrcCntrl;
/** @brief
Debug Control Structure */
-typedef struct kwDbgCntrl
+typedef struct rlcDbgCntrl
{
- U32 dbgMask; /*!< Debug mask. Assign non zero value to enable
+ uint32_t dbgMask; /*!< Debug mask. Assign non zero value to enable
and zero to disable debug */
-}KwDbgCntrl;
+}RlcDbgCntrl;
/** @brief
SAP Control Structure */
-typedef struct kwSapCntrl
+typedef struct rlcSapCntrl
{
SuId suId; /*!< Service user ID. */
SpId spId; /*!< Service provider ID. */
-}KwSapCntrl;
+}RlcSapCntrl;
/** @brief
Control Structure */
-typedef struct kwCntrl
+typedef struct rlcCntrl
{
DateTime dt; /*!< Date and Time structure. */
- U8 action; /*!< Action. */
- U8 subAction; /*!< Sub action. */
+ uint8_t action; /*!< Action. */
+ uint8_t subAction; /*!< Sub action. */
union
{
- KwTrcCntrl trcCntrl; /*!< Trace Control Structure. */
- KwDbgCntrl dbgCntrl; /*!< Debug Control Structure. */
- KwSapCntrl sapCntrl; /*!< SAP Control Structure. */
+ RlcTrcCntrl trcCntrl; /*!< Trace Control Structure. */
+ RlcDbgCntrl dbgCntrl; /*!< Debug Control Structure. */
+ RlcSapCntrl sapCntrl; /*!< SAP Control Structure. */
#ifdef SS_DIAG
- U32 logMask; /*!< Logging Control Structure. */
+ uint32_t logMask; /*!< Logging Control Structure. */
#endif
}s;
-}KwCntrl;
+}RlcCntrl;
/** @brief
Unsolicited Status Structure */
-typedef struct kwUSta
+typedef struct rlcUSta
{
DateTime dt; /*!< Date and Time structure. */
CmAlarm alarm; /*!< Alarm. */
SuId suId; /*!< Service user ID. */
- U32 ueId; /*!< Urnti UE ID. */
+ uint32_t ueId; /*!< Urnti UE ID. */
/* lkw_x_001.main_2, added support for L2 measurement */
#ifdef LTE_L2_MEAS
- U8 qci; /*!< Qci value */
+ uint8_t qci; /*!< Qci value */
#endif
-}KwUSta;
+}RlcUSta;
/** @brief
Trace Structure */
-typedef struct kwTrc
+typedef struct rlcTrc
{
DateTime dt; /*!< Date and Time structure. */
- U16 event; /*!< Event. Events defined in the differenct RLC
+ uint16_t event; /*!< Event. Events defined in the differenct RLC
interfaces are pssible values here.*/
-}KwTrc;
+}RlcTrc;
/** @brief
Layer Management Structure */
-typedef struct _kwMngmt
+typedef struct rlcMngmt
{
Header hdr; /*!< Common header. */
CmStatus cfm; /*!< Status of confirmation. */
union
{
- KwCfg cfg; /*!< General Configuration. */
- KwCntrl cntrl; /*!< Control Structure. */
- KwSts sts; /*!< Statistics. */
- KwSSta ssta; /*!< Status. */
- KwUSta usta; /*!< Unsolicited Status. */
- KwTrc trc; /*!< Trace Structre. */
+ RlcCfg cfg; /*!< General Configuration. */
+ RlcCntrl cntrl; /*!< Control Structure. */
+ RlcSts sts; /*!< Statistics. */
+ RlcSSta ssta; /*!< Status. */
+ RlcUSta usta; /*!< Unsolicited Status. */
+ RlcTrc trc; /*!< Trace Structre. */
}t;
-}KwMngmt;
+}RlcMngmt;
/* lkw_x_001.main_2, added support for L2 measurement */
#ifdef LTE_L2_MEAS
/** @brief Measurement Request Params Structure. */
-typedef struct kwL2MeasReqInfo
+typedef struct rlcL2MeasReqInfo
{
- U8 measType; /*!< Measurement type, bit 1 to 4 (LSB nibble)
+ uint8_t measType; /*!< Measurement type, bit 1 to 4 (LSB nibble)
will be used for non IP Throughput and
bit 5 and 6 will be used for DL and UL
Ipthroughput respectively */
{
struct
{
- U16 numSamples; /*!<Sampling period: */
- U8 numQci; /*!<number of qCI to take measurement for */
- U8 qci[LKW_MAX_QCI]; /*!<QCI for the measurement */
+ uint16_t numSamples; /*!<Sampling period: */
+ uint8_t numQci; /*!<number of qCI to take measurement for */
+ uint8_t qci[LKW_MAX_QCI]; /*!<QCI for the measurement */
}nonIpThMeas;
struct
{
- U16 numUes;
+ uint16_t numUes;
struct
{
- U8 numQci; /*!<number of qCI to take measurement for */
- U8 qci[LKW_MAX_QCI]; /*!<QCI for the measurement */
+ uint8_t numQci; /*!<number of qCI to take measurement for */
+ uint8_t qci[LKW_MAX_QCI]; /*!<QCI for the measurement */
CmLteRnti ueId; /*!< UE ID (Used only for IP Throughput in UL/DL */
CmLteCellId cellId; /*!< Cell ID (Used only for IP Throughput in UL/DL */
}ueInfoLst[LKW_MAX_UE];
}ipThMeas;
}val;
-}KwL2MeasReqInfo;
+}RlcL2MeasReqInfo;
/** @brief Measurement Request Exvent Structure. */
-typedef struct kwL2MeasReqEvt
+typedef struct rlcL2MeasReqEvt
{
- U32 transId; /*!< Transaction Identifier */
- U16 measPeriod; /*!< Measurement Period */
- KwL2MeasReqInfo measReq; /*!< Measurement request structure */
-}KwL2MeasReqEvt;
+ uint32_t transId; /*!< Transaction Identifier */
+ uint16_t measPeriod; /*!< Measurement Period */
+ RlcL2MeasReqInfo measReq; /*!< Measurement request structure */
+}RlcL2MeasReqEvt;
/** @brief Measurement Confirm Params Structure. */
-typedef struct kwL2MeasCfmInfo
+typedef struct rlcL2MeasCfmInfo
{
- U8 qci; /*!< QCI value */
+ uint8_t qci; /*!< QCI value */
union
{
struct
{
- U32 numActUe; /*!< num of Active UEs*/
- U32 uuLoss; /*!< Uu Loss Rate */
+ uint32_t numActUe; /*!< num of Active UEs*/
+ uint32_t uuLoss; /*!< Uu Loss Rate */
/* Discard new changes starts */
- U32 dlDiscRate; /*!< DL Discard rate to be reported */
+ uint32_t dlDiscRate; /*!< DL Discard rate to be reported */
/* Discard new changes ends */
- U32 dlSduDelay;
+ uint32_t dlSduDelay;
}nonIpThrput;
struct /*!< Structure for IP throughput*/
}ipThrput;
}val;
-}KwL2MeasCfmInfo;
+}RlcL2MeasCfmInfo;
-typedef struct kwL2MeasCfmUeInfoLst
+typedef struct rlcL2MeasCfmUeInfoLst
{
CmLteRnti ueId; /*!< UE Id used for DL/UL Ipthroughput*/
CmLteCellId cellId; /*!< Cell Id used for DL/UL Ipthroughput*/
- KwL2MeasCfmInfo measCfm[LKW_MAX_QCI]; /*!< Measurement confirm structure*/
- U16 numCfm; /*!< Number of Measurement confirm*/
-}KwL2MeasCfmUeInfoLst;
+ RlcL2MeasCfmInfo measCfm[LKW_MAX_QCI]; /*!< Measurement confirm structure*/
+ uint16_t numCfm; /*!< Number of Measurement confirm*/
+}RlcL2MeasCfmUeInfoLst;
-typedef struct kwL2MeasCfmIpThMeas
+typedef struct rlcL2MeasCfmIpThMeas
{
- U16 numUes; /*!< Number of Ue Info*/
- KwL2MeasCfmUeInfoLst ueInfoLst[LKW_MAX_UE]; /*!< UE info list*/
-}KwL2MeasCfmIpThMeas;
+ uint16_t numUes; /*!< Number of Ue Info*/
+ RlcL2MeasCfmUeInfoLst ueInfoLst[LKW_MAX_UE]; /*!< UE info list*/
+}RlcL2MeasCfmIpThMeas;
-typedef struct kwL2MeasCfmNonIpThMeas
+typedef struct rlcL2MeasCfmNonIpThMeas
{
- U16 numCfm; /*!< Number of confirm */
- KwL2MeasCfmInfo measCfm[LKW_MAX_QCI]; /*!< Confirmation info */
-}KwL2MeasCfmNonIpThMeas;
+ uint16_t numCfm; /*!< Number of confirm */
+ RlcL2MeasCfmInfo measCfm[LKW_MAX_QCI]; /*!< Confirmation info */
+}RlcL2MeasCfmNonIpThMeas;
typedef union kwL2MeasCfmIpNonIp
{
- KwL2MeasCfmIpThMeas ipThMeas; /*!< Ip thrupt measurements*/
- KwL2MeasCfmNonIpThMeas nonIpThMeas; /*!< Non-Ip thrupt measurements*/
-}KwL2MeasCfmIpNonIp;
+ RlcL2MeasCfmIpThMeas ipThMeas; /*!< Ip thrupt measurements*/
+ RlcL2MeasCfmNonIpThMeas nonIpThMeas; /*!< Non-Ip thrupt measurements*/
+}RlcL2MeasCfmIpNonIp;
/** @brief Measurement Confirm Event Structure. */
-typedef struct kwL2MeasCfmEvt
+typedef struct rlcL2MeasCfmEvt
{
- U32 transId; /*!< Transaction id */
+ uint32_t transId; /*!< Transaction id */
CmStatus status; /*!< Status is for all QCIs */
- U8 measType; /*!< Measurement type, bit 1 to 4 (LSB nibble)
+ uint8_t measType; /*!< Measurement type, bit 1 to 4 (LSB nibble)
will be used for non IP Throughput and
bit 5 and 6 will be used for DL and UL
Ipthroughput respectively. It is same for
all qci in this Cfm event. */
- KwL2MeasCfmIpNonIp val;
-}KwL2MeasCfmEvt;
+ RlcL2MeasCfmIpNonIp val;
+}RlcL2MeasCfmEvt;
#endif /* LTE_L2_MEAS */
/* Control primitives towards LTE RLC */
/* Pointer functions to pack/unpack primitives */
-typedef S16 (*LkwCfgReq) ARGS((Pst *pst, KwMngmt *cfg));
-typedef S16 (*LkwCfgCfm) ARGS((Pst *pst, KwMngmt *cfgCfm));
+typedef uint8_t (*RlcConfigReq) ARGS((Pst *pst, RlcMngmt *cfg));
+typedef uint8_t (*RlcConfigCfm) ARGS((Pst *pst, RlcMngmt *cfgCfm));
-typedef S16 (*LkwCntrlReq) ARGS((Pst *pst, KwMngmt *cntl));
-typedef S16 (*LkwCntrlCfm) ARGS((Pst *pst, KwMngmt *cntlCfm));
+typedef uint8_t (*LkwCntrlReq) ARGS((Pst *pst, RlcMngmt *cntl));
+typedef uint8_t (*LkwCntrlCfm) ARGS((Pst *pst, RlcMngmt *cntlCfm));
-typedef S16 (*LkwStaInd) ARGS((Pst *pst, KwMngmt *staInd));
-typedef S16 (*LkwStaReq) ARGS((Pst *pst, KwMngmt *staReq));
-typedef S16 (*LkwStaCfm) ARGS((Pst *pst, KwMngmt *staCfm));
+typedef S16 (*LkwStaInd) ARGS((Pst *pst, RlcMngmt *staInd));
+typedef S16 (*LkwStaReq) ARGS((Pst *pst, RlcMngmt *staReq));
+typedef S16 (*LkwStaCfm) ARGS((Pst *pst, RlcMngmt *staCfm));
-typedef S16 (*LkwStsReq) ARGS((Pst *pst, Action, KwMngmt *sts));
-typedef S16 (*LkwStsCfm) ARGS((Pst *pst, Action, KwMngmt *stsCfm));
+typedef S16 (*LkwStsReq) ARGS((Pst *pst, Action, RlcMngmt *sts));
+typedef S16 (*LkwStsCfm) ARGS((Pst *pst, Action, RlcMngmt *stsCfm));
-typedef S16 (*LkwTrcInd) ARGS((Pst *pst, KwMngmt *trc, Buffer *mBuf));
+typedef S16 (*LkwTrcInd) ARGS((Pst *pst, RlcMngmt *trc, Buffer *mBuf));
/* lkw_x_001.main_2, added support for L2 measurement */
#ifdef LTE_L2_MEAS
-typedef S16 (*LkwL2MeasReq) ARGS((Pst *pst, KwL2MeasReqEvt *measEvt));
-typedef S16 (*LkwL2MeasCfm) ARGS((Pst *pst, KwL2MeasCfmEvt *measEvt));
-typedef S16 (*LkwL2MeasSendReq) ARGS((Pst *pst, U8 measType));
-typedef S16 (*LkwL2MeasStopReq) ARGS((Pst *pst, U8 measType));
-typedef S16 (*LkwL2MeasStopCfm) ARGS((Pst *pst, U8 measType,U8 status));
+typedef S16 (*LkwL2MeasReq) ARGS((Pst *pst, RlcL2MeasReqEvt *measEvt));
+typedef S16 (*LkwL2MeasCfm) ARGS((Pst *pst, RlcL2MeasCfmEvt *measEvt));
+typedef S16 (*LkwL2MeasSendReq) ARGS((Pst *pst, uint8_t measType));
+typedef S16 (*LkwL2MeasStopReq) ARGS((Pst *pst, uint8_t measType));
+typedef S16 (*LkwL2MeasStopCfm) ARGS((Pst *pst, uint8_t measType,uint8_t status));
#endif /* LTE_L2_MEAS */
/* Layer primitives */
@return ROK if success , RFAILED if failure
*/
-EXTERN S16 KwMiLkwCfgReq ARGS((Pst *pst, KwMngmt *cfg));
+uint8_t RlcMiRlcConfigReq ARGS((Pst *pst, RlcMngmt *cfg));
/**
-@details This function is called by the KwMiLkwCfgReq function for responding to configuration requests.The cfm field in the KwMngmt structure contains the response value.
+@details This function is called by the RlcMiRlcConfigReq function for responding to configuration requests.The cfm field in the RlcMngmt structure contains the response value.
@param[in] pst - Pointer to post structure
@param[in] cfm - Configuration management structure
@return ROK if success , RFAILED if failure
*/
-EXTERN S16 KwMiLkwCfgCfm ARGS((Pst *pst, KwMngmt *cfgCfm));
+S16 RlcMiRlcConfigCfm ARGS((Pst *pst, RlcMngmt *cfgCfm));
/**
@details
The layer manager initiates and uses the management-control procedure to control
-RLC elements.The RLC control request primitive (KwMiLkwCntrlReq) is called
+RLC elements.The RLC control request primitive (RlcMiLkwCntrlReq) is called
more than once and at any time after the management-configuration procedure.The
-control request primitive is confirmed by a KwMiLkwCntrlCfm primitive.
+control request primitive is confirmed by a RlcMiLkwCntrlCfm primitive.
@param[in] pst - Pointer to post structure
@param[in] cntl - Configuration management structure
@return ROK if success , RFAILED if failure
*/
-EXTERN S16 KwMiLkwCntrlReq ARGS((Pst *pst, KwMngmt *cntl));
+uint8_t RlcMiLkwCntrlReq ARGS((Pst *pst, RlcMngmt *cntl));
/**
@details
-This function is called by the KwMiLkwCntrlReq function to send a control confirm to the layer management module.
+This function is called by the RlcMiLkwCntrlReq function to send a control confirm to the layer management module.
@param[in] pst - Pointer to post structure
@param[in] cfm - Configuration management structure
@return ROK if success , RFAILED if failure
*/
-EXTERN S16 KwMiLkwCntrlCfm ARGS((Pst *pst, KwMngmt *cntlCfm));
+S16 RlcMiLkwCntrlCfm ARGS((Pst *pst, RlcMngmt *cntlCfm));
/**
@details
@param[in] cfg - Configuration management structure
@return ROK if success , RFAILED if failure
*/
-EXTERN S16 KwMiLkwStaReq ARGS((Pst *pst, KwMngmt *staInd));
+S16 RlcMiLkwStaReq ARGS((Pst *pst, RlcMngmt *staInd));
/**
@details
-This function is called by the KwMiLkwStaReq function to send the requested stat
+This function is called by the RlcMiLkwStaReq function to send the requested stat
us information to the layer manager.
@param[in] pst - Pointer to post structure
@param[in] stacfm - Configuration management structure
@return ROK if success , RFAILED if failure
*/
-EXTERN S16 KwMiLkwStaCfm ARGS((Pst *pst, KwMngmt *staCfm));
+S16 RlcMiLkwStaCfm ARGS((Pst *pst, RlcMngmt *staCfm));
/**
@details
@param[in] sts - Configuration management structure
@return ROK if success , RFAILED if failure
*/
-EXTERN S16 KwMiLkwStsReq ARGS((Pst *pst, Action, KwMngmt *sts));
+S16 RlcMiLkwStsReq ARGS((Pst *pst, Action, RlcMngmt *sts));
/**
@details
-This function is called by the KwMiLkwStsReq function for responding to statisti
+This function is called by the RlcMiLkwStsReq function for responding to statisti
cs requests.
@param[in] pst - Pointer to post structure
@param[in] cfg - Configuration management structure
@return ROK if success , RFAILED if failure
*/
-EXTERN S16 KwMiLkwStsCfm ARGS((Pst *pst, Action action, KwMngmt *stsCfm));
+S16 RlcMiLkwStsCfm ARGS((Pst *pst, Action action, RlcMngmt *stsCfm));
/**
@details
This function is used by RLC module to send unsolicited trace indications to
@param[in] buf - buffer
@return ROK if success , RFAILED if failure
*/
-EXTERN S16 KwMiLkwTrcInd ARGS ((Pst *pst, KwMngmt *trc, Buffer *mBuf));
+S16 RlcMiLkwTrcInd ARGS ((Pst *pst, RlcMngmt *trc, Buffer *mBuf));
/**
@details This function is used by RLC to send unsolicited status information to the layer manager, when the unsolicited status flag is enabled by the layer manager through a previous control request.
@param[in] measEvt - Measurement Request structure
@return ROK if success , RFAILED if failure
*/
-EXTERN S16 KwMiLkwL2MeasReq ARGS((Pst *pst, KwL2MeasReqEvt *measEvt));
-EXTERN S16 KwMiLkwL2MeasStopReq ARGS((Pst *pst,U8 measType));
-EXTERN S16 KwMiLkwL2MeasSendReq ARGS((Pst *pst,U8 measType));
+S16 RlcMiLkwL2MeasReq ARGS((Pst *pst, RlcL2MeasReqEvt *measEvt));
+S16 RlcMiLkwL2MeasStopReq ARGS((Pst *pst,uint8_t measType));
+S16 RlcMiLkwL2MeasSendReq ARGS((Pst *pst,uint8_t measType));
/**
@details This function can be used by PDCP to send the measurement values
after doing L2 measurement that was requested by the layer manager.
@param[in] measEvt - Measurement confirmation structure
@return ROK if success , RFAILED if failure
*/
-EXTERN S16 KwMiLkwL2MeasCfm ARGS((Pst *pst, KwL2MeasCfmEvt *measCfm));
-EXTERN S16 KwMiLkwL2MeasStopCfm ARGS((Pst *pst, U8 measType, U8 status));
+S16 RlcMiLkwL2MeasCfm ARGS((Pst *pst, RlcL2MeasCfmEvt *measCfm));
+S16 RlcMiLkwL2MeasStopCfm ARGS((Pst *pst, uint8_t measType, uint8_t status));
#endif /* LTE_L2_MEAS */
-EXTERN S16 KwMiLkwStaInd ARGS((Pst *pst, KwMngmt *staReq));
+S16 RlcMiLkwStaInd ARGS((Pst *pst, RlcMngmt *staReq));
-EXTERN Void kwSendLmAlarm ARGS ((
- U16 category,
- U16 event,
- U16 cause,
+Void rlcSendLmAlarm ARGS ((
+ uint16_t category,
+ uint16_t event,
+ uint16_t cause,
SuId suId,
- U32 ueId));
+ uint32_t ueId));
#ifdef SM
-EXTERN S16 SmMiLkwCfgCfm ARGS((
+S16 SmMiRlcConfigCfm ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 SmMiLkwCntrlCfm ARGS((
+S16 SmMiLkwCntrlCfm ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 SmMiLkwStaInd ARGS((
+S16 SmMiLkwStaInd ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 SmMiLkwStaCfm ARGS((
+S16 SmMiLkwStaCfm ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 SmMiLkwStsCfm ARGS((
+S16 SmMiLkwStsCfm ARGS((
Pst *,
Action,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 SmMiLkwTrcInd ARGS((
+S16 SmMiLkwTrcInd ARGS((
Pst *,
- KwMngmt *,
+ RlcMngmt *,
Buffer *
));
-EXTERN S16 SmMiLkwStsReq ARGS((
+S16 SmMiLkwStsReq ARGS((
Pst *,
Action,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 SmMiLkwStaReq ARGS((
+S16 SmMiLkwStaReq ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 SmMiLkwCntrlReq ARGS((
+S16 SmMiLkwCntrlReq ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 SmMiLkwCfgReq ARGS((
+S16 SmMiRlcConfigReq ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
/* lkw_x_001.main_2, added support for L2 measurement */
#ifdef LTE_L2_MEAS
-EXTERN S16 SmMiLkwL2MeasReq ARGS((
+S16 SmMiLkwL2MeasReq ARGS((
Pst *,
- KwL2MeasReqEvt *
+ RlcL2MeasReqEvt *
));
-EXTERN S16 SmMiLkwL2MeasStopReq ARGS((
+S16 SmMiLkwL2MeasStopReq ARGS((
Pst *pst,
- U8 measType
+ uint8_t measType
));
-EXTERN S16 SmMiLkwL2MeasSendReq ARGS((
+S16 SmMiLkwL2MeasSendReq ARGS((
Pst *pst,
- U8 measType
+ uint8_t measType
));
-EXTERN S16 SmMiLkwL2MeasCfm ARGS((
+S16 SmMiLkwL2MeasCfm ARGS((
Pst *,
- KwL2MeasCfmEvt *
+ RlcL2MeasCfmEvt *
));
-EXTERN S16 SmMiLkwL2MeasStopCfm ARGS((
+S16 SmMiLkwL2MeasStopCfm ARGS((
Pst *pst,
- U8 measType,
- U8 status
+ uint8_t measType,
+ uint8_t status
));
#endif /* LTE_L2_MEAS */
#endif
-EXTERN S16 smKwActvInit ARGS((Ent ent, Inst inst, Region region, Reason reason));
-EXTERN S16 smKwActvTsk ARGS((Pst *pst, Buffer *mBuf));
+S16 smKwActvInit ARGS((Ent ent, Inst inst, Region region, Reason reason));
+S16 smKwActvTsk ARGS((Pst *pst, Buffer *mBuf));
/* pack/unpack functions */
#ifdef LCLKW
-EXTERN S16 cmPkLkwCfgReq ARGS((
+S16 packRlcConfigReq ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 cmPkLkwCfgCfm ARGS((
+uint8_t packRlcConfigCfm ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 cmPkLkwCntrlReq ARGS((
+S16 cmPkLkwCntrlReq ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 cmPkLkwCntrlCfm ARGS((
+uint8_t cmPkLkwCntrlCfm ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 cmPkLkwStaInd ARGS((
+S16 cmPkLkwStaInd ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 cmPkLkwStaReq ARGS((
+S16 cmPkLkwStaReq ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 cmPkLkwStaCfm ARGS((
+S16 cmPkLkwStaCfm ARGS((
Pst *,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 cmPkLkwStsReq ARGS((
+S16 cmPkLkwStsReq ARGS((
Pst *,
Action,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 cmPkLkwStsCfm ARGS((
+S16 cmPkLkwStsCfm ARGS((
Pst *,
Action,
- KwMngmt *
+ RlcMngmt *
));
-EXTERN S16 cmPkLkwTrcInd ARGS((
+S16 cmPkLkwTrcInd ARGS((
Pst *,
- KwMngmt *,
+ RlcMngmt *,
Buffer *
));
-EXTERN S16 cmUnpkLkwCfgReq ARGS((
- LkwCfgReq,
+uint8_t unpackRlcConfigReq ARGS((
+ RlcConfigReq,
Pst *,
Buffer *
));
-EXTERN S16 cmUnpkLkwCfgCfm ARGS((
- LkwCfgCfm,
+uint8_t unpackRlcConfigCfm ARGS((
+ RlcConfigCfm,
Pst *,
Buffer *
));
-EXTERN S16 cmUnpkLkwCntrlReq ARGS((
- LkwCfgReq,
+S16 cmUnpkLkwCntrlReq ARGS((
+ RlcConfigReq,
Pst *,
Buffer *
));
-EXTERN S16 cmUnpkLkwCntrlCfm ARGS((
- LkwCfgCfm,
+S16 cmUnpkLkwCntrlCfm ARGS((
+ RlcConfigCfm,
Pst *,
Buffer *
));
-EXTERN S16 cmUnpkLkwStaInd ARGS((
+S16 cmUnpkLkwStaInd ARGS((
LkwStaInd,
Pst *,
Buffer *
));
-EXTERN S16 cmUnpkLkwStaReq ARGS((
+S16 cmUnpkLkwStaReq ARGS((
LkwStaReq,
Pst *,
Buffer *
));
-EXTERN S16 cmUnpkLkwStaCfm ARGS((
+S16 cmUnpkLkwStaCfm ARGS((
LkwStaCfm,
Pst *,
Buffer *
));
-EXTERN S16 cmUnpkLkwStsReq ARGS((
+S16 cmUnpkLkwStsReq ARGS((
LkwStsReq,
Pst *,
Buffer *
));
-EXTERN S16 cmUnpkLkwStsCfm ARGS((
+S16 cmUnpkLkwStsCfm ARGS((
LkwStsCfm,
Pst *, Buffer *
));
-EXTERN S16 cmUnpkLkwTrcInd ARGS((
+S16 cmUnpkLkwTrcInd ARGS((
LkwTrcInd,
Pst *,
Buffer *));
/* lkw_x_001.main_2, added support for L2 measurement */
#ifdef LTE_L2_MEAS
-EXTERN S16 cmPkLkwL2MeasReq ARGS((
+S16 cmPkLkwL2MeasReq ARGS((
Pst * pst,
- KwL2MeasReqEvt * measReqEvt
+ RlcL2MeasReqEvt * measReqEvt
));
-EXTERN S16 cmUnpkLkwL2MeasReq ARGS((
+S16 cmUnpkLkwL2MeasReq ARGS((
LkwL2MeasReq func,
Pst *pst,
Buffer *mBuf
));
-EXTERN S16 cmPkLkwL2MeasCfm ARGS((
+S16 cmPkLkwL2MeasCfm ARGS((
Pst * pst,
- KwL2MeasCfmEvt *measCfmEvt
+ RlcL2MeasCfmEvt *measCfmEvt
));
-EXTERN S16 cmUnpkLkwL2MeasCfm ARGS((
+S16 cmUnpkLkwL2MeasCfm ARGS((
LkwL2MeasCfm func,
Pst *pst,
Buffer *mBuf
));
-EXTERN S16 cmPkKwL2MeasReqInfo ARGS((
- KwL2MeasReqInfo * measReqInfo,
+S16 cmPkRlcL2MeasReqInfo ARGS((
+ RlcL2MeasReqInfo * measReqInfo,
Buffer *mBuf
));
-EXTERN S16 cmUnpkKwL2MeasReqInfo ARGS((
- KwL2MeasReqInfo * measReqInfo,
+S16 cmUnpkRlcL2MeasReqInfo ARGS((
+ RlcL2MeasReqInfo * measReqInfo,
Buffer *mBuf
));
-EXTERN S16 cmPkKwL2MeasCfmInfo ARGS((
- KwL2MeasCfmInfo * measCfmInfo,
+S16 cmPkRlcL2MeasCfmInfo ARGS((
+ RlcL2MeasCfmInfo * measCfmInfo,
Buffer *mBuf,
- U8 measType
+ uint8_t measType
));
-EXTERN S16 cmUnpkKwL2MeasCfmInfo ARGS((
- KwL2MeasCfmInfo * measCfmInfo,
+S16 cmUnpkRlcL2MeasCfmInfo ARGS((
+ RlcL2MeasCfmInfo * measCfmInfo,
Buffer *mBuf,
- U8 measType
+ uint8_t measType
));
-EXTERN S16 cmPkLkwL2MeasStopReq ARGS((
+S16 cmPkLkwL2MeasStopReq ARGS((
Pst * pst,
- U8 measType
+ uint8_t measType
));
-EXTERN S16 cmUnpkLkwL2MeasStopReq ARGS((
+S16 cmUnpkLkwL2MeasStopReq ARGS((
LkwL2MeasStopReq func,
Pst *pst,
Buffer *mBuf
));
-EXTERN S16 cmPkLkwL2MeasSendReq ARGS((
+S16 cmPkLkwL2MeasSendReq ARGS((
Pst * pst,
- U8 measType
+ uint8_t measType
));
-EXTERN S16 cmUnpkLkwL2MeasSendReq ARGS((
+S16 cmUnpkLkwL2MeasSendReq ARGS((
LkwL2MeasSendReq func,
Pst *pst,
Buffer *mBuf
));
-EXTERN S16 cmPkLkwL2MeasStopCfm ARGS((
+S16 cmPkLkwL2MeasStopCfm ARGS((
Pst * pst,
- U8 measType,
- U8 status
+ uint8_t measType,
+ uint8_t status
));
-EXTERN S16 cmUnpkLkwL2MeasStopCfm ARGS((
+S16 cmUnpkLkwL2MeasStopCfm ARGS((
LkwL2MeasStopCfm func,
Pst *pst,
Buffer *mBuf