#define RGM_MAX_QCI_REPORTS 4
-typedef struct rgmPrbRprtCfg
-{
- uint16_t usPrbAvgPeriodicty; /* It is in milli sec */
- uint8_t bConfigType;
- uint8_t bCellId;
-}RgmPrbRprtCfg;
-
/* RRM_SP1_START */
typedef struct rgmPrbRptPerQci
{
/***********************************************************************
type definitions for upper layer interface - RLC primitives
***********************************************************************/
-/** @brief Bind Request from RLC to MAC to bind the interface SAPs */
-typedef S16 (*RgmBndReq) ARGS((
- Pst* pst,
- SuId suId,
- SpId spId));
-/** @brief Unbind Request from RLC to MAC to unbind the interface SAPs */
-typedef S16 (*RgmUbndReq) ARGS((
- Pst* pst,
- SpId spId,
- Reason reason));
-/** @brief Bind Confirmation from MAC to RLC for the bind/unbind
- * request for the interface SAPs */
-typedef S16 (*RgmBndCfm) ARGS((
- Pst* pst,
- SuId suId,
- uint8_t status));
-/** @brief Data Request from RLC to MAC for forwarding SDUs on common
- * channel for transmission */
-typedef S16 (*RgmCfgPrbRprtFptr) ARGS((
- Pst* pst,
- SpId spId,
- RgmPrbRprtCfg * prbRprtCfg));
+ /** @brief Data Indication from MAC to RLC to
+ * * forward the data received for common channels */
+typedef S16 (*RgmPrbRprtIndFptr) ARGS((
+ Pst* pst,
+ SuId suId,
+ RgmPrbRprtInd * prbRprtInd));
/** @brief Data Indication from MAC to RLC to
* forward the data received for common channels */
-typedef S16 (*RgmPrbRprtIndFptr) ARGS((
- Pst* pst,
- SuId suId,
- RgmPrbRprtInd * prbRprtInd));
-
typedef S16 (*RgmTransModeIndFptr) ARGS((
Pst* pst,
SuId suId,
RgmTransModeInd * transModeInd));
-#ifdef RG
-/** @brief Bind Request from RLC to MAC to bind the interface SAPs
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param spId SAP ID of the service provider.
- * @return ROK/RFAILED
-*/
-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
-*/
-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 suId SAP ID of the service user.
- * @param status Status of the bind request.
- * @return ROK/RFAILED
-*/
-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 spId SAP ID of the service provider.
- * @param prbRprtCfg Data request for common channels (BCCH, PCCH and CCCH).
- * @return ROK/RFAILED
-*/
-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 suId SAP ID of the service user.
- * @param prbRprtInd Data indication on CCCH.
- * @return ROK/RFAILED
-*/
-S16 RgUiRgmPrbRprtInd ARGS((Pst* pst,SuId suId,RgmPrbRprtInd *prbRprtInd));
-
-#endif
#ifdef RM_INTF
-/** @brief Request from RLC to MAC to bind the interface saps */
-S16 RmLiRgmBndReq ARGS((
- Pst* pst,
- SuId suId,
- SpId spId
-));
-/** @brief Request from RLC to MAC to Unbind the interface saps */
-S16 RmLiRgmUbndReq ARGS((
- Pst* pst,
- SpId spId,
- Reason reason
-));
-/** @brief Confirmation from MAC to RLC for the bind/Unbind
- * request for the interface saps */
-S16 RmLiRgmBndCfm ARGS((
- Pst* pst,
- SuId suId,
- uint8_t status
-));
-/** @brief Request from RLC to MAC for forwarding SDUs on common
- * channel for transmission */
-S16 RmLiRgmCfgPrbRprt ARGS((
- Pst* pst,
- SpId spId,
- RgmPrbRprtCfg* prbRprtCfg
-));
-/** @brief Data Indication from MAC to RLC to
- * forward the data received for common channels*/
-S16 RmLiRgmPrbRprtInd ARGS((
- Pst* pst,
- SuId suId,
- RgmPrbRprtInd* prbRprtInd
-));
/** @brief Data Indication from MAC to RRM to
* change the transmission mode*/
S16 RmLiRgmTransModeInd ARGS((
));
#endif
-#ifdef RGM_LWLC
-/** @brief Request from RLC to MAC to bind the interface saps */
-S16 cmPkLwLcRgmBndReq ARGS((
- Pst* pst,
- SuId suId,
- SpId spId
-));
-/** @brief Request from RLC to MAC to bind the interface saps */
-S16 cmUnpkLwLcRgmBndReq ARGS((
- RgmBndReq func,
- Pst* pst,
- Buffer *mBuf
-));
-/** @brief Request from RLC to MAC to Unbind the interface saps */
-S16 cmPkLwLcRgmUbndReq ARGS((
- Pst* pst,
- SpId spId,
- Reason reason
-));
-/** @brief Request from RLC to MAC to Unbind the interface saps */
-S16 cmUnpkLwLcRgmUbndReq ARGS((
- RgmUbndReq func,
- Pst* pst,
- Buffer *mBuf
-));
-/** @brief Confirmation from MAC to RLC for the bind/Unbind
- * request for the interface saps */
-S16 cmPkLwLcRgmBndCfm ARGS((
- Pst* pst,
- SuId suId,
- uint8_t status
-));
-/** @brief Confirmation from MAC to RLC for the bind/Unbind
- * request for the interface saps */
-S16 cmUnpkLwLcRgmBndCfm ARGS((
- RgmBndCfm func,
- Pst* pst,
- Buffer *mBuf
-));
-/** @brief Request from RLC to MAC for forwarding SDUs on common
- * channel for transmission */
-S16 cmPkLwLcRgmCfgPrbRprt ARGS((
- Pst* pst,
- SpId spId,
- RgmPrbRprtCfg * prbRprtCfg
-));
-/** @brief Request from RLC to MAC for forwarding SDUs on common
- * channel for transmission */
-S16 cmUnpkLwLcRgmCfgPrbRprt ARGS((
- RgmCfgPrbRprtFptr func,
- Pst* pst,
- Buffer *mBuf
-));
-/** @brief Data Indication from MAC to RLC to
- * forward the data received for common channels*/
-S16 cmPkLwLcRgmPrbRprtInd ARGS((
- Pst* pst,
- SuId suId,
- RgmPrbRprtInd * prbRprtInd
-));
-/** @brief Data Indication from MAC to RLC to
- * forward the data received for common channels*/
-S16 cmUnpkLwLcRgmPrbRprtInd ARGS((
- RgmPrbRprtIndFptr func,
- Pst* pst,
- Buffer *mBuf
-));
-#endif
-
-
-/** @brief Request from RLC to MAC to bind the interface saps */
-S16 cmPkRgmBndReq ARGS((
- Pst* pst,
- SuId suId,
- SpId spId
-));
-/** @brief Request from RLC to MAC to bind the interface saps */
-S16 cmUnpkRgmBndReq ARGS((
- RgmBndReq func,
- Pst* pst,
- Buffer *mBuf
-));
-/** @brief Request from RLC to MAC to Unbind the interface saps */
-S16 cmPkRgmUbndReq ARGS((
- Pst* pst,
- SpId spId,
- Reason reason
-));
-/** @brief Request from RLC to MAC to Unbind the interface saps */
-S16 cmUnpkRgmUbndReq ARGS((
- RgmUbndReq func,
- Pst* pst,
- Buffer *mBuf
-));
-/** @brief Confirmation from MAC to RLC for the bind/Unbind
- * request for the interface saps */
-S16 cmPkRgmBndCfm ARGS((
- Pst* pst,
- SuId suId,
- uint8_t status
-));
-/** @brief Confirmation from MAC to RLC for the bind/Unbind
- * request for the interface saps */
-S16 cmUnpkRgmBndCfm ARGS((
- RgmBndCfm func,
- Pst* pst,
- Buffer *mBuf
-));
-/** @brief Request from RLC to MAC for forwarding SDUs on common
- * channel for transmission */
-S16 cmPkRgmCfgPrbRprt ARGS((
- Pst* pst,
- SpId spId,
- RgmPrbRprtCfg * prbRprtCfg
-));
-
-
-S16 cmPkCfgPrbRprt ARGS((
-RgmPrbRprtCfg * prbRprtCfg,
-Buffer *mBuf
-));
-
-S16 cmPkPrbRprtInd ARGS((
-RgmPrbRprtInd * prbRprtInd,
-Buffer *mBuf
-));
-
-/** @brief Request from RLC to MAC for forwarding SDUs on common
- * channel for transmission */
-S16 cmUnpkRgmCfgPrbRprt ARGS((
- RgmCfgPrbRprtFptr func,
- Pst* pst,
- Buffer *mBuf
-));
-
-S16 cmUnPkCfgPrbRprt ARGS((
-RgmPrbRprtCfg * prbRprtCfg,
-Buffer *mBuf
-));
-
/** @brief Data Indication from MAC to RLC to
- * forward the data received for common channels*/
+ * * forward the data received for common channels*/
S16 cmPkRgmPrbRprtInd ARGS((
- Pst* pst,
- SuId suId,
- RgmPrbRprtInd * prbRprtInd
-));
+ Pst* pst,
+ SuId suId,
+ RgmPrbRprtInd * prbRprtInd
+ ));
S16 cmUnpkPrbRprtInd ARGS((
-RgmPrbRprtInd * prbRprtInd,
-Buffer *mBuf
-));
+ RgmPrbRprtInd * prbRprtInd,
+ Buffer *mBuf
+ ));
S16 cmPkTransModeInd ARGS((
RgmTransModeInd *transModeInd,