* @param spId SAP ID of the service provider.
* @return ROK/RFAILED
*/
-EXTERN S16 PtLiTfuBndReq ARGS((Pst * pst, SuId suId, SpId spId));
+S16 PtLiTfuBndReq ARGS((Pst * pst, SuId suId, SpId spId));
/** @brief This API is used to send a Bind Request from Scheduler to PHY.
* @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
*/
-EXTERN S16 PtLiTfuSchBndReq ARGS((Pst * pst, SuId suId, SpId spId));
+S16 PtLiTfuSchBndReq ARGS((Pst * pst, SuId suId, SpId spId));
/** @brief This API is used to send an Unbind Request from MAC to PHY.
* @param pst Pointer to the post structure.
* @param suId SAP ID of the service provider.
* @param reason Reason for Unbind request.
* @return ROK/RFAILED
*/
-EXTERN S16 PtLiTfuUbndReq ARGS((Pst * pst, SpId spId, Reason reason));
+S16 PtLiTfuUbndReq ARGS((Pst * pst, SpId spId, Reason reason));
/** @brief This API is used to send an Unbind Request from Scheduler to PHY.
* @param pst Pointer to the post structure.
* @param suId SAP ID of the service provider.
* @param reason Reason for Unbind request.
* @return ROK/RFAILED
*/
-EXTERN S16 PtLiTfuSchUbndReq ARGS((Pst * pst, SpId spId, Reason reason));
+S16 PtLiTfuSchUbndReq ARGS((Pst * pst, SpId spId, Reason reason));
/** @brief This primitive is sent from Scheduler to PHY.
* @details This primitive provides PHY with all the information required by
* PHY to decode transmissions from the UE on either PUCCH or PUSCH.
* @param recpReq Pointer to the TfuRecpReqInfo structure.
* @return ROK/RFAILED
*/
-EXTERN S16 PtLiTfuRecpReq ARGS((Pst * pst, SpId spId, TfuRecpReqInfo * recpReq));
+S16 PtLiTfuRecpReq ARGS((Pst * pst, SpId spId, TfuRecpReqInfo * recpReq));
/** @brief This Primitive is sent from Scheduler to PHY. It provides PHY with
* all the control information
* @details This primitive carries the information sent on the following
* @param cntrlReq pointer to TfuCntrlReqInfo
* @return ROK/RFAILED
*/
-EXTERN S16 PtLiTfuCntrlReq ARGS((Pst * pst, SpId spId, TfuCntrlReqInfo * cntrlReq));
+S16 PtLiTfuCntrlReq ARGS((Pst * pst, SpId spId, TfuCntrlReqInfo * cntrlReq));
/** @brief This Primitive carries the Data PDUs from MAC to PHY for
* transmission.
* @details The data being sent in this primitive is meant to be transmitted on
* @param tfuDatReq pointer to TfuDatReqInfo
* @return
*/
-EXTERN S16 PtLiTfuDatReq ARGS((Pst * pst, SpId spId, TfuDatReqInfo * datReq));
+S16 PtLiTfuDatReq ARGS((Pst * pst, SpId spId, TfuDatReqInfo * datReq));
#ifdef L2_OPTMZ
/** @brief This Primitive carries cellId and UeId for which datReq need to be deleted.
* @details This primitive is used to send delDatReq to CL to delete the PDUs of
* @param tfuDelDatReq pointer to TfuDelDatReqInfo
* @return
*/
-EXTERN S16 PtLiTfuDelDatReq ARGS((Pst * pst, SpId spId, TfuDelDatReqInfo * datReq));
+S16 PtLiTfuDelDatReq ARGS((Pst * pst, SpId spId, TfuDelDatReqInfo * datReq));
#endif /*L2_OPTMZ*/
#endif /*--#ifdef PTRGLITFU--*/
-/** @brief This API is used to send a Bind Request from MAC to PHY.
- * @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
- */
-PRIVATE CONSTANT TfuBndReq RgLiTfuBndReqMt[RG_MAX_TFU_PROV] =
-{
-#ifdef LCRGLITFU
- cmPkTfuBndReq,
-#else
- PtLiTfuBndReq,
-#endif
-#ifdef TF
- TfUiTfuBndReq,
-#else
- PtLiTfuBndReq,
-#endif
-#ifdef LWLCRGLITFU
- cmPkTfuBndReq
-#else
- PtLiTfuBndReq
-#endif
-};
-
-/** @brief This API is used to send a Bind Request from Scheduler to PHY.
- * @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
- */
-PRIVATE CONSTANT TfuSchBndReq RgLiTfuSchBndReqMt[RG_MAX_TFU_PROV] =
-{
-#ifdef LCRGLITFU
- cmPkTfuSchBndReq,
-#else
- PtLiTfuSchBndReq,
-#endif
-#ifdef TF
- TfUiTfuSchBndReq,
-#else
- PtLiTfuSchBndReq,
-#endif
-#ifdef LWLCRGLITFU
- cmPkTfuSchBndReq
-#else
- PtLiTfuSchBndReq
-#endif
-};
-
-/** @brief This API is used to send an Unbind Request from MAC to PHY.
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service provider.
- * @param reason Reason for Unbind request.
- * @return ROK/RFAILED
- */
-PRIVATE CONSTANT TfuUbndReq RgLiTfuUbndReqMt[RG_MAX_TFU_PROV] =
-{
-#ifdef LCRGLITFU
- cmPkTfuUbndReq,
-#else
- PtLiTfuUbndReq,
-#endif
-#ifdef TF
- TfUiTfuUbndReq,
-#else
- PtLiTfuUbndReq,
-#endif
-#ifdef LWLCRGLITFU
- cmPkTfuUbndReq
-#else
- PtLiTfuUbndReq
-#endif
-};
-
-/** @brief This API is used to send an Unbind Request from Scheduler to PHY.
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service provider.
- * @param reason Reason for Unbind request.
- * @return ROK/RFAILED
- */
-PRIVATE CONSTANT TfuSchUbndReq RgLiTfuSchUbndReqMt[RG_MAX_TFU_PROV] =
-{
-#ifdef LCRGLITFU
- cmPkTfuSchUbndReq,
-#else
- PtLiTfuSchUbndReq,
-#endif
-#ifdef TF
- TfUiTfuSchUbndReq,
-#else
- PtLiTfuSchUbndReq,
-#endif
-#ifdef LWLCRGLITFU
- cmPkTfuSchUbndReq
-#else
- PtLiTfuSchUbndReq
-#endif
-};
-
-/** @brief This primitive is sent from Scheduler to PHY.
- * @details This primitive provides PHY with all the information required by
- * PHY to decode transmissions from the UE on either PUCCH or PUSCH.
- * -# On PUCCH UE can transmit the following
- * -# SR
- * -# HARQ feedback
- * -# CQI report
- * -# HARQ + CQI
- * -# HARQ + SR
- * -# On PUSCH UE can transmit the following
- * -# Data
- * -# Data + CQI
- * -# Data + HARQ Feedback
- * This primitive carries all the information for the expected subframe for all
- * the UEs that have been scheduled to transmit.
- * @param pst Pointer to the post structure.
- * @param spId SAP ID of the service provider.
- * @param recpReq Pointer to the TfuRecpReqInfo structure.
- * @return ROK/RFAILED
- */
-PRIVATE CONSTANT TfuRecpReq RgLiTfuRecpReqMt[RG_MAX_TFU_PROV] =
-{
-#ifdef LCRGLITFU
- cmPkTfuRecpReq,
-#else
- PtLiTfuRecpReq,
-#endif
-#ifdef TF
- TfUiTfuRecpReq,
-#else
- PtLiTfuRecpReq,
-#endif
-#ifdef LWLCRGLITFU
- cmPkTfuRecpReq
-#else
- PtLiTfuRecpReq
-#endif
-};
-
-/** @brief This Primitive is sent from Scheduler to PHY. It provides PHY with
- * all the control information
- * @details This primitive carries the information sent on the following
- * channels -
- * -# PDCCH
- * -# PHICH
- * -# PCFICH
- *
- * @param pst
- * @param spId
- * @param cntrlReq pointer to TfuCntrlReqInfo
- * @return ROK/RFAILED
- */
-PRIVATE CONSTANT TfuCntrlReq RgLiTfuCntrlReqMt[RG_MAX_TFU_PROV] =
-{
-#ifdef LCRGLITFU
- cmPkTfuCntrlReq,
-#else
- PtLiTfuCntrlReq,
-#endif
-#ifdef TF
- TfUiTfuCntrlReq,
-#else
- PtLiTfuCntrlReq,
-#endif
-#ifdef LWLCRGLITFU
- cmPkTfuCntrlReq
-#else
- PtLiTfuCntrlReq
-#endif
-};
-
-/** @brief This Primitive carries the Data PDUs from MAC to PHY for
- * transmission.
- * @details The data being sent in this primitive is meant to be transmitted on
- * the downlink channel PDSCH and PBCH (if present). To facilitate physical
- * layer processing, requisite control information is also sent along with the
- * data.
- * @sa TfUiTfuCntrlReq
- * @param pst
- * @param spId
- * @param tfuDatReq pointer to TfuDatReqInfo
- * @return
- */
-PRIVATE CONSTANT TfuDatReq RgLiTfuDatReqMt[RG_MAX_TFU_PROV] =
-{
-#ifdef LCRGLITFU
- cmPkTfuDatReq,
-#else
- PtLiTfuDatReq,
-#endif
-#ifdef TF
- TfUiTfuDatReq,
-#else
- PtLiTfuDatReq,
-#endif
-#ifdef LWLCRGLITFU
- cmPkTfuDatReq
-#else
- PtLiTfuDatReq
-#endif
-};
-
#ifdef L2_OPTMZ
/** @brief This Primitive carries cellId and UeId for which datReq need to be deleted.
* @details This primitive is used to send delDatReq to CL to delete the PDUs of
* @param tfuDelDatReq pointer to TfuDelDatReqInfo
* @return
*/
-PRIVATE CONSTANT TfuDelDatReq RgLiTfuDelDatReqMt[RG_MAX_TFU_PROV] =
+static const TfuDelDatReq RgLiTfuDelDatReqMt[RG_MAX_TFU_PROV] =
{
#ifdef LCRGLITFU
PtLiTfuDelDatReq, /*calling dummy api as LC not required for this privitive*/
#ifdef RG
-\f
-/***********************************************************
-*
-* Func : RgLiTfuBndReq
-*
-*
-* Desc : This API is used to send a Bind Request from MAC to PHY.
- * @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
-*
-*
-* Ret : S16
-*
-* Notes:
-*
-* File :
-*
-**********************************************************/
-#ifdef ANSI
-S16 RgLiTfuBndReq
-(
-Pst * pst,
-SuId suId,
-SpId spId
-)
-#else
-S16 RgLiTfuBndReq(pst, suId, spId)
-Pst * pst;
-SuId suId;
-SpId spId;
-#endif
-{
-
- return ((*RgLiTfuBndReqMt[pst->selector])(pst, suId, spId));
-
-}
-
-
-\f
-/***********************************************************
-*
-* Func : RgLiTfuSchBndReq
-*
-*
-* Desc : This API is used to send a Bind Request from Scheduler to PHY.
- * @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
-*
-*
-* Ret : S16
-*
-* Notes:
-*
-* File :
-*
-**********************************************************/
-#ifdef ANSI
-S16 RgLiTfuSchBndReq
-(
-Pst * pst,
-SuId suId,
-SpId spId
-)
-#else
-S16 RgLiTfuSchBndReq(pst, suId, spId)
-Pst * pst;
-SuId suId;
-SpId spId;
-#endif
-{
-
- return ((*RgLiTfuSchBndReqMt[pst->selector])(pst, suId, spId));
-
-}
-
-
-\f
-/***********************************************************
-*
-* Func : RgLiTfuUbndReq
-*
-*
-* Desc : This API is used to send an Unbind Request from MAC to PHY.
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service provider.
- * @param reason Reason for Unbind request.
- * @return ROK/RFAILED
-*
-*
-* Ret : S16
-*
-* Notes:
-*
-* File :
-*
-**********************************************************/
-#ifdef ANSI
-S16 RgLiTfuUbndReq
-(
-Pst * pst,
-SpId spId,
-Reason reason
-)
-#else
-S16 RgLiTfuUbndReq(pst, spId, reason)
-Pst * pst;
-SpId spId;
-Reason reason;
-#endif
-{
-
- return ((*RgLiTfuUbndReqMt[pst->selector])(pst, spId, reason));
-
-}
-
-
-\f
-/***********************************************************
-*
-* Func : RgLiTfuSchUbndReq
-*
-*
-* Desc : This API is used to send an Unbind Request from Scheduler to PHY.
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service provider.
- * @param reason Reason for Unbind request.
- * @return ROK/RFAILED
-*
-*
-* Ret : S16
-*
-* Notes:
-*
-* File :
-*
-**********************************************************/
-#ifdef ANSI
-S16 RgLiTfuSchUbndReq
-(
-Pst * pst,
-SpId spId,
-Reason reason
-)
-#else
-S16 RgLiTfuSchUbndReq(pst, spId, reason)
-Pst * pst;
-SpId spId;
-Reason reason;
-#endif
-{
-
- return ((*RgLiTfuSchUbndReqMt[pst->selector])(pst, spId, reason));
-
-}
-
-
-\f
-/***********************************************************
-*
-* Func : RgLiTfuRecpReq
-*
-*
-* Desc : This primitive is sent from Scheduler to PHY.
- * @details This primitive provides PHY with all the information required by
- * PHY to decode transmissions from the UE on either PUCCH or PUSCH.
- * -# On PUCCH UE can transmit the following
- * -# SR
- * -# HARQ feedback
- * -# CQI report
- * -# HARQ + CQI
- * -# HARQ + SR
- * -# On PUSCH UE can transmit the following
- * -# Data
- * -# Data + CQI
- * -# Data + HARQ Feedback
- * This primitive carries all the information for the expected subframe for all
- * the UEs that have been scheduled to transmit.
- * @param pst Pointer to the post structure.
- * @param spId SAP ID of the service provider.
- * @param recpReq Pointer to the TfuRecpReqInfo structure.
- * @return ROK/RFAILED
-*
-*
-* Ret : S16
-*
-* Notes:
-*
-* File :
-*
-**********************************************************/
-#ifdef ANSI
-S16 RgLiTfuRecpReq
-(
-Pst * pst,
-SpId spId,
-TfuRecpReqInfo * recpReq
-)
-#else
-S16 RgLiTfuRecpReq(pst, spId, recpReq)
-Pst * pst;
-SpId spId;
-TfuRecpReqInfo * recpReq;
-#endif
-{
-
- return ((*RgLiTfuRecpReqMt[pst->selector])(pst, spId, recpReq));
-
-}
-
-
-\f
-/***********************************************************
-*
-* Func : RgLiTfuCntrlReq
-*
-*
-* Desc : This Primitive is sent from Scheduler to PHY. It provides PHY with
- * all the control information
- * @details This primitive carries the information sent on the following
- * channels -
- * -# PDCCH
- * -# PHICH
- * -# PCFICH
- *
- * @param pst
- * @param spId
- * @param cntrlReq pointer to TfuCntrlReqInfo
- * @return ROK/RFAILED
-*
-*
-* Ret : S16
-*
-* Notes:
-*
-* File :
-*
-**********************************************************/
-#ifdef ANSI
-S16 RgLiTfuCntrlReq
-(
-Pst * pst,
-SpId spId,
-TfuCntrlReqInfo * cntrlReq
-)
-#else
-S16 RgLiTfuCntrlReq(pst, spId, cntrlReq)
-Pst * pst;
-SpId spId;
-TfuCntrlReqInfo * cntrlReq;
-#endif
-{
-
- return ((*RgLiTfuCntrlReqMt[pst->selector])(pst, spId, cntrlReq));
-
-}
-
-
-\f
-/***********************************************************
-*
-* Func : RgLiTfuDatReq
-*
-*
-* Desc : This Primitive carries the Data PDUs from MAC to PHY for
- * transmission.
- * @details The data being sent in this primitive is meant to be transmitted on
- * the downlink channel PDSCH and PBCH (if present). To facilitate physical
- * layer processing, requisite control information is also sent along with the
- * data.
- * @sa TfUiTfuCntrlReq
- * @param pst
- * @param spId
- * @param tfuDatReq pointer to TfuDatReqInfo
- * @return
-*
-*
-* Ret : S16
-*
-* Notes:
-*
-* File :
-*
-**********************************************************/
-#ifdef ANSI
-S16 RgLiTfuDatReq
-(
-Pst * pst,
-SpId spId,
-TfuDatReqInfo * datReq
-)
-#else
-S16 RgLiTfuDatReq(pst, spId, datReq)
-Pst * pst;
-SpId spId;
-TfuDatReqInfo * datReq;
-#endif
-{
-
- return ((*RgLiTfuDatReqMt[pst->selector])(pst, spId, datReq));
-
-}
-
#ifdef L2_OPTMZ
\f
/***********************************************************
* File :
*
**********************************************************/
-#ifdef ANSI
S16 RgLiTfuDelDatReq
(
Pst * pst,
SpId spId,
TfuDelDatReqInfo * delDatReq
)
-#else
-S16 RgLiTfuDelDatReq(pst, spId, delDatReq)
-Pst * pst;
-SpId spId;
-TfuDelDatReqInfo * delDatReq;
-#endif
{
return ((*RgLiTfuDelDatReqMt[pst->selector])(pst, spId, delDatReq));
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuBndReq
(
Pst * pst,
SuId suId,
SpId spId
)
-#else
-S16 PtLiTfuBndReq(pst, suId, spId)
-Pst * pst;
-SuId suId;
-SpId spId;
-#endif
{
-
UNUSED(pst);
UNUSED(suId);
UNUSED(spId);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuSchBndReq
(
Pst * pst,
SuId suId,
SpId spId
)
-#else
-S16 PtLiTfuSchBndReq(pst, suId, spId)
-Pst * pst;
-SuId suId;
-SpId spId;
-#endif
{
UNUSED(pst);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuUbndReq
(
Pst * pst,
SpId spId,
Reason reason
)
-#else
-S16 PtLiTfuUbndReq(pst, spId, reason)
-Pst * pst;
-SpId spId;
-Reason reason;
-#endif
{
UNUSED(pst);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuSchUbndReq
(
Pst * pst,
SpId spId,
Reason reason
)
-#else
-S16 PtLiTfuSchUbndReq(pst, spId, reason)
-Pst * pst;
-SpId spId;
-Reason reason;
-#endif
{
UNUSED(pst);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuRecpReq
(
Pst * pst,
SpId spId,
TfuRecpReqInfo * recpReq
)
-#else
-S16 PtLiTfuRecpReq(pst, spId, recpReq)
-Pst * pst;
-SpId spId;
-TfuRecpReqInfo * recpReq;
-#endif
{
UNUSED(pst);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuCntrlReq
(
Pst * pst,
SpId spId,
TfuCntrlReqInfo * cntrlReq
)
-#else
-S16 PtLiTfuCntrlReq(pst, spId, cntrlReq)
-Pst * pst;
-SpId spId;
-TfuCntrlReqInfo * cntrlReq;
-#endif
{
UNUSED(pst);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuDatReq
(
Pst * pst,
SpId spId,
TfuDatReqInfo * datReq
)
-#else
-S16 PtLiTfuDatReq(pst, spId, datReq)
-Pst * pst;
-SpId spId;
-TfuDatReqInfo * datReq;
-#endif
{
UNUSED(pst);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuDelDatReq
(
Pst * pst,
SpId spId,
TfuDelDatReqInfo * delDatReq
)
-#else
-S16 PtLiTfuDelDatReq(pst, spId, delDatReq)
-Pst * pst;
-SpId spId;
-TfuDelDatReqInfo * DelDatReq;
-#endif
{
UNUSED(pst);