Portable functions corresponding to these primitives are also defined.
*/
/* header include files (.h) */
-#include "envopt.h" /* environment options */
-#include "envdep.h" /* environment dependent */
-#include "envind.h" /* environment independent */
-#include "gen.h" /* general */
-#include "ssi.h" /* system services */
-#include "cm_tkns.h" /* Common Token Defines */
-#include "cm_llist.h" /* Common Link List Defines */
-#include "cm_hash.h" /* Common Hash List Defines */
-#include "cm_lte.h" /* Common LTE Defines */
+#include "common_def.h"
#include "rg_env.h" /* MAC Environment Defines */
#include "crg.h" /* CRG Interface defines */
#include "rgr.h" /* RGR Interface defines */
#include "rgm.h" /* RGM Interface defines*/
/* header/extern include files (.x) */
-#include "gen.x" /* general */
-#include "ssi.x" /* system services */
-#include "cm_tkns.x" /* Common Token Definitions */
-#include "cm_llist.x" /* Common Link List Definitions */
-#include "cm_lib.x" /* Common Library Definitions */
-#include "cm_hash.x" /* Common Hash List Definitions */
-#include "cm_lte.x" /* Common LTE Defines */
#include "crg.x" /* CRG Interface includes */
#include "rgr.x" /* RGR Interface includes */
#include "rgu.x" /* RGU Interface includes */
#ifdef PTRGUIRGU
/** @brief Confirmation from MAC to RLC for the bind/Unbind
* request for the interface saps */
-EXTERN S16 PtUiRguBndCfm ARGS((Pst* pst, SuId suId, U8 status));
+S16 PtUiRguBndCfm ARGS((Pst* pst, SuId suId, uint8_t status));
/** @brief Data Indication from MAC to RLC to
* forward the data received for common channels*/
-EXTERN S16 PtUiRguCDatInd ARGS((Pst* pst, SuId suId, RguCDatIndInfo * datInd));
+S16 PtUiRguCDatInd ARGS((Pst* pst, SuId suId, RguCDatIndInfo * datInd));
/** @brief Data Indication from MAC to RLC to
* forward the data received for dedicated channels*/
-EXTERN S16 PtUiRguDDatInd ARGS((Pst* pst, SuId suId, RguDDatIndInfo * datInd));
+S16 PtUiRguDDatInd ARGS((Pst* pst, SuId suId, RguDDatIndInfo * datInd));
/** @brief Status Indication from MAC to RLC
* as a response to the staRsp primitive from RLC.
* Informs RLC of the totalBufferSize and Timing Info
* for the transmission on common channels. */
-EXTERN S16 PtUiRguCStaInd ARGS((Pst* pst, SuId suId, RguCStaIndInfo * staInd));
+S16 PtUiRguCStaInd ARGS((Pst* pst, SuId suId, RguCStaIndInfo * staInd));
/** @brief Status Indication from MAC to RLC
* as a response to the staRsp primitive from RLC.
* Informs RLC of the totalBufferSize and Timing Info
* for the transmission on dedicated channels. */
-EXTERN S16 PtUiRguDStaInd ARGS((Pst* pst, SuId suId, RguDStaIndInfo * staInd));
+S16 PtUiRguDStaInd ARGS((Pst* pst, SuId suId, RguDStaIndInfo * staInd));
#ifdef LTE_L2_MEAS
/**@brief HARQ Status Indication from MAC to RLC */
-EXTERN S16 PtUiRguHqStaInd ARGS((Pst* pst,SuId suId,
+S16 PtUiRguHqStaInd ARGS((Pst* pst,SuId suId,
RguHarqStatusInd *harqStatusInd));
#endif
/**@brief PDB FLow Control Indication from MAC to RLC */
-EXTERN S16 PtUiRguFlowCntrlInd ARGS((Pst* pst,SuId suId,
+S16 PtUiRguFlowCntrlInd ARGS((Pst* pst,SuId suId,
RguFlowCntrlInd *flowCntrlInd));
#endif /*--#ifdef PTRGUIRGU--*/
S16 RgUiRguFlowCntrlInd(Pst* pst, SuId suId, RguFlowCntrlInd *flowCntrlInd);
#ifdef LTE_L2_MEAS
#ifdef MAC_RLC_HARQ_STA_RBUF
-PUBLIC S16 RgUiRguHqStaIndRbuf ARGS((Pst* pst,SuId suId,RguHarqStatusInd *harqStatusInd));
+S16 RgUiRguHqStaIndRbuf ARGS((Pst* pst,SuId suId,RguHarqStatusInd *harqStatusInd));
#endif
#endif
#if defined(MAC_RLC_UL_RBUF) && !defined(SS_RBUF)
-PRIVATE S16 RgUiRguDDatIndRbuf ARGS((RguDDatIndInfo *datInd));
+static S16 RgUiRguDDatIndRbuf ARGS((RguDDatIndInfo *datInd));
#endif
-EXTERN Void rgFreeSharableSBuf ARGS((Data **data, Size size));
+Void rgFreeSharableSBuf ARGS((Data **data, Size size));
#ifdef RGR_CQI_REPT
-EXTERN S16 PtUiRgrStaInd ARGS(( Pst* pst, SuId suId, RgrStaIndInfo *staInd));
+S16 PtUiRgrStaInd ARGS(( Pst* pst, SuId suId, RgrStaIndInfo *staInd));
#endif
/* LTE_ADV_FLAG_REMOVED_START */
-EXTERN S16 PtUiRgrLoadInfInd ARGS(( Pst* pst, SuId suId, RgrLoadInfIndInfo *loadInfInd));
+S16 PtUiRgrLoadInfInd ARGS(( Pst* pst, SuId suId, RgrLoadInfIndInfo *loadInfInd));
/* LTE_ADV_FLAG_REMOVED_END */
-EXTERN S16 PtUiRgrUeStaInd ARGS
+S16 PtUiRgrUeStaInd ARGS
((
Pst* pst,
SuId suId,
#ifdef PTRGUICRG
/** @brief Confirmation from MAC to RRC for the bind/Unbind
* request for the interface saps */
-EXTERN S16 PtUiCrgBndCfm ARGS((Pst* pst, SuId suId, U8 status));
+S16 PtUiCrgBndCfm ARGS((Pst* pst, SuId suId, uint8_t status));
/** @brief Configuration Confirm from MAC to RRC */
-EXTERN S16 PtUiCrgCfgCfm ARGS((Pst* pst, SuId suId, CrgCfgTransId transId, U8 status));
+S16 PtUiCrgCfgCfm ARGS((Pst* pst, SuId suId, CrgCfgTransId transId, uint8_t status));
#endif /*--#ifdef PTRGUICRG--*/
#ifdef PTRGUIRGR
/** @brief Confirmation from MAC to RRM for the bind/Unbind
* request for the interface saps */
-EXTERN S16 PtUiRgrBndCfm ARGS((Pst* pst, SuId suId, U8 status));
+S16 PtUiRgrBndCfm ARGS((Pst* pst, SuId suId, uint8_t status));
/** @brief Configuration Confirm from MAC to RRM */
-EXTERN S16 PtUiRgrCfgCfm ARGS((Pst* pst, SuId suId, RgrCfgTransId transId, U8 status));
-EXTERN S16 PtUiRgrTtiInd ARGS((Pst* pst, SuId suId, RgrTtiIndInfo *ttiInd));
+S16 PtUiRgrCfgCfm ARGS((Pst* pst, SuId suId, RgrCfgTransId transId, uint8_t status));
+S16 PtUiRgrTtiInd ARGS((Pst* pst, SuId suId, RgrTtiIndInfo *ttiInd));
/* Added for SI Enhancement*/
-#ifdef RGR_SI_SCH
-EXTERN S16 PtUiRgrSiCfgCfm ARGS((Pst* pst, SuId suId, RgrCfgTransId transId, U8 status));
-EXTERN S16 PtUiRgrWarningSiCfgCfm ARGS((Pst* pst, SuId suId,
- RgrCfgTransId transId, U8 siId, U8 status));
-#endif/*RGR_SI_SCH*/
#endif /*--#ifdef PTRGUIRGR--*/
#ifdef PTRGUIRGM
-PUBLIC S16 PtUiRgmPrbRprtInd ARGS((Pst* pst, SuId suId, RgmPrbRprtInd *prbRprtInd));
-PUBLIC S16 PtUiRgmBndCfm ARGS((Pst* pst, SuId suId, U8 status));
-PUBLIC S16 PtUiRgmTransModeInd ARGS((Pst* pst, SuId suId, RgmTransModeInd *transModeInd));
+S16 PtUiRgmPrbRprtInd ARGS((Pst* pst, SuId suId, RgmPrbRprtInd *prbRprtInd));
+S16 PtUiRgmTransModeInd ARGS((Pst* pst, SuId suId, RgmTransModeInd *transModeInd));
#endif
-PUBLIC S16 RgUiRgmSendPrbRprtInd ARGS((Pst* pst, SuId suId, RgmPrbRprtInd *prbRprtInd));
-PUBLIC S16 RgUiRgmChangeTransModeInd ARGS((Pst* pst, SuId suId, RgmTransModeInd *transModeInd));
+S16 RgUiRgmSendPrbRprtInd ARGS((Pst* pst, SuId suId, RgmPrbRprtInd *prbRprtInd));
+S16 RgUiRgmChangeTransModeInd ARGS((Pst* pst, SuId suId, RgmTransModeInd *transModeInd));
-PUBLIC S16 RgUiRguFlowCntrlInd ARGS((Pst* pst, SuId suId, RguFlowCntrlInd *flowCntrlInd));
+S16 RgUiRguFlowCntrlInd ARGS((Pst* pst, SuId suId, RguFlowCntrlInd *flowCntrlInd));
/* Added for sending TTI tick to RRM */
/** @brief TTI indication from MAC to RRM */
-PRIVATE CONSTANT RgrTtiInd RgUiRgrTtiIndMt[RG_MAX_RGR_USR] =
+static const RgrTtiInd RgUiRgrTtiIndMt[RG_MAX_RGR_USR] =
{
#ifdef LCRGUIRGR
cmPkRgrTtiInd,
#endif
};
-
-/** @brief Confirmation from MAC to RRM for the bind/Unbind
- * request for the interface saps */
-PRIVATE CONSTANT RgrBndCfm RgUiRgrBndCfmMt[RG_MAX_RGR_USR] =
-{
-#ifdef LCRGUIRGR
- cmPkRgrBndCfm,
-#else
- PtUiRgrBndCfm,
-#endif
-#ifdef NX
- NxLiRgrBndCfm,
-#else
- PtUiRgrBndCfm,
-#endif
-};
-
-/** @brief Confirmation from MAC to RRM for the bind/Unbind
- * request for the interface saps via RGM interface*/
-PRIVATE CONSTANT RgmBndCfm RgUiRgmBndCfmMt[RG_MAX_RGM_USR] =
-{
-#ifdef RGM_LC
- cmPkRgmBndCfm,
-#else
- PtUiRgmBndCfm,
-#endif
-#ifdef RM
- RmLiRgmBndCfm, /*To be added by RRM*/
-#else
- PtUiRgmBndCfm,
-#endif
-};
-
-
/** @brief Configuration Confirm from MAC to RRM */
-PRIVATE CONSTANT RgrCfgCfm RgUiRgrCfgCfmMt[RG_MAX_RGR_USR] =
+static const RgrCfgCfm RgUiRgrCfgCfmMt[RG_MAX_RGR_USR] =
{
#ifdef LCRGUIRGR
cmPkRgrCfgCfm,
#endif
#ifdef NX
NxLiRgrCfgCfm,
-#else
- PtUiRgrCfgCfm,
#endif
};
/* Added for SI Enhancement*/
-#ifdef RGR_SI_SCH
-/** @brief SI Configuration Confirm from MAC to RRM */
-PRIVATE CONSTANT RgrSiCfgCfm RgUiRgrSiCfgCfmMt[RG_MAX_RGR_USR] =
-{
-#ifdef LCRGUIRGR
- cmPkRgrSiCfgCfm,
-#else
- PtUiRgrSiCfgCfm,
-#endif
-#ifdef NX
- NxLiRgrSiCfgCfm,
-#else
- PtUiRgrSiCfgCfm,
-#endif
-};
-
-
-/** @brief Warning SI Configuration Confirm from MAC to RRM */
-PRIVATE CONSTANT RgrWarningSiCfgCfm RgUiRgrWarningSiCfgCfmMt[RG_MAX_RGR_USR] =
-{
-#ifdef LCRGUIRGR
- cmPkRgrWarningSiCfgCfm,
-#else
- PtUiRgrWarningSiCfgCfm,
-#endif
-#ifdef NX
- NxLiRgrWarningSiCfgCfm,
-#else
- PtUiRgrWarningSiCfgCfm,
-#endif
-};
-
-#endif/*RGR_SI_SCH */
/** @brief Confirmation from MAC to RRC for the bind/Unbind
* request for the interface saps */
-PRIVATE CONSTANT CrgBndCfm RgUiCrgBndCfmMt[RG_MAX_CRG_USR] =
+static const CrgBndCfm RgUiCrgBndCfmMt[RG_MAX_CRG_USR] =
{
#ifdef LCRGUICRG
cmPkCrgBndCfm,
};
/** @brief Configuration Confirm from MAC to RRC */
-PRIVATE CONSTANT CrgCfgCfm RgUiCrgCfgCfmMt[RG_MAX_CRG_USR] =
+static const CrgCfgCfm RgUiCrgCfgCfmMt[RG_MAX_CRG_USR] =
{
#ifdef LCRGUICRG
cmPkCrgCfgCfm,
/** @brief Confirmation from MAC to RLC for the bind/Unbind
* request for the interface saps */
-PRIVATE CONSTANT RguBndCfm RgUiRguBndCfmMt[RG_MAX_RGU_USR] =
+static const RguBndCfm RgUiRguBndCfmMt[RG_MAX_RGU_USR] =
{
#ifdef LCRGUIRGU
cmPkRguBndCfm,
PtUiRguBndCfm,
#endif
#ifdef KW
- KwLiRguBndCfm,
+ RlcLiRguBndCfm,
#else
PtUiRguBndCfm,
#endif
/** @brief Data Indication from MAC to RLC to
* forward the data received for common channels*/
-PRIVATE CONSTANT RguCDatInd RgUiRguCDatIndMt[RG_MAX_RGU_USR] =
+static const RguCDatInd RgUiRguCDatIndMt[RG_MAX_RGU_USR] =
{
#ifdef LCRGUIRGU
-// cmPkRguCDatInd, /* Call packRcvdUlData instead */
+// cmPkRguCDatInd, /* TODO : Call packRcvdUlData instead */
#else
PtUiRguCDatInd,
#endif
#ifdef KW
- KwLiRguCDatInd,
+ //RlcProcCommLcUlData,
#else
PtUiRguCDatInd,
#endif
#ifdef LWLCRGUIRGU
-// cmPkRguCDatInd, /* Call packRcvdUlData instead */
+// cmPkRguCDatInd, /* TODO:Call packRcvdUlData instead */
#else
PtUiRguCDatInd,
#endif
/** @brief Data Indication from MAC to RLC to
* forward the data received for dedicated channels*/
-PRIVATE CONSTANT RguDDatInd RgUiRguDDatIndMt[RG_MAX_RGU_USR] =
+static const RguDDatInd RgUiRguDDatIndMt[RG_MAX_RGU_USR] =
{
#ifdef LCRGUIRGU
-// cmPkRguDDatInd, /* Call packRcvdUlData instead */
+// cmPkRguDDatInd, /* TODO: Call packRcvdUlData instead */
#else
PtUiRguDDatInd,
#endif
#ifdef KW
- KwLiRguDDatInd,
+ //RlcProcDedLcUlData,
#else
PtUiRguDDatInd,
#endif
#ifdef LWLCRGUIRGU
-// cmPkRguDDatInd, /* Call packRcvdUlData instead */
+// cmPkRguDDatInd, /* TODO: Call packRcvdUlData instead */
#else
PtUiRguDDatInd,
#endif
* as a response to the staRsp primitive from RLC.
* Informs RLC of the totalBufferSize and Timing Info
* for the transmission on common channels. */
-PRIVATE CONSTANT RguCStaInd RgUiRguCStaIndMt[RG_MAX_RGU_USR] =
+static const RguCStaInd RgUiRguCStaIndMt[RG_MAX_RGU_USR] =
{
#ifdef LCRGUIRGU
- //cmPkRguCStaInd, /* Call packSchedRep instead of cmPkRguCStaInd */
+ //cmPkRguCStaInd, /* TODO: Call packSchedRep instead of cmPkRguCStaInd */
#else
PtUiRguCStaInd,
#endif
PtUiRguCStaInd,
#endif
#ifdef LWLCRGUIRGU
- //cmPkRguCStaInd, /* Call packSchedRep instead of cmPkRguCStaInd */
+ //cmPkRguCStaInd, /* TODO: Call packSchedRep instead of cmPkRguCStaInd */
#else
PtUiRguCStaInd,
#endif
* as a response to the staRsp primitive from RLC.
* Informs RLC of the totalBufferSize and Timing Info
* for the transmission on dedicated channels. */
-PRIVATE CONSTANT RguDStaInd RgUiRguDStaIndMt[RG_MAX_RGU_USR] =
+static const RguDStaInd RgUiRguDStaIndMt[RG_MAX_RGU_USR] =
{
#ifdef LCRGUIRGU
- //cmPkRguDStaInd, /* Call packSchedRep instead of cmPkRguDStaInd */
+ //cmPkRguDStaInd, /* TODO: Call packSchedRep instead of cmPkRguDStaInd */
#else
PtUiRguDStaInd,
#endif
PtUiRguDStaInd,
#endif
#ifdef LWLCRGUIRGU
- //cmPkRguDStaInd, /* Call packSchedRep instead of cmPkRguDStaInd */
+ //cmPkRguDStaInd, /* TODO: Call packSchedRep instead of cmPkRguDStaInd */
#else
PtUiRguDStaInd,
#endif
* as a response to the DdatReq primitive from RLC.
* Informs RLC of the successful transmission of TB's
* (ACK/NACK) along with Mapping Info. */
-PRIVATE CONSTANT RguHqStaInd RgUiRguHqStaIndMt[RG_MAX_RGU_USR] =
+static const RguHqStaInd RgUiRguHqStaIndMt[RG_MAX_RGU_USR] =
{
#ifdef LCRGUIRGU
cmPkRguHqStaInd,
PtUiRguHqStaInd,
#endif
#ifdef KW
- KwLiRguHqStaInd,
+ RlcLiRguHqStaInd,
#else
PtUiRguHqStaInd,
#endif
RGR_RRM_DLPWR_CNTRL to RGR_CQI_REPT */
#ifdef RGR_CQI_REPT
/** @brief TTI indication from MAC to RRM */
-PRIVATE CONSTANT RgrStaInd RgUiRgrStaIndMt[RG_MAX_RGR_USR] =
+static const RgrStaInd RgUiRgrStaIndMt[RG_MAX_RGR_USR] =
{
#ifdef LCRGUIRGR
cmPkRgrStaInd,
/* LTE_ADV_FLAG_REMOVED_START */
/** @brief LOAD INF indication from MAC to RRM */
-PRIVATE CONSTANT RgrLoadInfInd RgUiRgrLoadInfIndMt[RG_MAX_RGR_USR] =
+static const RgrLoadInfInd RgUiRgrLoadInfIndMt[RG_MAX_RGR_USR] =
{
#ifdef LCRGUIRGR
cmPkRgrLoadInfInd,
/* LTE_ADV_FLAG_REMOVED_END */
/** @brief TTI indication from MAC to RRM */
-PRIVATE CONSTANT RgrUeStaInd RgUiRgrUeStaIndMt[RG_MAX_RGR_USR] =
+static const RgrUeStaInd RgUiRgrUeStaIndMt[RG_MAX_RGR_USR] =
{
#ifdef LCRGUIRGR
cmPkRgrUeStaInd,
};
/** @brief Average PRB usage indication from MAC to RRM */
-PRIVATE CONSTANT RgmPrbRprtIndFptr RgUiRgmSendPrbRprtIndMt[RG_MAX_RGM_USR] =
+static const RgmPrbRprtIndFptr RgUiRgmSendPrbRprtIndMt[RG_MAX_RGM_USR] =
{
#ifdef RGM_LC
cmPkRgmPrbRprtInd,
/** @brief Transmission Mode Change indication from MAC to RRM */
-PRIVATE CONSTANT RgmTransModeIndFptr RgUiRgmChangeTransModeIndMt[RG_MAX_RGM_USR] =
+static const RgmTransModeIndFptr RgUiRgmChangeTransModeIndMt[RG_MAX_RGM_USR] =
{
#ifdef RGM_LC
cmPkRgmTransModeInd,
#endif
};
-PRIVATE CONSTANT RguFlowCntrlIndInfo RgUiRguFlowCntrlIndMt[RG_MAX_RGU_USR] =
+static const RguFlowCntrlIndInfo RgUiRguFlowCntrlIndMt[RG_MAX_RGU_USR] =
{
#ifdef LCRGUIRGU
cmPkRguFlowCntrlInd,
PtUiRguFlowCntrlInd,
#endif
#ifdef KW
- KwLiRguFlowCntrlInd,
+ RlcLiRguFlowCntrlInd,
#else
PtUiRguFlowCntrlInd,
#endif
#endif /* __cplusplus */
#ifdef RG
-\f
-/**
-* @brief Confirmation from MAC to RRM for the bind/Unbind
- * request for the interface saps
-*
-* @details
-*
-* Function : RgUiRgrBndCfm
-*
-* @param[in] Pst* pst
-* @param[in] SuId suId
-* @param[in] U8 status
-* @return S16
-* -# ROK
-**/
-#ifdef ANSI
-PUBLIC S16 RgUiRgrBndCfm
-(
-Pst* pst,
-SuId suId,
-U8 status
-)
-#else
-PUBLIC S16 RgUiRgrBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-U8 status;
-#endif
-{
-
- TRC3(RgUiRgrBndCfm);
-
- RETVALUE((*RgUiRgrBndCfmMt[pst->selector])(pst, suId, status));
-
-}
-/**
-* @brief Confirmation from MAC to RRM for the bind/Unbind
- * request for the interface saps via RGM interface
-*
-* @details
-*
-* Function : RgUiRgmBndCfm
-*
-* @param[in] Pst* pst
-* @param[in] SuId suId
-* @param[in] U8 status
-* @return S16
-* -# ROK
-**/
-#ifdef ANSI
-PUBLIC S16 RgUiRgmBndCfm
-(
-Pst* pst,
-SuId suId,
-U8 status
-)
-#else
-PUBLIC S16 RgUiRgmBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-U8 status;
-#endif
-{
-
- TRC3(RgUiRgmBndCfm);
-
- RETVALUE((*RgUiRgmBndCfmMt[pst->selector])(pst, suId, status));
-
-}
-
-
/* Added for sending TTI tick to RRM */
\f
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiRgrTtiInd
-(
-Pst* pst,
-SuId suId,
-RgrTtiIndInfo *ttiInd
-)
-#else
-PUBLIC S16 RgUiRgrTtiInd(pst, suId, ttiInd)
-Pst* pst;
-SuId suId;
-RgrTtiIndInfo *ttiInd;
-#endif
+S16 RgUiRgrTtiInd(Pst* pst,SuId suId,RgrTtiIndInfo *ttiInd)
{
- TRC3(RgUiRgrTtiInd);
-
- RETVALUE((*RgUiRgrTtiIndMt[pst->selector])(pst, suId, ttiInd));
+ return ((*RgUiRgrTtiIndMt[pst->selector])(pst, suId, ttiInd));
}
* @param[in] Pst* pst
* @param[in] SuId suId
* @param[in] RgrCfgTransId transId
-* @param[in] U8 status
+* @param[in] uint8_t status
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiRgrCfgCfm
-(
-Pst* pst,
-RgrCfgTransId transId,
-U8 status
-)
-#else
-PUBLIC S16 RgUiRgrCfgCfm(pst, transId, status)
-Pst* pst;
-RgrCfgTransId transId;
-U8 status;
-#endif
+S16 RgUiRgrCfgCfm(Pst* pst,RgrCfgTransId transId,uint8_t status)
{
- TRC3(RgUiRgrCfgCfm);
-
- RETVALUE((*RgUiRgrCfgCfmMt[pst->selector])(pst, transId, status));
+ return ((*RgUiRgrCfgCfmMt[pst->selector])(pst, transId, status));
}
*
* @param[in] Pst* pst
* @param[in] SuId suId
-* @param[in] U8 status
+* @param[in] uint8_t status
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiCrgBndCfm
-(
-Pst* pst,
-SuId suId,
-U8 status
-)
-#else
-PUBLIC S16 RgUiCrgBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-U8 status;
-#endif
+S16 RgUiCrgBndCfm(Pst* pst,SuId suId,uint8_t status)
{
- TRC3(RgUiCrgBndCfm);
-
- RETVALUE((*RgUiCrgBndCfmMt[pst->selector])(pst, suId, status));
+ return ((*RgUiCrgBndCfmMt[pst->selector])(pst, suId, status));
}
* @param[in] Pst* pst
* @param[in] SuId suId
* @param[in] CrgCfgTransId transId
-* @param[in] U8 status
+* @param[in] uint8_t status
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiCrgCfgCfm
-(
-Pst* pst,
-SuId suId,
-CrgCfgTransId transId,
-U8 status
-)
-#else
-PUBLIC S16 RgUiCrgCfgCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-CrgCfgTransId transId;
-U8 status;
-#endif
+S16 RgUiCrgCfgCfm(Pst* pst,SuId suId,CrgCfgTransId transId,uint8_t status)
{
- TRC3(RgUiCrgCfgCfm);
-
- RETVALUE((*RgUiCrgCfgCfmMt[pst->selector])(pst, suId, transId, status));
+ return ((*RgUiCrgCfgCfmMt[pst->selector])(pst, suId, transId, status));
}
*
* @param[in] Pst* pst
* @param[in] SuId suId
-* @param[in] U8 status
+* @param[in] uint8_t status
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiRguBndCfm
-(
-Pst* pst,
-SuId suId,
-U8 status
-)
-#else
-PUBLIC S16 RgUiRguBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-U8 status;
-#endif
+S16 RgUiRguBndCfm(Pst* pst,SuId suId,uint8_t status)
{
- TRC3(RgUiRguBndCfm);
-
- RETVALUE((*RgUiRguBndCfmMt[pst->selector])(pst, suId, status));
+ return ((*RgUiRguBndCfmMt[pst->selector])(pst, suId, status));
}
-PUBLIC int macDDatIndSnt;
-PUBLIC int macCDatIndSnt;
+int macDDatIndSnt;
+int macCDatIndSnt;
\f
/**
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiRguCDatInd
-(
-Pst* pst,
-SuId suId,
-RguCDatIndInfo * datInd
-)
-#else
-PUBLIC S16 RgUiRguCDatInd(pst, suId, datInd)
-Pst* pst;
-SuId suId;
-RguCDatIndInfo * datInd;
-#endif
+S16 RgUiRguCDatInd(Pst* pst,SuId suId,RguCDatIndInfo *datInd)
{
macCDatIndSnt++;
- TRC3(RgUiRguCDatInd);
-
- RETVALUE((*RgUiRguCDatIndMt[pst->selector])(pst, suId, datInd));
+ return ((*RgUiRguCDatIndMt[pst->selector])(pst, suId, datInd));
}
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiRguDDatInd
-(
-Pst* pst,
-SuId suId,
-RguDDatIndInfo * datInd
-)
-#else
-PUBLIC S16 RgUiRguDDatInd(pst, suId, datInd)
-Pst* pst;
-SuId suId;
-RguDDatIndInfo * datInd;
-#endif
+S16 RgUiRguDDatInd(Pst* pst,SuId suId,RguDDatIndInfo *datInd)
{
macDDatIndSnt++;
- TRC3(RgUiRguDDatInd);
-
#if defined(MAC_RLC_UL_RBUF) && !defined(SS_RBUF)
- RETVALUE(RgUiRguDDatIndRbuf(datInd));
+ return (RgUiRguDDatIndRbuf(datInd));
#else
- RETVALUE((*RgUiRguDDatIndMt[pst->selector])(pst, suId, datInd));
+ return ((*RgUiRguDDatIndMt[pst->selector])(pst, suId, datInd));
#endif
}
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiRguCStaInd
-(
-Pst* pst,
-SuId suId,
-RguCStaIndInfo * staInd
-)
-#else
-PUBLIC S16 RgUiRguCStaInd(pst, suId, staInd)
-Pst* pst;
-SuId suId;
-RguCStaIndInfo * staInd;
-#endif
+S16 RgUiRguCStaInd(Pst* pst,SuId suId,RguCStaIndInfo *staInd)
{
- TRC3(RgUiRguCStaInd);
-
- RETVALUE((*RgUiRguCStaIndMt[pst->selector])(pst, suId, staInd));
+ return ((*RgUiRguCStaIndMt[pst->selector])(pst, suId, staInd));
}
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiRguDStaInd
-(
-Pst* pst,
-SuId suId,
-RguDStaIndInfo * staInd
-)
-#else
-PUBLIC S16 RgUiRguDStaInd(pst, suId, staInd)
-Pst* pst;
-SuId suId;
-RguDStaIndInfo * staInd;
-#endif
+S16 RgUiRguDStaInd(Pst* pst,SuId suId,RguDStaIndInfo *staInd)
{
- TRC3(RgUiRguDStaInd);
-
- RETVALUE((*RgUiRguDStaIndMt[pst->selector])(pst, suId, staInd));
+ return ((*RgUiRguDStaIndMt[pst->selector])(pst, suId, staInd));
}
#ifdef LTE_L2_MEAS
/* TODO: Function header */
-#ifdef ANSI
-PUBLIC S16 RgUiRguHqStaInd
-(
-Pst* pst,
-SuId suId,
-RguHarqStatusInd *harqStatusInd
-)
-#else
-PUBLIC S16 RgUiRguHqStaInd(pst, suId, harqStatusInd)
-Pst* pst;
-SuId suId;
-RguHarqStatusInd *harqStatusInd;
-#endif
+S16 RgUiRguHqStaInd(Pst* pst,SuId suId,RguHarqStatusInd *harqStatusInd)
{
- TRC3(RgUiRguHqStaInd);
#if defined(SPLIT_RLC_DL_TASK) && defined(MAC_RLC_HARQ_STA_RBUF)
S16 ret=ROK;
ret = RgUiRguHqStaIndRbuf(pst,suId,harqStatusInd);
- RETVALUE(ret);
+ return (ret);
#else
- RETVALUE((*RgUiRguHqStaIndMt[pst->selector])(pst, suId, harqStatusInd));
+ return ((*RgUiRguHqStaIndMt[pst->selector])(pst, suId, harqStatusInd));
#endif
} /* RgUiRguHqStaInd */
#endif /* LTE_L2_MEAS */
-#ifdef ANSI
-PUBLIC S16 RgUiRguFlowCntrlInd
-(
-Pst* pst,
-SuId suId,
-RguFlowCntrlInd *flowCntrlInd
-)
-#else
-PUBLIC S16 RgUiRguFlowCntrlInd(pst, suId, harqStatusInd)
-Pst* pst;
-SuId suId;
-RguFlowCntrlInd *flowCntrlInd;
-#endif
+S16 RgUiRguFlowCntrlInd(Pst* pst,SuId suId,RguFlowCntrlInd *flowCntrlInd)
{
- RETVALUE((*RgUiRguFlowCntrlIndMt[pst->selector])(pst, suId, flowCntrlInd));
+ return ((*RgUiRguFlowCntrlIndMt[pst->selector])(pst, suId, flowCntrlInd));
}
/* Added for SI Enhancement*/
-#ifdef RGR_SI_SCH
-/**
-* @brief SI Configuration Confirm from MAC to RRM
-*
-* @details
-*
-* Function : RgUiRgrSiCfgCfm
-*
-* @param[in] Pst* pst
-* @param[in] SuId suId
-* @param[in] RgrCfgTransId transId
-* @param[in] U8 status
-* @return S16
-* -# ROK
-**/
-#ifdef ANSI
-PUBLIC S16 RgUiRgrSiCfgCfm
-(
-Pst* pst,
-SuId suId,
-RgrCfgTransId transId,
-U8 status
-)
-#else
-PUBLIC S16 RgUiRgrSiCfgCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-RgrCfgTransId transId;
-U8 status;
-#endif
-{
-
- TRC3(RgUiRgrSiCfgCfm);
-
- RETVALUE((*RgUiRgrSiCfgCfmMt[pst->selector])(pst, suId, transId, status));
-
-}
-
-/**
-* @brief Warning SI Configuration Confirm from MAC to RRM
-*
-* @details
-*
-* Function : RgUiRgrWarningSiCfgCfm
-*
-* @param[in] Pst* pst
-* @param[in] SuId suId
-* @param[in] RgrCfgTransId transId
-* @param[in] U8 siId
-* @param[in] U8 status
-* @return S16
-* -# ROK
-**/
-#ifdef ANSI
-PUBLIC S16 RgUiRgrWarningSiCfgCfm
-(
-Pst* pst,
-SuId suId,
-RgrCfgTransId transId,
-U8 siId,
-U8 status
-)
-#else
-PUBLIC S16 RgUiRgrWarningSiCfgCfm(pst, suId, transId, siId,status)
-Pst* pst;
-SuId suId;
-RgrCfgTransId transId;
-U8 siId;
-U8 status;
-#endif
-{
- TRC3(RgUiRgrWarningSiCfgCfm);
-
- RETVALUE((*RgUiRgrWarningSiCfgCfmMt[pst->selector])
- (pst, suId, transId, siId, status));
-}
-
-#endif/*RGR_SI_SCH*/
\f
/* ccpu00117452 - MOD - Changed macro name from
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiRgrStaInd
-(
-Pst* pst,
-SuId suId,
-RgrStaIndInfo *staInd
-)
-#else
-PUBLIC S16 RgUiRgrStaInd(pst, suId, staInd)
-Pst* pst;
-SuId suId;
-RgrStaIndInfo *staInd;
-#endif
+S16 RgUiRgrStaInd(Pst* pst,SuId suId,RgrStaIndInfo *staInd)
{
- TRC3(RgUiRgrStaInd);
-
- RETVALUE((*RgUiRgrStaIndMt[pst->selector])(pst, suId, staInd));
+ return ((*RgUiRgrStaIndMt[pst->selector])(pst, suId, staInd));
}
#endif /* End of RGR_CQI_REPT */
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiRgrLoadInfInd
-(
- Pst* pst,
- SuId suId,
- RgrLoadInfIndInfo *loadInfInd
- )
-#else
-PUBLIC S16 RgUiRgrLoadInfInd(pst, suId, loadInfInd)
- Pst* pst;
- SuId suId;
- RgrLoadInfIndInfo *loadInfInd;
-#endif
+S16 RgUiRgrLoadInfInd( Pst* pst, SuId suId,RgrLoadInfIndInfo *loadInfInd )
{
- TRC3(RgUiRgrLoadInfInd);
-
- RETVALUE((*RgUiRgrLoadInfIndMt[pst->selector])(pst, suId, loadInfInd));
+ return ((*RgUiRgrLoadInfIndMt[pst->selector])(pst, suId, loadInfInd));
}
/* LTE_ADV_FLAG_REMOVED_END */
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiRgrUeStaInd
-(
-Pst *pst,
-SuId suId,
-RgrUeStaIndInfo *ueStaInd
-)
-#else
-PUBLIC S16 RgUiRgrUeStaInd(pst, suId, ueStaInd)
-Pst *pst;
-SuId suId;
-RgrUeStaIndInfo *ueStaInd;
-#endif
+S16 RgUiRgrUeStaInd(Pst *pst,SuId suId,RgrUeStaIndInfo *ueStaInd)
{
- TRC3(RgUiRgrUeStaInd);
-
- RETVALUE((*RgUiRgrUeStaIndMt[pst->selector])(pst, suId, ueStaInd));
+ return ((*RgUiRgrUeStaIndMt[pst->selector])(pst, suId, ueStaInd));
}
#endif /*--ifdef RG--*/
*
* @param[in] Pst* pst
* @param[in] SuId suId
-* @param[in] U8 status
+* @param[in] uint8_t status
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiCrgBndCfm
-(
-Pst* pst,
-SuId suId,
-U8 status
-)
-#else
-PUBLIC S16 PtUiCrgBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-U8 status;
-#endif
+S16 PtUiCrgBndCfm(Pst* pst,SuId suId,uint8_t status)
{
- TRC3(PtUiCrgBndCfm);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(status);
- RETVALUE(ROK);
+ return ROK;
}
* @param[in] Pst* pst
* @param[in] SuId suId
* @param[in] CrgCfgTransId transId
-* @param[in] U8 status
+* @param[in] uint8_t status
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiCrgCfgCfm
-(
-Pst* pst,
-SuId suId,
-CrgCfgTransId transId,
-U8 status
-)
-#else
-PUBLIC S16 PtUiCrgCfgCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-CrgCfgTransId transId;
-U8 status;
-#endif
+S16 PtUiCrgCfgCfm(Pst* pst,SuId suId,CrgCfgTransId transId,uint8_t status)
{
- TRC3(PtUiCrgCfgCfm);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(transId);
UNUSED(status);
- RETVALUE(ROK);
+ return ROK;
}
#endif /*--ifdef PTRGUICRG--*/
*
* @param[in] Pst* pst
* @param[in] SuId suId
-* @param[in] U8 status
+* @param[in] uint8_t status
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiRguBndCfm
-(
-Pst* pst,
-SuId suId,
-U8 status
-)
-#else
-PUBLIC S16 PtUiRguBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-U8 status;
-#endif
+S16 PtUiRguBndCfm(Pst* pst,SuId suId,uint8_t status)
{
- TRC3(PtUiRguBndCfm);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(status);
- RETVALUE(ROK);
+ return ROK;
}
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiRguCDatInd
-(
-Pst* pst,
-SuId suId,
-RguCDatIndInfo * datInd
-)
-#else
-PUBLIC S16 PtUiRguCDatInd(pst, suId, datInd)
-Pst* pst;
-SuId suId;
-RguCDatIndInfo * datInd;
-#endif
+S16 PtUiRguCDatInd(Pst* pst,SuId suId,RguCDatIndInfo *datInd)
{
- TRC3(PtUiRguCDatInd);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(datInd);
- RETVALUE(ROK);
+ return ROK;
}
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiRguDDatInd
-(
-Pst* pst,
-SuId suId,
-RguDDatIndInfo * datInd
-)
-#else
-PUBLIC S16 PtUiRguDDatInd(pst, suId, datInd)
-Pst* pst;
-SuId suId;
-RguDDatIndInfo * datInd;
-#endif
+S16 PtUiRguDDatInd(Pst* pst,SuId suId,RguDDatIndInfo *datInd)
{
- TRC3(PtUiRguDDatInd);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(datInd);
- RETVALUE(ROK);
+ return ROK;
}
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiRguCStaInd
-(
-Pst* pst,
-SuId suId,
-RguCStaIndInfo * staInd
-)
-#else
-PUBLIC S16 PtUiRguCStaInd(pst, suId, staInd)
-Pst* pst;
-SuId suId;
-RguCStaIndInfo * staInd;
-#endif
+S16 PtUiRguCStaInd(Pst* pst,SuId suId,RguCStaIndInfo *staInd)
{
- TRC3(PtUiRguCStaInd);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(staInd);
- RETVALUE(ROK);
+ return ROK;
}
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiRguDStaInd
-(
-Pst* pst,
-SuId suId,
-RguDStaIndInfo * staInd
-)
-#else
-PUBLIC S16 PtUiRguDStaInd(pst, suId, staInd)
-Pst* pst;
-SuId suId;
-RguDStaIndInfo * staInd;
-#endif
+S16 PtUiRguDStaInd(Pst* pst,SuId suId,RguDStaIndInfo *staInd)
{
- TRC3(PtUiRguDStaInd);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(staInd);
- RETVALUE(ROK);
+ return ROK;
}
#ifdef LTE_L2_MEAS
/* TODO: Function Header */
-#ifdef ANSI
-PUBLIC S16 PtUiRguHqStaInd
-(
-Pst* pst,
-SuId suId,
-RguHarqStatusInd *harqStatusInd
-)
-#else
-PUBLIC S16 PtUiRguHqStaInd(pst, suId, harqStatusInd)
-Pst* pst;
-SuId suId;
-RguHarqStatusInd *harqStatusInd;
-#endif
+S16 PtUiRguHqStaInd(Pst* pst,SuId suId,RguHarqStatusInd *harqStatusInd)
{
- TRC3(PtUiRguHqStaInd);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(harqStatusInd);
- RETVALUE(ROK);
+ return ROK;
}
#endif /* LTE_L2_MEAS */
-#ifdef ANSI
-PUBLIC S16 PtUiRguFlowCntrlInd
-(
-Pst* pst,
-SuId suId,
-RguFlowCntrlInd *flowCntrlInd
-)
-#else
-PUBLIC S16 PtUiRguFlowCntrlInd(pst, suId, flowCntrlInd)
-Pst* pst;
-SuId suId;
-RguHarqStatusInd *flowCntrlInd;
-#endif
+S16 PtUiRguFlowCntrlInd(Pst* pst,SuId suId,RguFlowCntrlInd *flowCntrlInd)
{
- TRC3(PtUiRguFlowCntrlInd);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(flowCntrlInd);
- RETVALUE(ROK);
+ return ROK;
}
\f
*
* @param[in] Pst* pst
* @param[in] SuId suId
-* @param[in] U8 status
+* @param[in] uint8_t status
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiRgrBndCfm
-(
-Pst* pst,
-SuId suId,
-U8 status
-)
-#else
-PUBLIC S16 PtUiRgrBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-U8 status;
-#endif
+S16 PtUiRgrBndCfm(Pst* pst,SuId suId,uint8_t status)
{
- TRC3(PtUiRgrBndCfm);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(status);
- RETVALUE(ROK);
+ return ROK;
}
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiRgrTtiInd
-(
-Pst* pst,
-SuId suId,
-RgrTtiIndInfo *ttiInd
-)
-#else
-PUBLIC S16 PtUiRgrTtiInd(pst, suId, ttiInd)
-Pst* pst;
-SuId suId;
-RgrTtiIndInfo *ttiInd;
-#endif
+S16 PtUiRgrTtiInd(Pst* pst,SuId suId,RgrTtiIndInfo *ttiInd)
{
- TRC3(PtUiRgrTtiInd);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(ttiInd);
- RETVALUE(ROK);
+ return ROK;
}
* @param[in] Pst* pst
* @param[in] SuId suId
* @param[in] RgrCfgTransId transId
-* @param[in] U8 status
+* @param[in] uint8_t status
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiRgrCfgCfm
-(
-Pst* pst,
-SuId suId,
-RgrCfgTransId transId,
-U8 status
-)
-#else
-PUBLIC S16 PtUiRgrCfgCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-RgrCfgTransId transId;
-U8 status;
-#endif
+S16 PtUiRgrCfgCfm(Pst* pst,SuId suId,RgrCfgTransId transId,uint8_t status)
{
- TRC3(PtUiRgrCfgCfm);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(transId);
UNUSED(status);
- RETVALUE(ROK);
+ return ROK;
}
/* Added for SI Enhancement*/
-#ifdef RGR_SI_SCH
-/**
-* @brief SI Configuration Confirm from MAC to RRM
-*
-* @details
-*
-* Function : PtUiRgrSiCfgCfm
-*
-* @param[in] Pst* pst
-* @param[in] SuId suId
-* @param[in] RgrCfgTransId transId
-* @param[in] U8 status
-* @return S16
-* -# ROK
-**/
-#ifdef ANSI
-PUBLIC S16 PtUiRgrSiCfgCfm
-(
-Pst* pst,
-SuId suId,
-RgrCfgTransId transId,
-U8 status
-)
-#else
-PUBLIC S16 PtUiRgrSiCfgCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-RgrCfgTransId transId;
-U8 status;
-#endif
-{
-
- TRC3(PtUiRgrSiCfgCfm);
-
- UNUSED(pst);
- UNUSED(suId);
- UNUSED(transId);
- UNUSED(status);
-
- RETVALUE(ROK);
-
-}
-
-/**
-* @brief Warning SI Configuration Confirm from MAC to RRM
-*
-* @details
-*
-* Function : PtUiRgrWarningSiCfgCfm
-*
-* @param[in] Pst* pst
-* @param[in] SuId suId
-* @param[in] RgrCfgTransId transId
-* @param[in] U8 siId
-* @param[in] U8 status
-* @return S16
-* -# ROK
-**/
-#ifdef ANSI
-PUBLIC S16 PtUiRgrWarningSiCfgCfm
-(
-Pst* pst,
-SuId suId,
-RgrCfgTransId transId,
-U8 siId,
-U8 status
-)
-#else
-PUBLIC S16 PtUiRgrWarningSiCfgCfm(pst, suId, transId, siId, status)
-Pst* pst;
-SuId suId;
-RgrCfgTransId transId;
-U8 siId;
-U8 status;
-#endif
-{
- TRC3(PtUiRgrWarningSiCfgCfm);
-
- UNUSED(pst);
- UNUSED(suId);
- UNUSED(transId);
- UNUSED(siId);
- UNUSED(status);
-
- RETVALUE(ROK);
-}
-#endif/* RGR_SI_SCH */
-
\f
/* ccpu00117452 - MOD - Changed macro name from
RGR_RRM_DLPWR_CNTRL to RGR_CQI_REPT */
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiRgrStaInd
-(
-Pst* pst,
-SuId suId,
-RgrStaIndInfo *staInd
-)
-#else
-PUBLIC S16 PtUiRgrStaInd(pst, suId, staInd)
-Pst* pst;
-SuId suId;
-RgrStaIndInfo *staInd;
-#endif
+S16 PtUiRgrStaInd(Pst* pst,SuId suId,RgrStaIndInfo *staInd)
{
- TRC3(PtUiRgrStaInd);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(staInd);
- RETVALUE(ROK);
+ return ROK;
}
#endif /* End of RGR_CQI_REPT */
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiRgrLoadInfInd
-(
- Pst* pst,
- SuId suId,
- RgrLoadInfIndInfo *loadInfInd
- )
-#else
-PUBLIC S16 PtUiRgrLoadInfInd(pst, suId, loadInfInd)
- Pst* pst;
- SuId suId;
- RgrLoadInfIndInfo *loadInfInd;
-#endif
+S16 PtUiRgrLoadInfInd( Pst* pst, SuId suId, RgrLoadInfIndInfo *loadInfInd )
{
- TRC3(PtUiRgrLoadInfInd);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(loadInfInd);
- RETVALUE(ROK);
+ return ROK;
}
/* LTE_ADV_FLAG_REMOVED_END */
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiRgrUeStaInd
-(
-Pst* pst,
-SuId suId,
-RgrUeStaIndInfo *ueStaInd
-)
-#else
-PUBLIC S16 PtUiRgrUeStaInd(pst, suId, ueStaInd)
-Pst* pst;
-SuId suId;
-RgrUeStaIndInfo *ueStaInd;
-#endif
+S16 PtUiRgrUeStaInd(Pst* pst,SuId suId,RgrUeStaIndInfo *ueStaInd)
{
- TRC3(PtUiRgrUeStaInd);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(ueStaInd);
- RETVALUE(ROK);
+ return ROK;
}
#endif /*--ifdef PTRGUIRGR--*/
#ifdef PTRGUIRGM
-/**
-* @brief Confirmation from MAC to RRM for the bind/Unbind
- * request for the interface saps via RGM interface
-*
-* @details
-*
-* Function : PtUiRgmBndCfm
-*
-* @param[in] Pst* pst
-* @param[in] SuId suId
-* @param[in] U8 status
-* @return S16
-* -# ROK
-**/
-#ifdef ANSI
-PUBLIC S16 PtUiRgmBndCfm
-(
-Pst* pst,
-SuId suId,
-U8 status
-)
-#else
-PUBLIC S16 PtUiRgmBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-U8 status;
-#endif
-{
-
- TRC3(PtUiRgmBndCfm);
-
- UNUSED(pst);
- UNUSED(suId);
- UNUSED(status);
-
- RETVALUE(ROK);
-
-}
/**
* @brief Average PRB indication from MAC to RRM
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiRgmPrbRprtInd
-(
-Pst* pst,
-SuId suId,
-RgmPrbRprtInd *prbRprtInd
-)
-#else
-PUBLIC S16 PtUiRgmPrbRprtInd(pst, suId, prbRprtInd)
-Pst* pst;
-SuId suId;
-RgmPrbRprtInd *prbRprtInd;
-#endif
+S16 PtUiRgmPrbRprtInd(Pst* pst,SuId suId,RgmPrbRprtInd *prbRprtInd)
{
- TRC3(PtUiRgmPrbRprtInd);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(prbRprtInd);
- RETVALUE(ROK);
+ return ROK;
}
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 PtUiRgmTransModeInd
-(
-Pst* pst,
-SuId suId,
-RgmTransModeInd *transModeInd
-)
-#else
-PUBLIC S16 PtUiRgmTransModeInd(pst, suId, transModeInd)
-Pst* pst;
-SuId suId;
-RgmTransModeInd *transModeInd;
-#endif
+S16 PtUiRgmTransModeInd(Pst* pst,SuId suId,RgmTransModeInd *transModeInd)
{
- TRC3(PtUiRgmTransModeInd);
-
UNUSED(pst);
UNUSED(suId);
UNUSED(transModeInd);
- RETVALUE(ROK);
+ return ROK;
}
#endif
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiRgmSendPrbRprtInd
-(
-Pst* pst,
-SuId suId,
-RgmPrbRprtInd *prbRprtInd
-)
-#else
-PUBLIC S16 RgUiRgmSendPrbRprtInd(pst, suId, prbRprtInd)
-Pst* pst;
-SuId suId;
-RgmPrbRprtInd *prbRprtInd;
-#endif
-
+S16 RgUiRgmSendPrbRprtInd(Pst* pst,SuId suId,RgmPrbRprtInd *prbRprtInd)
{
- TRC2(RgUiRgmSendPrbRprtInd);
- RETVALUE((*RgUiRgmSendPrbRprtIndMt[pst->selector])(pst, suId, prbRprtInd));
+ return ((*RgUiRgmSendPrbRprtIndMt[pst->selector])(pst, suId, prbRprtInd));
}
/**
* @return S16
* -# ROK
**/
-#ifdef ANSI
-PUBLIC S16 RgUiRgmChangeTransModeInd
-(
-Pst* pst,
-SuId suId,
-RgmTransModeInd *transModeInd
-)
-#else
-PUBLIC S16 RgUiRgmChangeTransModeInd(pst, suId, transModeInd)
-Pst* pst;
-SuId suId;
-RgmTransModeInd *transModeInd;
-#endif
-
+S16 RgUiRgmChangeTransModeInd(Pst* pst,SuId suId,RgmTransModeInd *transModeInd)
{
- TRC2(RgUiRgmChangeTransModeInd);
- RETVALUE((*RgUiRgmChangeTransModeIndMt[pst->selector])(pst, suId, transModeInd));
+ return ((*RgUiRgmChangeTransModeIndMt[pst->selector])(pst, suId, transModeInd));
}
#if defined(MAC_RLC_UL_RBUF) && !defined(SS_RBUF)
-PRIVATE S16 RgUiRguDDatIndRbuf(RguDDatIndInfo *datInd)
+static S16 RgUiRguDDatIndRbuf(RguDDatIndInfo *datInd)
{
S16 ret = ROK;
Void *elem = NULLP;
if (NULLP == elem)
{
SsRngInfoTbl[SS_RNG_BUF_ULMAC_TO_ULRLC].pktDrop++;
- U32 i,j;
+ uint32_t i,j;
for(i = 0; i< datInd->numLch; i++)
{
for(j = 0; j < datInd->lchData[i].pdu.numPdu; j++)
{
if(datInd->lchData[i].pdu.mBuf[j])
{
- SPutMsg(datInd->lchData[i].pdu.mBuf[j]);
+ ODU_PUT_MSG_BUF(datInd->lchData[i].pdu.mBuf[j]);
}
}
}
SRngIncrWIndx(SS_RNG_BUF_ULMAC_TO_ULRLC);
SsRngInfoTbl[SS_RNG_BUF_ULMAC_TO_ULRLC].pktRate++;
}
- RETVALUE(ret);
-}
-#endif
-#ifdef RLC_MAC_DAT_REQ_RBUF
-#ifdef ANSI
-PUBLIC S16 rgDlDatReqBatchProc
-(
-Void
-)
-#else
-PUBLIC S16 rgDlDatReqBatchProc()
-Void;
-#endif
-{
-/* Read from Ring Buffer and process PDCP packets */
-
- U8 rngBufDeqIndx = 0;
- PRIVATE Pst rgDDatRbfuPst ={1,1,ENTRG,0,ENTKW,1,PRIOR0,RTESPEC,EVTRGUDDATREQ,0,0,2,0};
- PRIVATE Pst rgCDatRbfuPst ={1,1,ENTRG,0,ENTKW,1,PRIOR0,RTESPEC,EVTRGUCDATREQ,0,0,2,0};
- Void *elmIndx = NULLP;
- RguInfoRingElem *datReqRing=NULLP;
- elmIndx = SRngGetRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC_DAT_REQ);
- while(NULLP != elmIndx)
- {
- datReqRing= (RguInfoRingElem *)elmIndx;
- SsRngInfoTbl[SS_RNG_BUF_DLRLC_TO_DLMAC_DAT_REQ].nPktProc++;;//Number of pkt processed in tti
- if(datReqRing->msg)
- {
- if(datReqRing->event == EVTRGUDDATREQ)
- {
- RgUiRguDDatReq(&rgDDatRbfuPst, datReqRing->spId, (RguDDatReqInfo *) datReqRing->msg);
- }
- else
- {
- // printf("CSHP:*** Received CDatReq in MAC Ring \n");
- RgUiRguCDatReq(&rgCDatRbfuPst, datReqRing->spId, (RguCDatReqInfo *) datReqRing->msg);
- }
- }
- else
- {
- printf(" Buf Pinter is NULL RBUF Read(%ld) write (%ld) \n",SsRngInfoTbl[SS_RNG_BUF_DLRLC_TO_DLMAC_DAT_REQ].r_addr->read,
- SsRngInfoTbl[SS_RNG_BUF_DLRLC_TO_DLMAC_DAT_REQ].r_addr->write);
- /* Due to the cache issue we are verifying the mbuf pointer again and sending it to rlc if avilable*/
- if(datReqRing->msg)
- {
- if(datReqRing->event == EVTRGUDDATREQ)
- RgUiRguDDatReq(&rgDDatRbfuPst, datReqRing->spId, (RguDDatReqInfo *) datReqRing->msg);
- else
- RgUiRguCDatReq(&rgCDatRbfuPst, datReqRing->spId, (RguCDatReqInfo *) datReqRing->msg);
- }else
- {
- printf(" still Buf Pinter is NULL RBUF Read(%ld) write (%ld) \n",SsRngInfoTbl[SS_RNG_BUF_DLRLC_TO_DLMAC_DAT_REQ].r_addr->read,
- SsRngInfoTbl[SS_RNG_BUF_DLRLC_TO_DLMAC_DAT_REQ].r_addr->write);
- }
- }
- datReqRing->msg=NULLP;
- SRngIncrRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC_DAT_REQ);
- datReqRing->event=0;
- elmIndx = NULLP;
- datReqRing= NULLP;
- rngBufDeqIndx++;
-
- if(rngBufDeqIndx >= SS_RNG_MAX_DLRLC_TO_DLMAC_DAT_REQ_DQ_CNT)
- break;
-
- if((elmIndx = SRngGetRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC_DAT_REQ)) == NULLP)
- break;
- }
-
- RETVALUE(ROK);
+ return (ret);
}
-#endif
-
-#ifdef RLC_MAC_STA_RSP_RBUF
-#ifdef ANSI
-PUBLIC S16 rgDlStaRspBatchProc
-(
-Void
-)
-#else
-PUBLIC S16 rgDlStaRspBatchProc()
-Void;
#endif
-{
-/* Read from Ring Buffer and process PDCP packets */
-
- U8 rngBufDeqIndx = 0;
- PRIVATE Pst rgDStaRbfuPst ={1,1,ENTRG,0,ENTKW,1,PRIOR0,RTESPEC,EVTRGUDSTARSP,0,0,2,0};
- PRIVATE Pst rgCStaRbfuPst ={1,1,ENTRG,0,ENTKW,1,PRIOR0,RTESPEC,EVTRGUCSTARSP,0,0,2,0};
- Void *elmIndx = NULLP;
- RguInfoRingElem *staRspRing=NULLP;
-
- elmIndx = SRngGetRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC);
- while(NULLP != elmIndx)
- {
- staRspRing= (RguInfoRingElem *)elmIndx;
- SsRngInfoTbl[SS_RNG_BUF_DLRLC_TO_DLMAC].nPktProc++;;//Number of pkt processed in tti
-
- if(staRspRing->msg!= NULLP)
- {
- if( staRspRing->event == EVTRGUDSTARSP)
- {
- RgUiRguDStaRsp(&rgDStaRbfuPst, staRspRing->spId, (RguDStaRspInfo *) staRspRing->msg);
- }
- else
- {
- RgUiRguCStaRsp(&rgCStaRbfuPst, staRspRing->spId, (RguCStaRspInfo *) staRspRing->msg);
- }
- }
- else
- {
- printf(" Buf Pinter is NULL RBUF Read(%ld) write (%ld) \n",SsRngInfoTbl[SS_RNG_BUF_DLRLC_TO_DLMAC].r_addr->read,
- SsRngInfoTbl[SS_RNG_BUF_DLRLC_TO_DLMAC].r_addr->write);
- /* Due to the cache issue we are verifying the mbuf pointer again and sending it to rlc if avilable*/
- if(staRspRing->msg!= NULLP)
- {
- if( staRspRing->event == EVTRGUDSTARSP)
- RgUiRguDStaRsp(&rgDStaRbfuPst, staRspRing->spId, (RguDStaRspInfo *) staRspRing->msg);
- else
- RgUiRguCStaRsp(&rgCStaRbfuPst, staRspRing->spId, (RguCStaRspInfo *) staRspRing->msg);
- }else
- {
- printf(" still Buf Pinter is NULL RBUF Read(%ld) write (%ld) \n",SsRngInfoTbl[SS_RNG_BUF_DLRLC_TO_DLMAC].r_addr->read,
- SsRngInfoTbl[SS_RNG_BUF_DLRLC_TO_DLMAC].r_addr->write);
- }
- }
- staRspRing->msg=NULLP;
- SRngIncrRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC);
- staRspRing->event =0;
- elmIndx = NULLP;
- staRspRing= NULLP;
-
- rngBufDeqIndx++;
- if(rngBufDeqIndx >= SS_RNG_MAX_DLRLC_TO_DLMAC_STA_RSP_DQ_CNT)
- break;
-
- if((elmIndx = SRngGetRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC)) == NULLP)
- break;
- }
-
- RETVALUE(ROK);
-}
-#endif
#ifdef LTE_L2_MEAS
#ifdef MAC_RLC_HARQ_STA_RBUF
-#ifdef ANSI
-PUBLIC S16 RgUiRguHqStaIndRbuf
-(
-Pst* pst,
-SuId suId,
-RguHarqStatusInd *harqStatusInd
-)
-#else
-PUBLIC S16 RgUiRguHqStaIndRbuf(pst, suId, harqStatusInd)
-Pst* pst;
-SuId suId;
-RguHarqStatusInd *harqStatusInd;
-#endif
+S16 RgUiRguHqStaIndRbuf (Pst* pst,SuId suId,RguHarqStatusInd *harqStatusInd)
{
S16 ret = ROK;
Void *elem = NULLP;
}
else
{
- cmMemcpy((U8 *)&(harqStaInd->hqStatusInd), (U8 *)harqStatusInd, sizeof(RguHarqStatusInd));
- cmMemcpy((U8 *)&(harqStaInd->pst), (U8 *)pst, sizeof(Pst));
+ memcpy(&(harqStaInd->hqStatusInd), harqStatusInd, sizeof(RguHarqStatusInd));
+ memcpy(&(harqStaInd->pst), pst, sizeof(Pst));
SRngIncrWIndx(SS_RNG_BUF_MAC_HARQ);
SsRngInfoTbl[SS_RNG_BUF_MAC_HARQ].pktRate++;
}
- RETVALUE(ret);
+ return (ret);
}
#endif
#endif