typedef struct rgmPrbRprtCfg
{
- U16 usPrbAvgPeriodicty; /* It is in milli sec */
- U8 bConfigType;
- U8 bCellId;
+ uint16_t usPrbAvgPeriodicty; /* It is in milli sec */
+ uint8_t bConfigType;
+ uint8_t bCellId;
}RgmPrbRprtCfg;
/* RRM_SP1_START */
typedef struct rgmPrbRptPerQci
{
- U8 bQci;
- U8 bAvgPrbUlUsage;
- U8 bAvgPrbDlUsage;
+ uint8_t bQci;
+ uint8_t bAvgPrbUlUsage;
+ uint8_t bAvgPrbDlUsage;
}RgmPrbRptPerQci;
typedef struct rgmPrbRprtInd
{
RgmPrbRptPerQci stQciPrbRpts[RGM_MAX_QCI_REPORTS];
/* RRM_SP1_END */
- U8 bCellId;
+ uint8_t bCellId;
/* TDD: DL PRB Usage pres = 2 and
* UL PRB Usage pres = 1
* FDD: DL and UL Usage Pres = 3
*/
- U8 bPrbUsageMask;
+ uint8_t bPrbUsageMask;
}RgmPrbRprtInd;
typedef enum
typedef struct rgmTransModeInd
{
RgmTxnMode eMode; /* Indicate TM Mode */
- U16 usCrnti; /* UE Crnti value */
- U8 bCellId; /* Cell Id */
+ uint16_t usCrnti; /* UE Crnti value */
+ uint8_t bCellId; /* Cell Id */
}RgmTransModeInd;
/***********************************************************************
type definitions for upper layer interface - RLC primitives
typedef S16 (*RgmBndCfm) ARGS((
Pst* pst,
SuId suId,
- U8 status));
+ uint8_t status));
/** @brief Data Request from RLC to MAC for forwarding SDUs on common
* channel for transmission */
typedef S16 (*RgmCfgPrbRprtFptr) ARGS((
* @param spId SAP ID of the service provider.
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRgmBndReq ARGS((Pst* pst,SuId suId,SpId spId));
+S16 RgUiRgmBndReq ARGS((Pst* pst,SuId suId,SpId spId));
/** @brief Unbind Request from RLC to MAC to unbind the interface SAPs
* @param pst Pointer to the post structure.
* @param spId SAP ID of the service provider.
* @param reason Reason for unbind request.
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRgmUbndReq ARGS((Pst* pst,SpId spId,Reason reason));
+S16 RgUiRgmUbndReq ARGS((Pst* pst,SpId spId,Reason reason));
/** @brief Bind Confirmation from MAC to RLC for the bind and unbind
* request for the interface SAPs
* @param pst Pointer to the post structure.
* @param status Status of the bind request.
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRgmBndCfm ARGS((Pst* pst,SuId suId,U8 status));
+S16 RgUiRgmBndCfm ARGS((Pst* pst,SuId suId,uint8_t status));
/** @brief Data Request from RLC to MAC for forwarding SDUs on common
* channel for transmission
* @param pst Pointer to the post structure.
* @param prbRprtCfg Data request for common channels (BCCH, PCCH and CCCH).
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRgmCfgPrbRprt ARGS((Pst* pst,SuId suId,RgmPrbRprtCfg *prbRprtCfg));
+S16 RgUiRgmCfgPrbRprt ARGS((Pst* pst,SuId suId,RgmPrbRprtCfg *prbRprtCfg));
/** @brief Data Indication from MAC to RLC to
* forward the data received for common channels
* @param pst Pointer to the post structure.
* @param prbRprtInd Data indication on CCCH.
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRgmPrbRprtInd ARGS((Pst* pst,SuId suId,RgmPrbRprtInd *prbRprtInd));
+S16 RgUiRgmPrbRprtInd ARGS((Pst* pst,SuId suId,RgmPrbRprtInd *prbRprtInd));
#endif
#ifdef RM_INTF
/** @brief Request from RLC to MAC to bind the interface saps */
-EXTERN S16 RmLiRgmBndReq ARGS((
+S16 RmLiRgmBndReq ARGS((
Pst* pst,
SuId suId,
SpId spId
));
/** @brief Request from RLC to MAC to Unbind the interface saps */
-EXTERN S16 RmLiRgmUbndReq ARGS((
+S16 RmLiRgmUbndReq ARGS((
Pst* pst,
SpId spId,
Reason reason
));
/** @brief Confirmation from MAC to RLC for the bind/Unbind
* request for the interface saps */
-EXTERN S16 RmLiRgmBndCfm ARGS((
+S16 RmLiRgmBndCfm ARGS((
Pst* pst,
SuId suId,
- U8 status
+ uint8_t status
));
/** @brief Request from RLC to MAC for forwarding SDUs on common
* channel for transmission */
-EXTERN S16 RmLiRgmCfgPrbRprt ARGS((
+S16 RmLiRgmCfgPrbRprt ARGS((
Pst* pst,
SpId spId,
RgmPrbRprtCfg* prbRprtCfg
));
/** @brief Data Indication from MAC to RLC to
* forward the data received for common channels*/
-EXTERN S16 RmLiRgmPrbRprtInd ARGS((
+S16 RmLiRgmPrbRprtInd ARGS((
Pst* pst,
SuId suId,
RgmPrbRprtInd* prbRprtInd
));
/** @brief Data Indication from MAC to RRM to
* change the transmission mode*/
-EXTERN S16 RmLiRgmTransModeInd ARGS((
+S16 RmLiRgmTransModeInd ARGS((
Pst* pst,
SuId suId,
RgmTransModeInd* transModeInd
#ifdef RGM_LWLC
/** @brief Request from RLC to MAC to bind the interface saps */
-EXTERN S16 cmPkLwLcRgmBndReq ARGS((
+S16 cmPkLwLcRgmBndReq ARGS((
Pst* pst,
SuId suId,
SpId spId
));
/** @brief Request from RLC to MAC to bind the interface saps */
-EXTERN S16 cmUnpkLwLcRgmBndReq ARGS((
+S16 cmUnpkLwLcRgmBndReq ARGS((
RgmBndReq func,
Pst* pst,
Buffer *mBuf
));
/** @brief Request from RLC to MAC to Unbind the interface saps */
-EXTERN S16 cmPkLwLcRgmUbndReq ARGS((
+S16 cmPkLwLcRgmUbndReq ARGS((
Pst* pst,
SpId spId,
Reason reason
));
/** @brief Request from RLC to MAC to Unbind the interface saps */
-EXTERN S16 cmUnpkLwLcRgmUbndReq ARGS((
+S16 cmUnpkLwLcRgmUbndReq ARGS((
RgmUbndReq func,
Pst* pst,
Buffer *mBuf
));
/** @brief Confirmation from MAC to RLC for the bind/Unbind
* request for the interface saps */
-EXTERN S16 cmPkLwLcRgmBndCfm ARGS((
+S16 cmPkLwLcRgmBndCfm ARGS((
Pst* pst,
SuId suId,
- U8 status
+ uint8_t status
));
/** @brief Confirmation from MAC to RLC for the bind/Unbind
* request for the interface saps */
-EXTERN S16 cmUnpkLwLcRgmBndCfm ARGS((
+S16 cmUnpkLwLcRgmBndCfm ARGS((
RgmBndCfm func,
Pst* pst,
Buffer *mBuf
));
/** @brief Request from RLC to MAC for forwarding SDUs on common
* channel for transmission */
-EXTERN S16 cmPkLwLcRgmCfgPrbRprt ARGS((
+S16 cmPkLwLcRgmCfgPrbRprt ARGS((
Pst* pst,
SpId spId,
RgmPrbRprtCfg * prbRprtCfg
));
/** @brief Request from RLC to MAC for forwarding SDUs on common
* channel for transmission */
-EXTERN S16 cmUnpkLwLcRgmCfgPrbRprt ARGS((
+S16 cmUnpkLwLcRgmCfgPrbRprt ARGS((
RgmCfgPrbRprtFptr func,
Pst* pst,
Buffer *mBuf
));
/** @brief Data Indication from MAC to RLC to
* forward the data received for common channels*/
-EXTERN S16 cmPkLwLcRgmPrbRprtInd ARGS((
+S16 cmPkLwLcRgmPrbRprtInd ARGS((
Pst* pst,
SuId suId,
RgmPrbRprtInd * prbRprtInd
));
/** @brief Data Indication from MAC to RLC to
* forward the data received for common channels*/
-EXTERN S16 cmUnpkLwLcRgmPrbRprtInd ARGS((
+S16 cmUnpkLwLcRgmPrbRprtInd ARGS((
RgmPrbRprtIndFptr func,
Pst* pst,
Buffer *mBuf
/** @brief Request from RLC to MAC to bind the interface saps */
-EXTERN S16 cmPkRgmBndReq ARGS((
+S16 cmPkRgmBndReq ARGS((
Pst* pst,
SuId suId,
SpId spId
));
/** @brief Request from RLC to MAC to bind the interface saps */
-EXTERN S16 cmUnpkRgmBndReq ARGS((
+S16 cmUnpkRgmBndReq ARGS((
RgmBndReq func,
Pst* pst,
Buffer *mBuf
));
/** @brief Request from RLC to MAC to Unbind the interface saps */
-EXTERN S16 cmPkRgmUbndReq ARGS((
+S16 cmPkRgmUbndReq ARGS((
Pst* pst,
SpId spId,
Reason reason
));
/** @brief Request from RLC to MAC to Unbind the interface saps */
-EXTERN S16 cmUnpkRgmUbndReq ARGS((
+S16 cmUnpkRgmUbndReq ARGS((
RgmUbndReq func,
Pst* pst,
Buffer *mBuf
));
/** @brief Confirmation from MAC to RLC for the bind/Unbind
* request for the interface saps */
-EXTERN S16 cmPkRgmBndCfm ARGS((
+S16 cmPkRgmBndCfm ARGS((
Pst* pst,
SuId suId,
- U8 status
+ uint8_t status
));
/** @brief Confirmation from MAC to RLC for the bind/Unbind
* request for the interface saps */
-EXTERN S16 cmUnpkRgmBndCfm ARGS((
+S16 cmUnpkRgmBndCfm ARGS((
RgmBndCfm func,
Pst* pst,
Buffer *mBuf
));
/** @brief Request from RLC to MAC for forwarding SDUs on common
* channel for transmission */
-EXTERN S16 cmPkRgmCfgPrbRprt ARGS((
+S16 cmPkRgmCfgPrbRprt ARGS((
Pst* pst,
SpId spId,
RgmPrbRprtCfg * prbRprtCfg
));
-EXTERN S16 cmPkCfgPrbRprt ARGS((
+S16 cmPkCfgPrbRprt ARGS((
RgmPrbRprtCfg * prbRprtCfg,
Buffer *mBuf
));
-EXTERN S16 cmPkPrbRprtInd ARGS((
+S16 cmPkPrbRprtInd ARGS((
RgmPrbRprtInd * prbRprtInd,
Buffer *mBuf
));
/** @brief Request from RLC to MAC for forwarding SDUs on common
* channel for transmission */
-EXTERN S16 cmUnpkRgmCfgPrbRprt ARGS((
+S16 cmUnpkRgmCfgPrbRprt ARGS((
RgmCfgPrbRprtFptr func,
Pst* pst,
Buffer *mBuf
));
-EXTERN S16 cmUnPkCfgPrbRprt ARGS((
+S16 cmUnPkCfgPrbRprt ARGS((
RgmPrbRprtCfg * prbRprtCfg,
Buffer *mBuf
));
/** @brief Data Indication from MAC to RLC to
* forward the data received for common channels*/
-EXTERN S16 cmPkRgmPrbRprtInd ARGS((
+S16 cmPkRgmPrbRprtInd ARGS((
Pst* pst,
SuId suId,
RgmPrbRprtInd * prbRprtInd
));
-EXTERN S16 cmUnpkPrbRprtInd ARGS((
+S16 cmUnpkPrbRprtInd ARGS((
RgmPrbRprtInd * prbRprtInd,
Buffer *mBuf
));
-EXTERN S16 cmPkTransModeInd ARGS((
+S16 cmPkTransModeInd ARGS((
RgmTransModeInd *transModeInd,
Buffer *mBuf
));
-EXTERN S16 cmUnpkTransModeInd ARGS((
+S16 cmUnpkTransModeInd ARGS((
RgmTransModeInd *transModeInd,
Buffer *mBuf
));
-EXTERN S16 cmPkRgmTransModeInd ARGS((
+S16 cmPkRgmTransModeInd ARGS((
Pst* pst,
SuId suId,
RgmTransModeInd *transModeInd
));
-EXTERN S16 cmUnpkRgmTransModeInd ARGS((
+S16 cmUnpkRgmTransModeInd ARGS((
RgmTransModeIndFptr func,
Pst* pst,
Buffer *mBuf
/** @brief Data Indication from MAC to RLC to
* forward the data received for common channels*/
-EXTERN S16 cmUnpkRgmPrbRprtInd ARGS((
+S16 cmUnpkRgmPrbRprtInd ARGS((
RgmPrbRprtIndFptr func,
Pst* pst,
Buffer *mBuf
));
-EXTERN S16 cmPkRgmPrbQciRpt ARGS((
+S16 cmPkRgmPrbQciRpt ARGS((
RgmPrbRptPerQci *qciPrbRprt,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRgmPrbQciRpt ARGS((
+S16 cmUnpkRgmPrbQciRpt ARGS((
RgmPrbRptPerQci *qciPrbRprt,
Buffer *mBuf
));