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 */
#endif
#ifdef NX
NxLiRgrCfgCfm,
-#else
- PtUiRgrCfgCfm,
#endif
};
PRIVATE CONSTANT RguCDatInd RgUiRguCDatIndMt[RG_MAX_RGU_USR] =
{
#ifdef LCRGUIRGU
-// cmPkRguCDatInd, /* Call packRcvdUlData instead */
+// cmPkRguCDatInd, /* TODO : Call packRcvdUlData instead */
#else
PtUiRguCDatInd,
#endif
PtUiRguCDatInd,
#endif
#ifdef LWLCRGUIRGU
-// cmPkRguCDatInd, /* Call packRcvdUlData instead */
+// cmPkRguCDatInd, /* TODO:Call packRcvdUlData instead */
#else
PtUiRguCDatInd,
#endif
PRIVATE CONSTANT RguDDatInd RgUiRguDDatIndMt[RG_MAX_RGU_USR] =
{
#ifdef LCRGUIRGU
-// cmPkRguDDatInd, /* Call packRcvdUlData instead */
+// cmPkRguDDatInd, /* TODO: Call packRcvdUlData instead */
#else
PtUiRguDDatInd,
#endif
PtUiRguDDatInd,
#endif
#ifdef LWLCRGUIRGU
-// cmPkRguDDatInd, /* Call packRcvdUlData instead */
+// cmPkRguDDatInd, /* TODO: Call packRcvdUlData instead */
#else
PtUiRguDDatInd,
#endif
PRIVATE CONSTANT 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
PRIVATE CONSTANT 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
TRC3(RgUiRgrBndCfm);
- RETVALUE((*RgUiRgrBndCfmMt[pst->selector])(pst, suId, status));
+ return ((*RgUiRgrBndCfmMt[pst->selector])(pst, suId, status));
}
/**
TRC3(RgUiRgmBndCfm);
- RETVALUE((*RgUiRgmBndCfmMt[pst->selector])(pst, suId, status));
+ return ((*RgUiRgmBndCfmMt[pst->selector])(pst, suId, status));
}
TRC3(RgUiRgrTtiInd);
- RETVALUE((*RgUiRgrTtiIndMt[pst->selector])(pst, suId, ttiInd));
+ return ((*RgUiRgrTtiIndMt[pst->selector])(pst, suId, ttiInd));
}
TRC3(RgUiRgrCfgCfm);
- RETVALUE((*RgUiRgrCfgCfmMt[pst->selector])(pst, transId, status));
+ return ((*RgUiRgrCfgCfmMt[pst->selector])(pst, transId, status));
}
TRC3(RgUiCrgBndCfm);
- RETVALUE((*RgUiCrgBndCfmMt[pst->selector])(pst, suId, status));
+ return ((*RgUiCrgBndCfmMt[pst->selector])(pst, suId, status));
}
TRC3(RgUiCrgCfgCfm);
- RETVALUE((*RgUiCrgCfgCfmMt[pst->selector])(pst, suId, transId, status));
+ return ((*RgUiCrgCfgCfmMt[pst->selector])(pst, suId, transId, status));
}
TRC3(RgUiRguBndCfm);
- RETVALUE((*RgUiRguBndCfmMt[pst->selector])(pst, suId, status));
+ return ((*RgUiRguBndCfmMt[pst->selector])(pst, suId, status));
}
TRC3(RgUiRguCDatInd);
- RETVALUE((*RgUiRguCDatIndMt[pst->selector])(pst, suId, datInd));
+ return ((*RgUiRguCDatIndMt[pst->selector])(pst, suId, datInd));
}
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
}
TRC3(RgUiRguCStaInd);
- RETVALUE((*RgUiRguCStaIndMt[pst->selector])(pst, suId, staInd));
+ return ((*RgUiRguCStaIndMt[pst->selector])(pst, suId, staInd));
}
TRC3(RgUiRguDStaInd);
- RETVALUE((*RgUiRguDStaIndMt[pst->selector])(pst, suId, staInd));
+ return ((*RgUiRguDStaIndMt[pst->selector])(pst, suId, staInd));
}
#ifdef LTE_L2_MEAS
#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 */
RguFlowCntrlInd *flowCntrlInd;
#endif
{
- RETVALUE((*RgUiRguFlowCntrlIndMt[pst->selector])(pst, suId, flowCntrlInd));
+ return ((*RgUiRguFlowCntrlIndMt[pst->selector])(pst, suId, flowCntrlInd));
}
/* Added for SI Enhancement*/
#ifdef RGR_SI_SCH
TRC3(RgUiRgrSiCfgCfm);
- RETVALUE((*RgUiRgrSiCfgCfmMt[pst->selector])(pst, suId, transId, status));
+ return ((*RgUiRgrSiCfgCfmMt[pst->selector])(pst, suId, transId, status));
}
{
TRC3(RgUiRgrWarningSiCfgCfm);
- RETVALUE((*RgUiRgrWarningSiCfgCfmMt[pst->selector])
+ return ((*RgUiRgrWarningSiCfgCfmMt[pst->selector])
(pst, suId, transId, siId, status));
}
TRC3(RgUiRgrStaInd);
- RETVALUE((*RgUiRgrStaIndMt[pst->selector])(pst, suId, staInd));
+ return ((*RgUiRgrStaIndMt[pst->selector])(pst, suId, staInd));
}
#endif /* End of RGR_CQI_REPT */
TRC3(RgUiRgrLoadInfInd);
- RETVALUE((*RgUiRgrLoadInfIndMt[pst->selector])(pst, suId, loadInfInd));
+ return ((*RgUiRgrLoadInfIndMt[pst->selector])(pst, suId, loadInfInd));
}
/* LTE_ADV_FLAG_REMOVED_END */
TRC3(RgUiRgrUeStaInd);
- RETVALUE((*RgUiRgrUeStaIndMt[pst->selector])(pst, suId, ueStaInd));
+ return ((*RgUiRgrUeStaIndMt[pst->selector])(pst, suId, ueStaInd));
}
#endif /*--ifdef RG--*/
UNUSED(suId);
UNUSED(status);
- RETVALUE(ROK);
+ return ROK;
}
UNUSED(transId);
UNUSED(status);
- RETVALUE(ROK);
+ return ROK;
}
#endif /*--ifdef PTRGUICRG--*/
UNUSED(suId);
UNUSED(status);
- RETVALUE(ROK);
+ return ROK;
}
UNUSED(suId);
UNUSED(datInd);
- RETVALUE(ROK);
+ return ROK;
}
UNUSED(suId);
UNUSED(datInd);
- RETVALUE(ROK);
+ return ROK;
}
UNUSED(suId);
UNUSED(staInd);
- RETVALUE(ROK);
+ return ROK;
}
UNUSED(suId);
UNUSED(staInd);
- RETVALUE(ROK);
+ return ROK;
}
#ifdef LTE_L2_MEAS
UNUSED(suId);
UNUSED(harqStatusInd);
- RETVALUE(ROK);
+ return ROK;
}
#endif /* LTE_L2_MEAS */
UNUSED(suId);
UNUSED(flowCntrlInd);
- RETVALUE(ROK);
+ return ROK;
}
\f
UNUSED(suId);
UNUSED(status);
- RETVALUE(ROK);
+ return ROK;
}
UNUSED(suId);
UNUSED(ttiInd);
- RETVALUE(ROK);
+ return ROK;
}
UNUSED(transId);
UNUSED(status);
- RETVALUE(ROK);
+ return ROK;
}
UNUSED(transId);
UNUSED(status);
- RETVALUE(ROK);
+ return ROK;
}
UNUSED(siId);
UNUSED(status);
- RETVALUE(ROK);
+ return ROK;
}
#endif/* RGR_SI_SCH */
UNUSED(suId);
UNUSED(staInd);
- RETVALUE(ROK);
+ return ROK;
}
#endif /* End of RGR_CQI_REPT */
UNUSED(suId);
UNUSED(loadInfInd);
- RETVALUE(ROK);
+ return ROK;
}
/* LTE_ADV_FLAG_REMOVED_END */
UNUSED(suId);
UNUSED(ueStaInd);
- RETVALUE(ROK);
+ return ROK;
}
#endif /*--ifdef PTRGUIRGR--*/
UNUSED(suId);
UNUSED(status);
- RETVALUE(ROK);
+ return ROK;
}
UNUSED(suId);
UNUSED(prbRprtInd);
- RETVALUE(ROK);
+ return ROK;
}
UNUSED(suId);
UNUSED(transModeInd);
- RETVALUE(ROK);
+ return ROK;
}
#endif
{
TRC2(RgUiRgmSendPrbRprtInd);
- RETVALUE((*RgUiRgmSendPrbRprtIndMt[pst->selector])(pst, suId, prbRprtInd));
+ return ((*RgUiRgmSendPrbRprtIndMt[pst->selector])(pst, suId, prbRprtInd));
}
/**
{
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)
SRngIncrWIndx(SS_RNG_BUF_ULMAC_TO_ULRLC);
SsRngInfoTbl[SS_RNG_BUF_ULMAC_TO_ULRLC].pktRate++;
}
- RETVALUE(ret);
+ return (ret);
}
#endif
#ifdef RLC_MAC_DAT_REQ_RBUF
break;
}
- RETVALUE(ROK);
+ return ROK;
}
#endif
break;
}
- RETVALUE(ROK);
+ return ROK;
}
#endif
#ifdef LTE_L2_MEAS
SRngIncrWIndx(SS_RNG_BUF_MAC_HARQ);
SsRngInfoTbl[SS_RNG_BUF_MAC_HARQ].pktRate++;
}
- RETVALUE(ret);
+ return (ret);
}
#endif
#endif