-/**
- * @brief Transmission time interval indication from PHY.
- *
- * @details
- *
- * Function : RgLiTfuTtiInd
- *
- * This API is invoked by PHY to indicate TTI indication to MAC for a cell.
- *
- * @param[in] Pst *pst
- * @param[in] SuId suId
- * @param[in] TfuTtiIndInfo *ttiInd
- * @return S16
- * -# ROK
- * -# RFAILED
- **/
-#ifdef ANSI
-PUBLIC S16 RgLiTfuTtiInd
-(
-Pst *pst,
-SuId suId,
-TfuTtiIndInfo *ttiInd
-)
-#else
-PUBLIC S16 RgLiTfuTtiInd(pst, suId, ttiInd)
-Pst *pst;
-SuId suId;
-TfuTtiIndInfo *ttiInd;
-#endif
-{
- S16 ret;
- VOLATILE U32 startTime=0;
- Inst inst;
-
- TRC3(RgLiTfuTtiInd);
-
- RG_IS_INST_VALID(pst->dstInst);
- inst = pst->dstInst - RG_INST_START;
- /*starting Task*/
- SStartTask(&startTime, PID_MAC_TTI_IND);
-
-#ifdef NO_ERRCLS
- if ((ret = rgLIMValidateSap (pst->dstInst - RG_INST_START,suId)) != ROK)
- {
- RLOG_ARG0(L_ERROR,DBG_CELLID,ttiInd->cells[0].cellId,"SAP Validation failed");
- RETVALUE(ret);
- }
-#endif
-
- /* Now call the TOM (Tfu ownership module) primitive to process further */
- ret = rgTOMTtiInd(inst,ttiInd);
-
-
- /*stoping Task*/
- SStopTask(startTime, PID_MAC_TTI_IND);
-
- RETVALUE(ret);
-} /* RgLiTfuTtiInd */
-