/******************************************************************************* ################################################################################ # Copyright (c) [2017-2019] [Radisys] # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # # # http://www.apache.org/licenses/LICENSE-2.0 # # # # Unless required by applicable law or agreed to in writing, software # # distributed under the License is distributed on an "AS IS" BASIS, # # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # # See the License for the specific language governing permissions and # # limitations under the License. # ################################################################################ *******************************************************************************/ /************************************************************************ Name: LTE-MAC layer Type: C source file Desc: C source code for Entry point fucntions File: rg_ptli.c **********************************************************************/ /** @file rg_dhm.c @brief APIs related to Downlink HARQ. */ /* 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_mblk.h" #include "cm_lte.h" /* Common LTE Defines */ #include "tfu.h" /* RGU 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_mblk.x" #include "cm_lte.x" /* Common LTE Defines */ #include "tfu.x" /* RGU Interface includes */ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #if !(defined(LCRGLITFU) && defined(TF) && defined(LWLCRGLITFU)) #define PTRGLITFU #endif /* MAX Number of Service Providers of RG */ #define RG_MAX_TFU_PROV 3 #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 */ EXTERN 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)); /** @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)); /** @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)); /** @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 */ EXTERN 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 * channels - * -# PDCCH * -# PHICH * -# PCFICH * * @param pst * @param spId * @param cntrlReq pointer to TfuCntrlReqInfo * @return ROK/RFAILED */ EXTERN 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 * 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 */ EXTERN 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 * UE which has been deleted in MAC due to ueId change or anyother scenario * @details The data being sent in this primitive is meant to be transmitted on * @sa TfUiTfuDelDatReq * @param pst * @param spId * @param tfuDelDatReq pointer to TfuDelDatReqInfo * @return */ EXTERN 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 * UE which has been deleted in MAC due to ueId change or anyother scenario * NOTE:: This API is only supported for TC because race condition issue * happens only in case of TC * @sa TfUiTfuDelDatReq * @param pst * @param spId * @param tfuDelDatReq pointer to TfuDelDatReqInfo * @return */ PRIVATE CONSTANT TfuDelDatReq RgLiTfuDelDatReqMt[RG_MAX_TFU_PROV] = { #ifdef LCRGLITFU PtLiTfuDelDatReq, /*calling dummy api as LC not required for this privitive*/ #else PtLiTfuDelDatReq, #endif #ifdef TF TfUiTfuDelDatReq, #else PtLiTfuDelDatReq, #endif #ifdef LWLCRGLITFU PtLiTfuDelDatReq, /*calling dummy api as LWLC not required for this privitive*/ #else PtLiTfuDelDatReq #endif }; #endif /* L2_OPTMZ*/ #ifdef RG /*********************************************************** * * 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 PUBLIC S16 RgLiTfuBndReq ( Pst * pst, SuId suId, SpId spId ) #else PUBLIC S16 RgLiTfuBndReq(pst, suId, spId) Pst * pst; SuId suId; SpId spId; #endif { TRC3(RgLiTfuBndReq) RETVALUE((*RgLiTfuBndReqMt[pst->selector])(pst, suId, spId)); } /*********************************************************** * * 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 PUBLIC S16 RgLiTfuSchBndReq ( Pst * pst, SuId suId, SpId spId ) #else PUBLIC S16 RgLiTfuSchBndReq(pst, suId, spId) Pst * pst; SuId suId; SpId spId; #endif { TRC3(RgLiTfuSchBndReq) RETVALUE((*RgLiTfuSchBndReqMt[pst->selector])(pst, suId, spId)); } /*********************************************************** * * 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 PUBLIC S16 RgLiTfuUbndReq ( Pst * pst, SpId spId, Reason reason ) #else PUBLIC S16 RgLiTfuUbndReq(pst, spId, reason) Pst * pst; SpId spId; Reason reason; #endif { TRC3(RgLiTfuUbndReq) RETVALUE((*RgLiTfuUbndReqMt[pst->selector])(pst, spId, reason)); } /*********************************************************** * * 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 PUBLIC S16 RgLiTfuSchUbndReq ( Pst * pst, SpId spId, Reason reason ) #else PUBLIC S16 RgLiTfuSchUbndReq(pst, spId, reason) Pst * pst; SpId spId; Reason reason; #endif { TRC3(RgLiTfuSchUbndReq) RETVALUE((*RgLiTfuSchUbndReqMt[pst->selector])(pst, spId, reason)); } /*********************************************************** * * 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 PUBLIC S16 RgLiTfuRecpReq ( Pst * pst, SpId spId, TfuRecpReqInfo * recpReq ) #else PUBLIC S16 RgLiTfuRecpReq(pst, spId, recpReq) Pst * pst; SpId spId; TfuRecpReqInfo * recpReq; #endif { TRC3(RgLiTfuRecpReq) RETVALUE((*RgLiTfuRecpReqMt[pst->selector])(pst, spId, recpReq)); } /*********************************************************** * * 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 PUBLIC S16 RgLiTfuCntrlReq ( Pst * pst, SpId spId, TfuCntrlReqInfo * cntrlReq ) #else PUBLIC S16 RgLiTfuCntrlReq(pst, spId, cntrlReq) Pst * pst; SpId spId; TfuCntrlReqInfo * cntrlReq; #endif { TRC3(RgLiTfuCntrlReq) RETVALUE((*RgLiTfuCntrlReqMt[pst->selector])(pst, spId, cntrlReq)); } /*********************************************************** * * 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 PUBLIC S16 RgLiTfuDatReq ( Pst * pst, SpId spId, TfuDatReqInfo * datReq ) #else PUBLIC S16 RgLiTfuDatReq(pst, spId, datReq) Pst * pst; SpId spId; TfuDatReqInfo * datReq; #endif { TRC3(RgLiTfuDatReq) RETVALUE((*RgLiTfuDatReqMt[pst->selector])(pst, spId, datReq)); } #ifdef L2_OPTMZ /*********************************************************** * * Func : RgLiTfuDelDatReq * * * Desc : This Primitive is used to delete datReq in CL when there is ueId change. * @details: This primitive is required when L2_OPMZ flag is elabed. this is required * To delete datRq PDUs from CL for the Ue for which Ue Id got changed or * anyother similar scenario * @sa TfUiTfuDelDatReq * @param pst * @param spId * @param tfuDelDatReq pointer to TfuDelDatReqInfo * @return * * * Ret : S16 * * Notes: * * File : * **********************************************************/ #ifdef ANSI PUBLIC S16 RgLiTfuDelDatReq ( Pst * pst, SpId spId, TfuDelDatReqInfo * delDatReq ) #else PUBLIC S16 RgLiTfuDelDatReq(pst, spId, delDatReq) Pst * pst; SpId spId; TfuDelDatReqInfo * delDatReq; #endif { TRC3(RgLiTfuDelDatReq) RETVALUE((*RgLiTfuDelDatReqMt[pst->selector])(pst, spId, delDatReq)); } #endif /* L2_OPTMZ*/ #endif /*--ifdef RG--*/ #ifdef PTRGLITFU /*********************************************************** * * Func : PtLiTfuBndReq * * * 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 PUBLIC S16 PtLiTfuBndReq ( Pst * pst, SuId suId, SpId spId ) #else PUBLIC S16 PtLiTfuBndReq(pst, suId, spId) Pst * pst; SuId suId; SpId spId; #endif { TRC3(PtLiTfuBndReq) UNUSED(pst); UNUSED(suId); UNUSED(spId); RETVALUE(ROK); } /*********************************************************** * * Func : PtLiTfuSchBndReq * * * 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 PUBLIC S16 PtLiTfuSchBndReq ( Pst * pst, SuId suId, SpId spId ) #else PUBLIC S16 PtLiTfuSchBndReq(pst, suId, spId) Pst * pst; SuId suId; SpId spId; #endif { TRC3(PtLiTfuSchBndReq) UNUSED(pst); UNUSED(suId); UNUSED(spId); RETVALUE(ROK); } /*********************************************************** * * Func : PtLiTfuUbndReq * * * 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 PUBLIC S16 PtLiTfuUbndReq ( Pst * pst, SpId spId, Reason reason ) #else PUBLIC S16 PtLiTfuUbndReq(pst, spId, reason) Pst * pst; SpId spId; Reason reason; #endif { TRC3(PtLiTfuUbndReq) UNUSED(pst); UNUSED(spId); UNUSED(reason); RETVALUE(ROK); } /*********************************************************** * * Func : PtLiTfuSchUbndReq * * * 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 PUBLIC S16 PtLiTfuSchUbndReq ( Pst * pst, SpId spId, Reason reason ) #else PUBLIC S16 PtLiTfuSchUbndReq(pst, spId, reason) Pst * pst; SpId spId; Reason reason; #endif { TRC3(PtLiTfuSchUbndReq) UNUSED(pst); UNUSED(spId); UNUSED(reason); RETVALUE(ROK); } /*********************************************************** * * Func : PtLiTfuRecpReq * * * 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 PUBLIC S16 PtLiTfuRecpReq ( Pst * pst, SpId spId, TfuRecpReqInfo * recpReq ) #else PUBLIC S16 PtLiTfuRecpReq(pst, spId, recpReq) Pst * pst; SpId spId; TfuRecpReqInfo * recpReq; #endif { TRC3(PtLiTfuRecpReq) UNUSED(pst); UNUSED(spId); UNUSED(recpReq); RETVALUE(ROK); } /*********************************************************** * * Func : PtLiTfuCntrlReq * * * 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 PUBLIC S16 PtLiTfuCntrlReq ( Pst * pst, SpId spId, TfuCntrlReqInfo * cntrlReq ) #else PUBLIC S16 PtLiTfuCntrlReq(pst, spId, cntrlReq) Pst * pst; SpId spId; TfuCntrlReqInfo * cntrlReq; #endif { TRC3(PtLiTfuCntrlReq) UNUSED(pst); UNUSED(spId); UNUSED(cntrlReq); RETVALUE(ROK); } /*********************************************************** * * Func : PtLiTfuDatReq * * * 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 PUBLIC S16 PtLiTfuDatReq ( Pst * pst, SpId spId, TfuDatReqInfo * datReq ) #else PUBLIC S16 PtLiTfuDatReq(pst, spId, datReq) Pst * pst; SpId spId; TfuDatReqInfo * datReq; #endif { TRC3(PtLiTfuDatReq) UNUSED(pst); UNUSED(spId); UNUSED(datReq); RETVALUE(ROK); } #ifdef L2_OPTMZ /*********************************************************** * * Func : PtLiTfuDelDatReq * * * @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 * UE which has been deleted in MAC due to ueId change or anyother scenario * @details The data being sent in this primitive is meant to be transmitted on * @sa TfUiTfuDelDatReq * @param pst * @param spId * @param tfuDelDatReq pointer to TfuDelDatReqInfo * @return * * * Ret : S16 * * Notes: * * File : * **********************************************************/ #ifdef ANSI PUBLIC S16 PtLiTfuDelDatReq ( Pst * pst, SpId spId, TfuDelDatReqInfo * delDatReq ) #else PUBLIC S16 PtLiTfuDelDatReq(pst, spId, delDatReq) Pst * pst; SpId spId; TfuDelDatReqInfo * DelDatReq; #endif { TRC3(PtLiTfuDelDatReq) UNUSED(pst); UNUSED(spId); UNUSED(delDatReq); RETVALUE(ROK); } #endif /*L2_OPTMZ*/ #endif /*--ifdef PTRGLITFU--*/ #ifdef __cplusplus } #endif /* __cplusplus */ /********************************************************************** End of file **********************************************************************/