Merge "[Epic-ID: ODUHIGH-516][Task-ID: ODUHIGH-531] RIC Subscription Modification...
[o-du/l2.git] / src / cm / tfu.x
index e8745b8..735d774 100755 (executable)
@@ -2503,1978 +2503,6 @@ typedef struct tfuDelDatReqInfo
 } TfuDelDatReqInfo;
 #endif
 
-typedef S16 (*TfuBndReq) ARGS((
-   Pst*                 pst,
-   SuId                 suId,
-   SpId                 spId));
-typedef S16 (*TfuBndCfm) ARGS((
-   Pst*                 pst,
-   SuId                 suId,
-   uint8_t                   status));
-typedef S16 (*TfuUbndReq) ARGS((
-   Pst*                 pst,
-   SpId                 spId,
-   Reason               reason));
-
-typedef S16 (*TfuSchBndReq) ARGS((
-   Pst*                 pst,
-   SuId                 suId,
-   SpId                 spId));
-typedef S16 (*TfuSchBndCfm) ARGS((
-   Pst*                 pst,
-   SuId                 suId,
-   uint8_t                   status));
-typedef S16 (*TfuSchUbndReq) ARGS((
-   Pst*                 pst,
-   SpId                 spId,
-   Reason               reason));
-
-typedef S16 (*TfuRaReqInd) ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuRaReqIndInfo      *raReqInd));
-
-typedef S16 (*TfuRecpReq) ARGS((
-   Pst *                pst,
-   SpId                 spId,
-   TfuRecpReqInfo   *recpReq));
-
-typedef S16 (*TfuUlCqiInd) ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuUlCqiIndInfo *    ulCqiInd));
-
-typedef S16 (*TfuDoaInd) ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuDoaIndInfo *      doaInd));
-typedef S16 (*TfuHqInd) ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuHqIndInfo *  hqInd));
-
-typedef S16 (*TfuSrInd) ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuSrIndInfo *       srInd));
-
-typedef S16 (*TfuDlCqiInd) ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuDlCqiIndInfo *    dlCqiInd));
-/* tfu_x_001.main_8. Added changes of TFU_UPGRADE */
-#ifdef TFU_UPGRADE
-typedef S16 (*TfuRawCqiInd) ARGS((
-         Pst               *pst,
-         SuId              suId,
-         TfuRawCqiIndInfo  *rawCqiInd));
-         
-typedef S16 (*TfuSrsInd) ARGS((
-         Pst               *pst,
-         SuId              suId,
-         TfuSrsIndInfo     *srsInd));
-#endif /* TFU_UPGRADE */ 
-
-typedef S16 (*TfuDatInd) ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuDatIndInfo *      datInd));
-
-typedef S16 (*TfuCrcInd) ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuCrcIndInfo *  crcInd));
-
-typedef S16 (*TfuTimingAdvInd) ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuTimingAdvIndInfo * timingAdvInd));
-
-typedef S16 (*TfuDatReq) ARGS((
-   Pst *                pst,
-   SpId                 spId,
-   TfuDatReqInfo *      datReq));
-
-#ifdef L2_OPTMZ   
-typedef S16 (*TfuDelDatReq) ARGS((
-   Pst *                pst,
-   SpId                 spId,
-   TfuDelDatReqInfo *      datReq));
-#endif
-
-typedef S16 (*TfuCntrlReq) ARGS((
-         Pst                  *pst,
-         SpId                 spId,
-         TfuCntrlReqInfo      *cntrlReq));
-/* CA dev Start */
-typedef S16 (*TfuTtiCell) ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuTtiCellInfo *      ttiInd));
-/* CA dev End */
-typedef S16 (*TfuTtiInd) ARGS((
-   Pst *                pst,
-   SlotIndInfo *      slotInd));
-
-#if defined(TENB_T2K3K_SPECIFIC_CHANGES) && defined(LTE_TDD)
-typedef S16 (*TfuNonRtInd) ARGS((
-   Pst *                pst,
-   SuId                 suId));
-#endif
-
-typedef S16 (*TfuSchTtiInd) ARGS((
-   Pst *                pst,
-//   SuId                 suId,
-   SlotIndInfo*         slotInd));
-
-typedef S16 (*TfuPucchDeltaPwrInd) ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuPucchDeltaPwrIndInfo *  pucchDeltaPwr));
-
-/*LAA: Error Indication on LAA SCell*/
-typedef S16 (*TfuErrInd) ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuErrIndInfo *  errInd));
-
-/** @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
- */
-S16 TfUiTfuBndReq 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
- */
-S16 TfUiTfuSchBndReq ARGS((Pst *pst, SuId suId, SpId spId));
-
-
-/** @brief This API is used to receive a Bind Confirm from PHY to MAC.
- * @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 TfUiTfuBndCfm ARGS((Pst *pst, SuId suId, uint8_t status));
-
-/** @brief This API is used to receive a Bind Confirm from PHY to Scheduler.
- * @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 TfUiTfuSchBndCfm ARGS((Pst *pst, SuId suId, uint8_t status));
-
-
-/** @brief This API is used to send an Unbind Request from MAC to PHY.
- * @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 TfUiTfuUbndReq 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 spId SAP ID of the service provider.
- * @param reason Reason for Unbind request.
- * @return ROK/RFAILED
- */
-S16 TfUiTfuSchUbndReq ARGS((Pst *pst, SpId spId, Reason reason));
-
-
-/** @brief This API is used to indication Random Access Request reception from
- * PHY to Scheduler.
- * @details This primitive is used by physical layer to indicate the reception
- * of a Random Access Request from a set of UEs. The information passed consists
- * of the RA-RNTI and the list of preambles received. 
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param raReqInd Pointer to the TfuRaReqIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 TfUiTfuRaReqInd ARGS((Pst *pst, SuId suId, TfuRaReqIndInfo 
-         *raReqInd));
-
-
-/** @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 are 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
- */
-S16 TfUiTfuRecpReq 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
-  * channels: 
-  * -# PDCCH
-  * -# PHICH
-  * -# PCFICH
-  * 
-  * @param pst
-  * @param spId
-  * @param cntrlReq pointer to TfuCntrlReqInfo
-  * @return ROK/RFAILED
-  */
-S16 TfUiTfuCntrlReq 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
-  * 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 datReq pointer to TfuDatReqInfo
-  * @return 
-  */
-S16 TfUiTfuDatReq ARGS((Pst *pst, SpId spId, TfuDatReqInfo *datReq));
-
-#ifdef L2_OPTMZ
-/** @brief This primitive carries the cellId and UeId for which datReq need to
-  * deleted in CL. 
-  * @details This primitive is used to delete datReq PDUs present in CL for
-  * which got changed or similar other scenarios. These scenarios are possible
-  * only when L2_OPTMZ flag is enabled.
-  * @sa TfUiTfuDelDatReq
-  * @param pst 
-  * @param spId
-  * @param datReq pointer to TfuDelDatReqInfo
-  * @return 
-  */
-
-S16 TfUiTfuDelDatReq ARGS((Pst *pst, SpId spId, TfuDelDatReqInfo *datReq));
-#endif
-
-/** @brief This Primitive carries the Data PDUs from PHY to MAC.
- * @details The Uplink Data, that is, the data transmitted by the UEs received by the
- * physical layer at the eNodeB in the subframe (indicated by the timingInfo),
- * is relayed to MAC using this primitive. 
- * @param pst 
- * @param suId
- * @param datInd pointer to TfuDatIndInfo
- * @return 
- */
-S16 TfUiTfuDatInd ARGS((Pst *pst, SuId suId, TfuDatIndInfo *datInd));
-
-/** @brief This primitive carries the HARQ Feedback from PHY to Scheduler.
- * @details HARQ feedback is sent by the UE to the eNodeB, an ACK is sent if UE
- * can successfully recieve the data transmitted by the eNodeB, else a NACK is
- * sent. This feedback is utilized by MAC for further scheduling, for instance
- * it can schedule an adaptive retransmission of the same data. 
- * @param pst 
- * @param suId
- * @param hqInd pointer to TfuHqIndInfo
- * @return 
- */
-S16 TfUiTfuHqInd ARGS((Pst *pst, SuId suId, TfuHqIndInfo *hqInd));
-
-/** @brief This primitive carries the SR Indication from PHY to Scheduler. 
- * @details Scheduling Request (SR) is sent by the UE to the eNodeB to request
- * for Uplink (UL) grant. This primitive carries a list of SRs for a number of
- * UEs received in the indicated subframe. 
- * @param pst 
- * @param suId
- * @param srInd pointer to TfuSrIndInfo
- * @return 
- */
-S16 TfUiTfuSrInd ARGS((Pst *pst, SuId suId, TfuSrIndInfo *srInd));
-
-/** @brief This API is used to indicate CQI reporting from PHY to Scheduler.
- * @details This primitive carries an estimate of the Uplink Channel Quality
- * Index (CQI) for a list of UEs. This is an estimate of the uplink channel
- * quality, that is, the transmission from UE as calculated at the Physical layer at
- * the eNodeB. 
- * It carries a list of sub-band CQIs for each UE. 
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param ulCqiInd Pointer to the TfuUlCqiIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 TfUiTfuUlCqiInd ARGS((Pst *pst, SuId suId, 
-         TfuUlCqiIndInfo *ulCqiInd));
-
-/** @brief This API is used by the Physical layer to indicate if the CRC Check
- * on the PUSCH Data is successful or not.
- * @details This primitive carries CRC indication for a list of UEs. This
- * is utilized in the scenario where MAC requested the reception of Uplink data
- * for a particular UE. On reception of the PUSCH data, the CRC check on it
- * failed. This CRC failure is indicated to MAC, which utillizes this
- * information for further scheduling. 
- * Physical layer indicates failure or success for each PUSCH transmission.
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param crcIndInfo Pointer to the TfuCrcIndInfo.
- * @return ROK/RFAILED
- */
-S16 TfUiTfuCrcInd ARGS((Pst *pst, SuId suId, 
-         TfuCrcIndInfo *crcIndInfo));
-
-/** @brief This API is used to indicate a Timing Advance from PHY to Scheduler.
- * @details This primitive carries timing advance information for a number of
- * UEs that may need timing advance. Timing advance information is an estimate
- * of the timing adjustment that an UE needs to apply in order to be
- * synchronized in Uplink. This estimate is to be calculated by physical layer. 
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param timingAdvInd Pointer to the TfuTimingAdvIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 TfUiTfuTimingAdvInd ARGS((Pst *pst, SuId suId, 
-         TfuTimingAdvIndInfo *timingAdvInd));
-
-/* CA dev Start */
-/** @brief This API is the TTI indication from CL to MAC and SCH 
- * @details This primitive provides the timing information (SFN and subframe)
- * which is currently running on the physical layer. 
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param ttiInd Pointer to the TfuTtiCellInfo structure.
- * @return ROK/RFAILED
- */
-S16 TfUiTfuTtiCell ARGS((Pst *pst, SuId suId, 
-         TfuTtiCellInfo *ttiInd));
-/* CA dev End */
-
-/** @brief This API is the TTI indication from CL to MAC and SCH 
- * @details This primitive provides the timing information (SFN and subframe)
- * which is currently running on the physical layer. 
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param ttiInd Pointer to the TfuTtiIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 TfUiTfuTtiInd ARGS((Pst *pst, SuId suId, 
-         TfuTtiIndInfo *ttiInd));
-
-/** @brief This API is the TTI indication from PHY to Scheduler. 
- * @details This primitive provides the timing information (SFN and subframe)
- * which is currently running on the physical layer. 
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param ttiInd Pointer to the TfuTtiIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 TfUiTfuSchTtiInd ARGS((Pst *pst, SuId suId, 
-         TfuTtiIndInfo *ttiInd));
-
-
-/** @brief This API is used to indicate the reception of CQI report from PHY to
- * Scheduler and also carries the Rank Index information.
- * @details This primitive carries the CQI (Channel Quality Index) report
- * for the downlink channel, sent by the UE. It is also used to report RI and
- * PMI.
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param dlCqiInd Pointer to the TfuDlCqiIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 TfUiTfuDlCqiInd ARGS((Pst *pst, SuId suId, 
-         TfuDlCqiIndInfo *dlCqiInd));
-/** @brief This API is used to indicate the calculated DOA value report from PHY to
- * Scheduler.
- * @details This primitive carries the DOA(Direction of arrival) report
- * calculated at PHYSICAL LAYER, for an UE.
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param doaInd Pointer to the TfuDoaIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 TfUiTfuDoaInd ARGS((Pst *pst, SuId suId, 
-         TfuDoaIndInfo *doaInd));
-
-
-/** @brief This primitive is used to convey PUCCH Delta Power calculated by the
- * Physical layer.
- * @details This primitive is used to convey PUCCH Delta Power calculated by the
- * Physical layer. This information is utilized by the scheduler to perform
- * power control for the UEs.
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param pucchDeltaPwr Pointer to the TfuPucchDeltaPwrIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 TfUiTfuPucchDeltaPwrInd ARGS((Pst *pst, SuId suId, 
-         TfuPucchDeltaPwrIndInfo *pucchDeltaPwr));
-
-/** @brief LAA:This primitive carries the Error Indication from PHY to Scheduler.
- * This primitive is invoked when the transmission on the unlicensed Scell
- * fails. 
- * @param pst 
- * @param suId
- * @param errInd pointer to TfuErrIndInfo
- * @return 
- */
-
-S16 TfUiTfuErrInd ARGS((Pst *pst, SuId suId, 
-         TfuErrIndInfo *errInd));
-/* tfu_x_001.main_8. Added changes of TFU_UPGRADE */
-#ifdef TFU_UPGRADE
-
-/** @brief This primitive is used to convey the information derived by the
- * physical layer from the SRS transmission from the UE.
- * @details This primitive carries information derived from the SRS transmission
- * from the UE. 
- * 
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param  srsInd Pointer to the TfuSrIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 TfUiTfuSrsInd ARGS((Pst *pst, SuId suId, 
-         TfuSrsIndInfo *srsInd));
-
-
-/** @brief This primitive is used to convey the Raw CQI information 
- * transmitted by the UE.
- * @details Raw CQI report is the actual bits transmitted by the UE when
- * reporting CQI/PMI/RI. The interpretation of these bits to CQI/sub-band CQI
- * and so on, are done by MAC.
- * 
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param  cqiInd Pointer to the TfuRawCqiIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 TfUiTfuRawCqiInd ARGS((Pst *pst, SuId suId, 
-         TfuRawCqiIndInfo *cqiInd));
-
-#endif /* TFU_UPGRADE */
-
-#ifdef RG
-S16 RgLiTfuBndReq ARGS((
-   Pst*                 pst,
-   SuId                 suId,
-   SpId                 spId
-));
-S16 RgLiTfuBndCfm ARGS((
-   Pst*                 pst,
-   SuId                 suId,
-   uint8_t                   status
-));
-S16 RgLiTfuUbndReq ARGS((
-   Pst*                 pst,
-   SpId                 spId,
-   Reason               reason
-));
-
-S16 RgLiTfuSchBndReq ARGS((
-   Pst*                 pst,
-   SuId                 suId,
-   SpId                 spId
-));
-S16 RgLiTfuSchBndCfm ARGS((
-   Pst*                 pst,
-   SuId                 suId,
-   uint8_t                   status
-));
-S16 RgLiTfuSchUbndReq ARGS((
-   Pst*                 pst,
-   SpId                 spId,
-   Reason               reason
-));
-
-S16 RgLiTfuRaReqInd ARGS((
-   Pst *                pst,
-   SpId                 spId,
-   TfuRaReqIndInfo *  raReq
-));
-
-
-S16 RgLiTfuRecpReq ARGS((
-   Pst *                pst,
-   SpId                 spId,
-   TfuRecpReqInfo *  recpReq
-));
-
-S16 RgLiTfuUlCqiInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuUlCqiIndInfo *    ulCqiInd
-));
-
-S16 RgLiTfuDoaInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuDoaIndInfo *      doaInd
-));
-
-S16 RgLiTfuHqInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuHqIndInfo *  hqInd
-));
-
-S16 RgLiTfuSrInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuSrIndInfo *       srInd
-));
-
-S16 RgLiTfuDlCqiInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuDlCqiIndInfo *    dlCqiInd
-));
-
-/* tfu_x_001.main_8. Added changes of TFU_UPGRADE */
-#ifdef TFU_UPGRADE
-S16 RgLiTfuRawCqiInd ARGS((
-         Pst            *pst,
-         SuId           suId,
-         TfuRawCqiIndInfo  *rawCqiInd
-         ));  
-S16 RgLiTfuSrsInd ARGS((
-         Pst            *pst,
-         SuId           suId,
-         TfuSrsIndInfo  *srsIndInfo
-         ));  
-#endif
-S16 RgLiTfuDatInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuDatIndInfo *      datInd
-));
-
-S16 RgLiTfuCrcInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuCrcIndInfo *  crcInd
-));
-
-S16 RgLiTfuTimingAdvInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuTimingAdvIndInfo * timingAdvInd
-));
-
-S16 RgLiTfuDatReq ARGS((
-   Pst *                pst,
-   SpId                 spId,
-   TfuDatReqInfo *      datReq
-));
-
-S16 RgLiTfuCntrlReq ARGS((
-   Pst *                pst,
-   SpId                 spId,
-   TfuCntrlReqInfo *    cntrlReq
-));
-
-S16 RgLiTfuTtiInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuTtiIndInfo *      ttiInd
-));
-
-#if defined(TENB_T2K3K_SPECIFIC_CHANGES) && defined(LTE_TDD)
-S16 RgLiTfuNonRtInd ARGS((
-   Pst *                pst,
-   SuId                 suId
-));
-#endif
-
-S16 RgLiTfuPucchDeltaPwrInd ARGS((
-   Pst *                   pst,
-   SuId                    suId,
-   TfuPucchDeltaPwrIndInfo   *pucchDeltaPwr
-   ));
-#endif
-
-/** @brief LAA:This primitive carries the Error Indication from PHY to Scheduler.
- * This primitive is invoked when the transmission on the unlicensed Scell
- * fails. 
- * @param pst 
- * @param suId
- * @param errInd pointer to TfuErrIndInfo
- * @return 
- */
-S16 RgLiTfuErrInd ARGS((Pst *pst, SuId suId, TfuErrIndInfo *errInd));
-
-#ifdef L2_OPTMZ
-/** @brief This primitive carries the cellId and UeId for which datReq need to
-  * deleted in CL. 
-  * @details This primitive is used to delete datReq PDUs present in CL for
-  * which got changed or similar other scenarios. These scenarios are possible
-  * only when L2_OPTMZ flag is enabled.
-  * @sa TfUiTfuDelDatReq
-  * @param pst 
-  * @param spId
-  * @param datReq pointer to TfuDelDatReqInfo
-  * @return 
-  */
-S16 RgLiTfuDelDatReq ARGS((Pst *pst, SuId suId, TfuDelDatReqInfo *delDatReq));
-#endif
-
-#if (defined(LCTFU))
-/** @brief This API is used to send a Bind Request from MAC to PHY.
- */
-#ifdef TFU_5GTF
-S16 cmPkTfuRbAssignA1Val324 ARGS((
-TfuRbAssignA1Val324 *param,
-Buffer *mBuf
-));
-S16 cmPkTfuRbAssignB1Val324 ARGS((
-TfuRbAssignB1Val324 *param,
-Buffer *mBuf
-));
-S16 cmPkTfuRbAssignVal326 ARGS((
-TfuRbAssignVal326 *param,
-Buffer *mBuf
-));
-S16 cmUnpkTfuRbAssignA1Val324 ARGS((
-TfuRbAssignA1Val324 *param,
-Buffer *mBuf
-));
-S16 cmUnpkTfuRbAssignB1Val324 ARGS((
-TfuRbAssignB1Val324 *param,
-Buffer *mBuf
-));
-S16 cmUnpkTfuRbAssignVal326 ARGS((
-TfuRbAssignVal326 *param,
-Buffer *mBuf
-));
-S16 cmPkTfuDciFormatA1A2Info ARGS((
-TfuDciFormatA1Info *param,
-Buffer *mBuf
-));
-S16 cmPkTfuDciFormatB1B2Info ARGS((
-TfuDciFormatB1Info *param,
-Buffer *mBuf
-));
-S16 cmUnpkTfuDciFormatA1A2Info ARGS((
-TfuDciFormatA1Info *param,
-Buffer *mBuf
-));
-S16 cmUnpkTfuDciFormatB1B2Info ARGS((
-TfuDciFormatB1Info *param,
-Buffer *mBuf
-));
-#endif /* TFU_5GTF */
-
-S16 cmPkTfuBndReq ARGS((
-   Pst*                 pst,
-   SuId                 suId,
-   SpId                 spId
-));
-/** @brief This API is used to send a Bind Request from MAC to PHY.
- */
-S16 cmUnpkTfuBndReq ARGS((
-   TfuBndReq            func,
-   Pst*                 pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to receive a Bind Confirm from PHY to MAC.
- */
-S16 cmPkTfuBndCfm ARGS((
-   Pst*                 pst,
-   SuId                 suId,
-   uint8_t                   status
-));
-/** @brief This API is used to receive a Bind Confirm from PHY to MAC.
- */
-S16 cmUnpkTfuBndCfm ARGS((
-   TfuBndCfm            func,
-   Pst*                 pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to send an Unbind Request from MAC to PHY.
- */
-S16 cmPkTfuUbndReq ARGS((
-   Pst*                 pst,
-   SpId                 spId,
-   Reason               reason
-));
-/** @brief This API is used to send an Unbind Request from MAC to PHY.
- */
-S16 cmUnpkTfuUbndReq ARGS((
-   TfuUbndReq           func,
-   Pst*                 pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to send a Bind Request from SCH to PHY.
- */
-S16 cmPkTfuSchBndReq ARGS((
-   Pst*                 pst,
-   SuId                 suId,
-   SpId                 spId
-));
-/** @brief This API is used to send a Bind Request from SCH to PHY.
- */
-S16 cmUnpkTfuSchBndReq ARGS((
-   TfuSchBndReq         func,
-   Pst*                 pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to receive a Bind Confirm from PHY to SCH.
- */
-S16 cmPkTfuSchBndCfm ARGS((
-   Pst*                 pst,
-   SuId                 suId,
-   uint8_t                   status
-));
-/** @brief This API is used to receive a Bind Confirm from PHY to SCH.
- */
-S16 cmUnpkTfuSchBndCfm ARGS((
-   TfuSchBndCfm         func,
-   Pst*                 pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to send an Unbind Request from SCH to PHY.
- */
-S16 cmPkTfuSchUbndReq ARGS((
-   Pst*                 pst,
-   SpId                 spId,
-   Reason               reason
-));
-/** @brief This API is used to send an Unbind Request from SCH to PHY.
- */
-S16 cmUnpkTfuSchUbndReq ARGS((
-   TfuSchUbndReq        func,
-   Pst*                 pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to indication Random Access Request reception from
- * PHY to MAC.
- */
-S16 cmPkTfuRaReqInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuRaReqIndInfo *    raReqInd
-));
-/** @brief This API is used to indication Random Access Request reception from
- * PHY to MAC.
- */
-S16 cmUnpkTfuRaReqInd ARGS((
-   TfuRaReqInd          func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to indication Random Access Request reception from
- * PHY to MAC.
- */
-S16 cmPkTfuRecpReq ARGS((
-   Pst *                pst,
-   SpId                 spId,
-   TfuRecpReqInfo *     recpReq
-));
-/** @brief This API is used to indication Random Access Request reception from
- * PHY to MAC.
- */
-S16 cmUnpkTfuRecpReq ARGS((
-   TfuRecpReq           func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to indicate CQI reporting from PHY to MAC.
- */
-S16 cmPkTfuUlCqiInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuUlCqiIndInfo *    ulCqiInd
-));
-/** @brief This API is used to indicate CQI reporting from PHY to MAC.
- */
-S16 cmUnpkTfuUlCqiInd ARGS((
-   TfuUlCqiInd          func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-
-S16 cmPkTfuHqInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuHqIndInfo *       hqInd
-));
-
-S16 cmUnpkTfuHqInd ARGS((
-   TfuHqInd             func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to indicate a SR reception from PHY to MAC.
- */
-S16 cmPkTfuSrInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuSrIndInfo *       srInd
-));
-/** @brief This API is used to indicate a SR reception from PHY to MAC.
- */
-S16 cmUnpkTfuSrInd ARGS((
-   TfuSrInd             func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to indicate the reception of CQI report from PHY to
- * MAC.
- */
-S16 cmPkTfuDlCqiInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuDlCqiIndInfo *    dlCqiInd
-));
-/** @brief This API is used to indicate the reception of CQI report from PHY to
- * MAC.
- */
-S16 cmUnpkTfuDlCqiInd ARGS((
-   TfuDlCqiInd          func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-
-/** @brief This API is used to indicate the Calculated DOA value report from PHY to
- * MAC.*/
-S16 cmUnpkTfuDoaInd ARGS((
-   TfuDoaInd            func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to indicate the calculated DOA Value report from PHY to
- * MAC.
- */
-S16 cmPkTfuDoaInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuDoaIndInfo *      doaInd
-   ));
-
-/** @brief This API is used to indicate Data Reception from PHY to MAC.
- */
-S16 cmPkTfuDatInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuDatIndInfo *      datInd
-));
-/** @brief This API is used to indicate Data Reception from PHY to MAC.
- */
-S16 cmUnpkTfuDatInd ARGS((
-   TfuDatInd            func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to indicate Decode failure from PHY to MAC.
- */
-S16 cmPkTfuCrcInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuCrcIndInfo *  crcInd
-));
-/** @brief This API is used to indicate Decode failure from PHY to MAC.
- */
-S16 cmUnpkTfuCrcInd ARGS((
-   TfuCrcInd        func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-
-S16 cmPkTfuCntrlReq ARGS((
-   Pst *                pst,
-   SpId                 spId,
-   TfuCntrlReqInfo *    cntrlReq
-));
-
-S16 cmUnpkTfuCntrlReq ARGS((
-   TfuCntrlReq          func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to indicate a Timing Advance from PHY to MAC.
- */
-S16 cmPkTfuTimingAdvInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuTimingAdvIndInfo * timingAdvInd
-));
-/** @brief This API is used to indicate a Timing Advance from PHY to MAC.
- */
-S16 cmUnpkTfuTimingAdvInd ARGS((
-   TfuTimingAdvInd      func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-/** @brief This API is used to send Data Request from MAC to PHY.
- */
-S16 cmPkTfuDatReq ARGS((
-   Pst *                pst,
-   SpId                 spId,
-   TfuDatReqInfo *      datReq
-));
-/** @brief This API is used to send Data Request from MAC to PHY.
- */
-S16 cmUnpkTfuDatReq ARGS((
-   TfuDatReq            func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-/* CA dev Start */
-/** @brief This API is the TTI indication from CL to MAC and SCH.
- */
-S16 cmPkTfuTtiCell ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuTtiCellInfo *      ttiInd
-));
-/** @brief This API is the TTI indication from CL to MAC and SCH.
- */
-S16 cmUnpkTfuTtiCell ARGS((
-   TfuTtiCell            func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-/* CA dev End */
-
-/** @brief This API is the TTI indication from PHY to MAC.
- */
-S16 cmPkTfuTtiInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuTtiIndInfo *      ttiInd
-));
-/** @brief This API is the TTI indication from PHY to MAC.
- */
-S16 cmUnpackSlotInd ARGS((
-   TfuTtiInd            func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-
-#if defined(TENB_T2K3K_SPECIFIC_CHANGES) && defined(LTE_TDD)
-/** @brief This API is the non-rt indication from PHY to MAC.
-  */
-S16 cmPkTfuNonRtInd ARGS((
-   Pst *                pst,
-   SuId                 suId
-));
-
-/** @brief This API is the non-rt indication from PHY to MAC.
-  */
-S16 cmUnpkTfuNonRtInd ARGS((
-   TfuNonRtInd          func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-#endif
-
-/** @brief This API is the TTI indication from PHY to SCH.
- */
-S16 cmPkTfuSchTtiInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuTtiIndInfo *      ttiInd
-));
-/** @brief This API is used to convey the PUCCH delta power from PHY to SCH.
- */
-S16 cmPkTfuPucchDeltaPwrInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuPucchDeltaPwrIndInfo *  pucchDeltaPwr
-));
-/** @brief This API is used to indicate Decode failure from PHY to MAC.
- */
-S16 cmUnpkTfuPucchDeltaPwrInd ARGS((
-   TfuPucchDeltaPwrInd       func,
-   Pst *                   pst,
-   Buffer                  *mBuf
-));
-
-
-#ifdef TFU_PHASE_2
-/** @brief This API is used to send Group Power Control Request from MAC to PHY.
- */
-S16 cmPkTfuGrpPwrCntrlReq ARGS((
-   Pst *                pst,
-   SpId                 spId,
-   TfuGrpPwrCntrlReqInfo * grpPwrCntrlReq
-));
-/** @brief This API is used to send Group Power Control Request from MAC to PHY.
- */
-S16 cmUnpkTfuGrpPwrCntrlReq ARGS((
-   TfuGrpPwrCntrlReq    func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-#endif
-S16 cmPkTfuDciFormat0Info ARGS((
-   TfuDciFormat0Info    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat0Info ARGS((
-   TfuDciFormat0Info    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuAllocMapOrRiv ARGS((
-   TfuAllocMapOrRiv     *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuAllocMapOrRiv ARGS((
-   TfuAllocMapOrRiv     *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat1AllocInfo ARGS((
-   TfuDciFormat1AllocInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat1AllocInfo ARGS((
-   TfuDciFormat1AllocInfo *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat1Info ARGS((
-   TfuDciFormat1Info    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat1Info ARGS((
-   TfuDciFormat1Info    *param,
-   Buffer               *mBuf
-));
-
-S16 cmPkTfuDciFormatTbInfo ARGS((
-   TfuDciFormatTbInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormatTbInfo ARGS((
-   TfuDciFormatTbInfo   *param,
-   Buffer               *mBuf
-));
-/** @} */
-S16 cmPkTfuDciFormat2AAllocInfo ARGS((
-   TfuDciFormat2AAllocInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat2AAllocInfo ARGS((
-   TfuDciFormat2AAllocInfo *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat2AInfo ARGS((
-   TfuDciFormat2AInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat2AInfo ARGS((
-   TfuDciFormat2AInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat2AllocInfo ARGS((
-   TfuDciFormat2AllocInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat2AllocInfo ARGS((
-   TfuDciFormat2AllocInfo *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat2Info ARGS((
-   TfuDciFormat2Info    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat2Info ARGS((
-   TfuDciFormat2Info    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat3Info ARGS((
-   TfuDciFormat3Info    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat3Info ARGS((
-   TfuDciFormat3Info    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat3AInfo ARGS((
-   TfuDciFormat3AInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat3AInfo ARGS((
-   TfuDciFormat3AInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat1dAllocInfo ARGS((
-   TfuDciFormat1dAllocInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat1dAllocInfo ARGS((
-   TfuDciFormat1dAllocInfo *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat1dInfo ARGS((
-   TfuDciFormat1dInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat1dInfo ARGS((
-   TfuDciFormat1dInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat1cInfo ARGS((
-   TfuDciFormat1cInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat1cInfo ARGS((
-   TfuDciFormat1cInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat1bAllocInfo ARGS((
-   TfuDciFormat1bAllocInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat1bAllocInfo ARGS((
-   TfuDciFormat1bAllocInfo *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuPdcchOrderInfo ARGS((
-   TfuPdcchOrderInfo    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuPdcchOrderInfo ARGS((
-   TfuPdcchOrderInfo    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat1aAllocInfo ARGS((
-   TfuDciFormat1aAllocInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat1aAllocInfo ARGS((
-   TfuDciFormat1aAllocInfo *param,
-   Buffer               *mBuf
-));
-/*tfu_x_001.main_6 - Added for SPS support*/
-S16 cmPkTfudciformat1aPdsch ARGS((
-   Tfudciformat1aPdsch  *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfudciformat1aPdsch ARGS((
-   Tfudciformat1aPdsch  *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat1aInfo ARGS((
-   TfuDciFormat1aInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat1aInfo ARGS((
-   TfuDciFormat1aInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciFormat1bInfo ARGS((
-   TfuDciFormat1bInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciFormat1bInfo ARGS((
-   TfuDciFormat1bInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDciInfo ARGS((
-   TfuDciInfo           *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDciInfo ARGS((
-   TfuDciInfo           *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuSubbandInfo ARGS((
-   TfuSubbandInfo       *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuSubbandInfo ARGS((
-   TfuSubbandInfo       *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuSubbandDlCqiInfo ARGS((
-   TfuSubbandDlCqiInfo    *param,
-   Buffer                 *mBuf
-));
-S16 cmUnpkTfuSubbandDlCqiInfo ARGS((
-   TfuSubbandDlCqiInfo    *param,
-   Buffer                 *mBuf
-));
-/** @} */
-S16 cmPkTfuSubbandCqiInfo ARGS((
-   TfuSubbandCqiInfo    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuSubbandCqiInfo ARGS((
-   TfuSubbandCqiInfo    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuPdcchCceInfo ARGS((
-   TfuPdcchCceInfo      *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuPdcchCceInfo ARGS((
-   TfuPdcchCceInfo      *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiPucchMode10 ARGS((
-   TfuCqiPucchMode10    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiPucchMode10 ARGS((
-   TfuCqiPucchMode10    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiMode11Cqi ARGS((
-   TfuCqiMode11Cqi      *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiMode11Cqi ARGS((
-   TfuCqiMode11Cqi      *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiPucchMode11 ARGS((
-   TfuCqiPucchMode11    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiPucchMode11 ARGS((
-   TfuCqiPucchMode11    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiMode20SubCqi ARGS((
-   TfuCqiMode20SubCqi   *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiMode20SubCqi ARGS((
-   TfuCqiMode20SubCqi   *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiMode20Cqi ARGS((
-   TfuCqiMode20Cqi      *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiMode20Cqi ARGS((
-   TfuCqiMode20Cqi      *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiPucchMode20 ARGS((
-   TfuCqiPucchMode20    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiPucchMode20 ARGS((
-   TfuCqiPucchMode20    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiMode21SubCqi ARGS((
-   TfuCqiMode21SubCqi   *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiMode21SubCqi ARGS((
-   TfuCqiMode21SubCqi   *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiMode21WideCqi ARGS((
-   TfuCqiMode21WideCqi  *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiMode21WideCqi ARGS((
-   TfuCqiMode21WideCqi  *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiMode21Cqi ARGS((
-   TfuCqiMode21Cqi      *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiMode21Cqi ARGS((
-   TfuCqiMode21Cqi      *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiPucchMode21 ARGS((
-   TfuCqiPucchMode21    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiPucchMode21 ARGS((
-   TfuCqiPucchMode21    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDlCqiPucch ARGS((
-   TfuDlCqiPucch        *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDlCqiPucch ARGS((
-   TfuDlCqiPucch        *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuSubbandMode12 ARGS((
-   TfuSubbandMode12     *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuSubbandMode12 ARGS((
-   TfuSubbandMode12     *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiPuschMode12 ARGS((
-   TfuCqiPuschMode12    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiPuschMode12 ARGS((
-   TfuCqiPuschMode12    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiPuschMode20 ARGS((
-   TfuCqiPuschMode20    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiPuschMode20 ARGS((
-   TfuCqiPuschMode20    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiPuschMode22 ARGS((
-   TfuCqiPuschMode22    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiPuschMode22 ARGS((
-   TfuCqiPuschMode22    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuSubbandMode30 ARGS((
-   TfuSubbandMode30     *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuSubbandMode30 ARGS((
-   TfuSubbandMode30     *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiPuschMode30 ARGS((
-   TfuCqiPuschMode30    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiPuschMode30 ARGS((
-   TfuCqiPuschMode30    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuSubbandMode31 ARGS((
-   TfuSubbandMode31     *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuSubbandMode31 ARGS((
-   TfuSubbandMode31     *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCqiPuschMode31 ARGS((
-   TfuCqiPuschMode31    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCqiPuschMode31 ARGS((
-   TfuCqiPuschMode31    *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDlCqiPusch ARGS((
-   TfuDlCqiPusch        *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDlCqiPusch ARGS((
-   TfuDlCqiPusch        *param,
-   Buffer               *mBuf
-));
-
-S16 cmPkTfuDlCqiPuschInfo ARGS((
-   TfuDlCqiPuschInfo    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDlCqiPuschInfo ARGS((
-   TfuDlCqiPuschInfo    *param,
-   Buffer               *mBuf
-));
-
-S16 cmPkTfuDoaRpt ARGS((
-   TfuDoaRpt            *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDoaRpt ARGS((
-   TfuDoaRpt            *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDoaIndInfo ARGS((
-   TfuDoaIndInfo        *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDoaIndInfo ARGS((
-   TfuDoaIndInfo        *param,
-   Ptr                  memCp,
-   Buffer               *mBuf
-));
-
-S16 cmPkTfuDlCqiInfo ARGS((
-   uint8_t                   selector,
-   TfuDlCqiInfo         *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDlCqiInfo ARGS((
-   uint8_t                   selector,
-   TfuDlCqiInfo         *param,
-   Buffer               *mBuf
-));
-
-
-/* tfu_x_001.main_8. Added changes of TFU_UPGRADE */
-#ifndef TFU_UPGRADE
-S16 cmPkTfuUeMsg3RecpReq ARGS((
-   TfuUeMsg3RecpReq     *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUeMsg3RecpReq ARGS((
-   TfuUeMsg3RecpReq     *param,
-   Buffer               *mBuf
-));
-#endif
-
-
-/*tfu_x_001.main_8 - ADD - Prototype for TfuUePuschRecpReq Pk/Unpk functions */
-S16 cmPkTfuUePuschRecpReq ARGS((
-   TfuUePuschRecpReq *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUePuschRecpReq ARGS((
-   TfuUePuschRecpReq *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuUePucchRecpReq ARGS((
-   TfuUePucchRecpReq *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUePucchRecpReq ARGS((
-   TfuUePucchRecpReq *param,
-   Buffer               *mBuf
-));
-
-S16 cmPkTfuRecpReqInfo ARGS((
-   TfuRecpReqInfo       *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuRecpReqInfo ARGS((
-   TfuRecpReqInfo       *param,
-   Ptr                   memCp,
-   Buffer               *mBuf
-));
-S16 cmPkTfuPdcchInfo ARGS((
-   TfuPdcchInfo         *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuPdcchInfo ARGS((
-   TfuPdcchInfo         *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuPhichInfo ARGS((
-   TfuPhichInfo         *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuPhichInfo ARGS((
-   TfuPhichInfo         *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCntrlReqInfo ARGS((
-   TfuCntrlReqInfo      *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCntrlReqInfo ARGS((
-   TfuCntrlReqInfo      *param,
-   Ptr                   memCp,
-   Buffer               *mBuf
-));
-S16 cmPkTfuPdschDciInfo ARGS((
-   TfuPdschDciInfo      *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuPdschDciInfo ARGS((
-   TfuPdschDciInfo      *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDatReqPduInfo ARGS((
-   TfuDatReqPduInfo     *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDatReqPduInfo ARGS((
-   TfuDatReqPduInfo     *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDatReqInfo ARGS((
-   TfuDatReqInfo        *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDatReqInfo ARGS((
-   TfuDatReqInfo        *param,
-   Ptr                   memCp,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDatInfo ARGS((
-   TfuDatInfo           *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDatInfo ARGS((
-   TfuDatInfo           *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDatIndInfo ARGS((
-   TfuDatIndInfo        *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDatIndInfo ARGS((
-   TfuDatIndInfo        *param,
-   Ptr                  memCp,
-   Buffer               *mBuf
-));
-S16 cmPkTfuSrInfo ARGS((
-   TfuSrInfo            *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuSrInfo ARGS((
-   TfuSrInfo            *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuSrIndInfo ARGS((
-   TfuSrIndInfo         *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuSrIndInfo ARGS((
-   TfuSrIndInfo         *param,
-   Ptr                  memCp,
-   Buffer               *mBuf
-));
-S16 cmPkTfuHqInfo ARGS((
-   TfuHqInfo            *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuHqInfo ARGS((
-   TfuHqInfo            *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuHqIndInfo ARGS((
-   TfuHqIndInfo         *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuHqIndInfo ARGS((
-   TfuHqIndInfo         *param,
-   Ptr                  memCpm,
-   Buffer               *mBuf
-));
-S16 cmPkTfuUlCqiInfo ARGS((
-   TfuUlCqiInfo         *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUlCqiInfo ARGS((
-   TfuUlCqiInfo         *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuUlCqiRpt ARGS((
-   TfuUlCqiRpt          *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUlCqiRpt ARGS((
-   TfuUlCqiRpt          *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuUlCqiIndInfo ARGS((
-   TfuUlCqiIndInfo      *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUlCqiIndInfo ARGS((
-   TfuUlCqiIndInfo      *param,
-   Ptr                  memCp,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDlCqiRpt ARGS((
-   TfuDlCqiRpt          *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDlCqiRpt ARGS((
-   TfuDlCqiRpt          *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuDlCqiIndInfo ARGS((
-   TfuDlCqiIndInfo      *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuDlCqiIndInfo ARGS((
-   TfuDlCqiIndInfo      *param,
-   Ptr                  memCp,
-   Buffer               *mBuf
-));
-S16 cmPkTfuPucchDeltaPwr ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuPucchDeltaPwrIndInfo * pucchDeltaPwr));
-
-S16 cmPkTfuPucchDeltaPwrInfo ARGS((
-   TfuPucchDeltaPwr       *param,
-   Buffer               *mBuf
-));
-
-S16 cmUnpkTfuPucchDeltaPwr ARGS((
-   TfuPucchDeltaPwrInd     func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuPucchDeltaPwrInfo ARGS((
-   TfuPucchDeltaPwr     *param,
-   Buffer               *mBuf
-));
-
-S16 cmPkTfuCrcInfo ARGS((
-   TfuCrcInfo       *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCrcInfo ARGS((
-   TfuCrcInfo       *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuCrcIndInfo ARGS((
-   TfuCrcIndInfo    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuCrcIndInfo ARGS((
-   TfuCrcIndInfo    *param,
-   Ptr                  memCp,
-   Buffer               *mBuf
-));
-
-S16 cmPkTfuPucchDeltaPwrIndInfo ARGS((
-   TfuPucchDeltaPwrIndInfo    *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuPucchDeltaPwrIndInfo ARGS((
-   TfuPucchDeltaPwrIndInfo    *param,
-   Ptr                  memCp,
-   Buffer               *mBuf
-));
-S16 cmPkTfuTimingAdvInfo ARGS((
-   TfuTimingAdvInfo     *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuTimingAdvInfo ARGS((
-   TfuTimingAdvInfo     *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuTimingAdvIndInfo ARGS((
-   TfuTimingAdvIndInfo  *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuTimingAdvIndInfo ARGS((
-   TfuTimingAdvIndInfo  *param,
-   Ptr                   memCp,
-   Buffer               *mBuf
-));
-/* CA dev Start */
-S16 cmPkTfuTtiCellInfo ARGS((
-   TfuTtiCellInfo       *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuTtiCellInfo ARGS((
-   TfuTtiCellInfo       *param,
-   Buffer               *mBuf
-));
-/* CA dev End */
-S16 cmPkTfuTtiIndInfo ARGS((
-   TfuTtiIndInfo        *param,
-   Buffer               *mBuf
-));
-S16 cmUnpackSlotIndInfo ARGS((
-   SlotIndInfo          *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuRaReqInfo ARGS((
-   TfuRaReqInfo         *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuRaReqInfo ARGS((
-   TfuRaReqInfo         *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuRachInfo ARGS((
-   CmMemListCp          memCp,
-   TfuRachInfo          *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuRachInfo ARGS((
-   CmMemListCp          memCp,
-   TfuRachInfo          *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuRaReqIndInfo ARGS((
-   TfuRaReqIndInfo      *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuRaReqIndInfo ARGS((
-   TfuRaReqIndInfo      *param,
-   Buffer               *mBuf
-));
-S16 cmPkBuffer ARGS((
-   Buffer **param,
-   Buffer *mBuf
-));
-S16 cmUnpkBuffer ARGS((
-   Buffer **param,
-   Buffer *mBuf
-));
-
-/* tfu_x_001.main_8. Added changes of TFU_UPGRADE */
-#ifdef TFU_UPGRADE
-S16 cmPkTfuSrsRpt ARGS((
-   TfuSrsRpt            *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuSrsRpt ARGS((
-   TfuSrsRpt            *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuSrsIndInfo ARGS((
-   TfuSrsIndInfo        *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuSrsIndInfo ARGS((
-   TfuSrsIndInfo        *param,
-   Ptr                  memCp,
-   Buffer               *mBuf
-));
-S16 cmPkTfuRawCqiRpt ARGS((
-   TfuRawCqiRpt         *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuRawCqiRpt ARGS((
-   TfuRawCqiRpt         *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuRawCqiIndInfo ARGS((
-   TfuRawCqiIndInfo     *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuRawCqiIndInfo ARGS((
-   TfuRawCqiIndInfo     *param,
-   Ptr                  memCp,
-   Buffer               *mBuf
-));
-
-#ifdef TFU_TDD
-
-S16 cmPkTfuUePucchHqRecpInfo ARGS((
-   TfuUePucchHqRecpInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUePucchHqRecpInfo ARGS((
-   TfuUePucchHqRecpInfo *param,
-   Buffer               *mBuf
-));
-
-#endif
-
-#ifndef TFU_TDD  /* else of TFU_TDD */
-
-S16 cmPkTfuUePucchHqRecpInfo ARGS((
-   TfuUePucchHqRecpInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUePucchHqRecpInfo ARGS((
-   TfuUePucchHqRecpInfo *param,
-   Buffer               *mBuf
-));
-
-
-#endif
-S16 cmPkTfuUePucchSrRecpInfo ARGS((
-   TfuUePucchSrRecpInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUePucchSrRecpInfo ARGS((
-   TfuUePucchSrRecpInfo *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuUePucchCqiRecpInfo ARGS((
-   TfuUePucchCqiRecpInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUePucchCqiRecpInfo ARGS((
-   TfuUePucchCqiRecpInfo *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuUePucchSrsRecpInfo ARGS((
-   TfuUePucchSrsRecpInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUePucchSrsRecpInfo ARGS((
-   TfuUePucchSrsRecpInfo *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuUeUlSchRecpInfo ARGS((
-   TfuUeUlSchRecpInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUeUlSchRecpInfo ARGS((
-   TfuUeUlSchRecpInfo   *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuUePuschCqiRecpInfo ARGS((
-   TfuUePuschCqiRecpInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUePuschCqiRecpInfo ARGS((
-   TfuUePuschCqiRecpInfo *param,
-   Buffer               *mBuf
-));
-S16 cmPkTfuUePuschHqRecpInfo ARGS((
-   TfuUePuschHqRecpInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUePuschHqRecpInfo ARGS((
-   TfuUePuschHqRecpInfo *param,
-   Buffer               *mBuf
-));
-
-S16 cmPkTfuBfVectorInfo ARGS ((
-TfuBfVectorInfo *param,
-Buffer *mBuf
-));
-
-S16 cmUnpkTfuBfVectorInfo ARGS ((
-   TfuBfVectorInfo *param,
-   Buffer *mBuf
-));
-#endif /* TFU_UPGRADE */
-/* tfu_x_001.main_8. Added changes of TFU_UPGRADE */
-S16 cmPkTfuUeRecpReqInfo ARGS((
-   TfuUeRecpReqInfo *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuUeRecpReqInfo ARGS((
-   TfuUeRecpReqInfo *param,
-   Buffer               *mBuf
-));
-
-/* tfu_x_001.main_8. Added changes of TFU_UPGRADE */
-#ifdef TFU_UPGRADE
-/** @brief This primitive is used to convey the Raw CQI information 
- * transmitted by the UE.
- * @details Raw CQI report is the actual bits transmitted by the UE when
- * reporting CQI/PMI/RI. The interpretation of these bits to CQI/sub-band CQI
- * and so on, are done by MAC.
- * 
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param cqiInd Pointer to the TfuRawCqiIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 cmPkTfuRawCqiInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuRawCqiIndInfo *   rawCqiInd
-));
-/** @brief This primitive is used to convey the Raw CQI information 
- * transmitted by the UE.
- * @details Raw CQI report is the actual bits transmitted by the UE when
- * reporting CQI/PMI/RI. The interpretation of these bits to CQI/sub-band CQI
- * an so on, are done by MAC.
- * 
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param cqiInd Pointer to the TfuRawCqiIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 cmUnpkTfuRawCqiInd ARGS((
-   TfuRawCqiInd         func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-/** @brief This primitive is used to convey the information derived by the
- * physical layer from the SRS transmission from the UE.
- * @details This primitive carries information derived from the SRS transmission
- * from the UE. 
- * 
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param srsInd Pointer to the TfuSrIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 cmPkTfuSrsInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuSrsIndInfo *      srsInd
-));
-/** @brief This primitive is used to convey the information derived by the
- * physical layer from the SRS transmission from the UE.
- * @details This primitive carries information derived from the SRS transmission
- * from the UE. 
- * 
- * @param pst Pointer to the post structure.
- * @param suId SAP ID of the service user.
- * @param srsInd Pointer to the TfuSrIndInfo structure.
- * @return ROK/RFAILED
- */
-S16 cmUnpkTfuSrsInd ARGS((
-   TfuSrsInd            func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-#endif
-
-/*tfu_x_001.main_6 - Added for SPS support*/
-#ifdef LTEMAC_SPS
-S16 cmPkTfuAllocMap ARGS((
-   TfuAllocMap          *param,
-   Buffer               *mBuf
-));
-S16 cmUnpkTfuAllocMap ARGS((
-         TfuAllocMap          *param,
-         Buffer               *mBuf
-         ));
-#ifdef EMTC_ENABLE
-S16 cmPkTfuDciFormat6AAllocInfo ARGS((
-         TfuDciFormat61AllocInfo *param,
-         Buffer *mBuf
-         ));
-S16 cmUnpkTfuDciFormat6AAllocInfo ARGS((
-         TfuDciFormat61AllocInfo *param,
-         Buffer *mBuf
-         ));
-S16 cmUnpkTfuDciFormat61aInfo ARGS((
-         TfuDciFormat61aInfo *param,
-         Buffer *mBuf
-         ));
-S16 cmUnpkTfuDciFormat62Info ARGS((
-         TfuDciFormat62Info *param,
-         Buffer *mBuf
-         ));
-
-S16 cmUnpkTfudciformat61aPdsch ARGS((
-         Tfudciformat61aPdsch *param,
-         Buffer *mBuf
-         ));
-S16 cmPkTfuDciFormat61aInfo ARGS((
-         TfuDciFormat61aInfo *param,
-         Buffer *mBuf
-         ));
-
-#endif
-
-#endif
-
-/* LTE_UNLICENSED */
-S16 cmPkTfuErrInd ARGS((
-   Pst *                pst,
-   SuId                 suId,
-   TfuErrIndInfo *       errInd
-));
-
-S16 cmUnpkTfuErrInd ARGS((
-   TfuErrInd             func,
-   Pst *                pst,
-   Buffer               *mBuf
-));
-#endif /*LCTFU*/
-
-
 #ifdef __cplusplus
 }
 #endif