*/
typedef struct rguPduInfo
{
- U8 numPdu; /*!< Number of PDUs */
+ uint8_t numPdu; /*!< Number of PDUs */
Buffer *mBuf[RGU_MAX_PDU]; /*!< numPdu data buffers */
} RguPduInfo;
{
S32 bo; /*!< Buffer occupancy reported by RLC */
#ifdef CCPU_OPT
- U16 estRlcHdrSz; /*!< Estimated RLC header size */
+ uint16_t estRlcHdrSz; /*!< Estimated RLC header size */
Bool staPduPrsnt; /*!< Indicates whether the BO includes
a status PDU as well */
#endif
- U32 staPduBo; /*!< Indicates the Status PDU BO.
+ uint32_t staPduBo; /*!< Indicates the Status PDU BO.
This is included in bo */
- U32 oldestSduArrTime;
+ uint32_t oldestSduArrTime;
} RguDBoReport;
/**
CmLteCellId cellId; /*!< CELL ID */
CmLteLcId lcId; /*!< Logical channel ID */
CmLteLcType lcType; /*!< Logical channel Type */
- U32 transId; /*!< Transaction ID */
+ uint32_t transId; /*!< Transaction ID */
#ifdef EMTC_ENABLE
- U8 pnb; /*Paging narrowBand on which UE performs Paging*/
+ uint8_t pnb; /*Paging narrowBand on which UE performs Paging*/
#endif
union{
CmLteTimingInfo timeToTx; /*!< Actual time when PHY transmits
typedef struct rguLchmapInfo
{
CmLteLcId lChId; /*!< Logical channel Id */
- U16 snList[RGU_MAX_LC]; /*!< Set of sequence numbers */
+ uint16_t snList[RGU_MAX_LC]; /*!< Set of sequence numbers */
}RguLchMapInfo;
/**
* @brief Sequence Number mapping info per TB
* */
typedef struct rguSnMapInfo
{
- U32 tbId; /*!< TB id for which sn info map */
- U8 numLch; /*!< Number of Ded Logical Channels */
+ uint32_t tbId; /*!< TB id for which sn info map */
+ uint8_t numLch; /*!< Number of Ded Logical Channels */
RguLchMapInfo lchMap[RGU_MAX_LC]; /*!< LC to SN Mapping Info*/
} RguSnMapInfo;
{
CmLteCellId cellId; /*!< Cell Id*/
CmLteRnti ueId; /*!< ue Id*/
- U8 numTbs; /*!< Number of Tbs present */
+ uint8_t numTbs; /*!< Number of Tbs present */
- U32 tbId[RGU_MAX_TB]; /*!< tbId provided by RLC in
+ uint32_t tbId[RGU_MAX_TB]; /*!< tbId provided by RLC in
DatReq */
- U16 status[RGU_MAX_TB]; /*!< Status back to RLC ACK/NACK*/
+ uint16_t status[RGU_MAX_TB]; /*!< Status back to RLC ACK/NACK*/
} RguHarqStatusInd;
/*
{
CmLteCellId cellId; /*!< Cell Id*/
CmLteRnti rnti; /*!< UE Id*/
- U8 numLcId; /*!< Number of LC Ids configured */
- U8 lcId[RGU_MAX_LC]; /*!< LC ID indices that are
+ uint8_t numLcId; /*!< Number of LC Ids configured */
+ uint8_t lcId[RGU_MAX_LC]; /*!< LC ID indices that are
configured */
Bool enbMeas; /*!< Indication to enable/disable
measurement for the LC ID*/
*/
typedef struct rguDatReqTb
{
- U8 nmbLch; /*!< Number of logical channels of a UE
+ uint8_t nmbLch; /*!< Number of logical channels of a UE
that have data for this TB */
RguLchDatReq lchData[RGU_MAX_LC]; /*!< Data Buffers and BO of
logical channels for this TB */
/* rgu_x_001.main_3 - ADD - L2M Support */
#ifdef LTE_L2_MEAS
- U32 tbId; /*!< RLC's internal tbId maintained
+ uint32_t tbId; /*!< RLC's internal tbId maintained
per UE */
#endif /* LTE_L2_MEAS */
}RguDatReqTb;
typedef struct rguDDatReqPerUe
{
CmLteRnti rnti; /*!< UE ID */
- U32 transId; /*!< Transaction ID */
- U8 nmbOfTbs; /*!< Number of TBs. Relevant for MIMO */
+ uint32_t transId; /*!< Transaction ID */
+ uint8_t nmbOfTbs; /*!< Number of TBs. Relevant for MIMO */
RguDatReqTb datReqTb[2]; /*!< DatReq info for MAX 2 TBs */
} RguDDatReqPerUe;
typedef struct rguDDatReqInfo
{
CmLteCellId cellId; /*!< CELL ID */
- U8 nmbOfUeGrantPerTti; /*!< Number of TBs. Relevant for MIMO */
+ uint8_t nmbOfUeGrantPerTti; /*!< Number of TBs. Relevant for MIMO */
RguDDatReqPerUe datReq[RGU_MAX_NUM_UE_PER_TTI]; /*!< Pointer to DatReq for MAX UEs configured Per TTI */
} RguDDatReqInfo;
*/
typedef struct rgL2MeasUlThrpTimInfo
{
- U32 thrpTimeUl; /*!< Difference in Timing values T1, T2 */
+ uint32_t thrpTimeUl; /*!< Difference in Timing values T1, T2 */
RguL2MUlThrpSegInd firstLastSegInd; /*!< Indication of Data Burst */
}RgL2MeasUlThrpTimInfo;
{
CmLteCellId cellId; /*!< CELL ID */
CmLteRnti rnti; /*!< UE ID */
- U8 numLch; /*!< Number of logical channels within
+ uint8_t numLch; /*!< Number of logical channels within
the UE that has data */
- RguLchDatInd lchData[RGU_MAX_LC]; /*!< Data buffers of logical channels */
+ RguLchDatInd lchData[MAX_NUM_LC]; /*!< Data buffers of logical channels */
#ifdef LTE_L2_MEAS
- U32 ttiCnt; /*!< The Current TTI in the Cell */
- U8 burstInd; /*!< Indicates the Burst Start or End */
+ uint32_t ttiCnt; /*!< The Current TTI in the Cell */
+ uint8_t burstInd; /*!< Indicates the Burst Start or End */
#endif
} RguDDatIndInfo;
CmLteLcType lcType; /*!< Logical channel type */
S32 bo; /*!< Buffer occupancy reported by RLC */
#ifdef EMTC_ENABLE
- U8 emtcDiReason; /*!< Reason for DI message to send. */
- U8 pnb; /*paging narrowBand on which UE will perform paging*/
+ uint8_t emtcDiReason; /*!< Reason for DI message to send. */
+ uint8_t pnb; /*paging narrowBand on which UE will perform paging*/
#endif
union /*!< lcType in the primitive is
the union selector */
{
CmLteCellId cellId; /*!< CELL ID */
CmLteLcId lcId; /*!< Logical channel ID */
- U32 transId; /*!< Transaction ID */
+ uint32_t transId; /*!< Transaction ID */
CmLteRnti rnti; /*!< Temporary CRNTI */
#ifdef EMTC_ENABLE
Bool isEmtcPaging; /*!< To Identify whether Paging is EMTC or Lagecy */
*/
typedef struct rguStaIndTb
{
- U8 nmbLch; /*!< Number of logical channels scheduled
+ uint8_t nmbLch; /*!< Number of logical channels scheduled
for this TB */
RguLchStaInd lchStaInd[RGU_MAX_LC];/*!< Buffer size allocated for scheduled
logical channels for this TB */
#ifdef LTE_L2_MEAS
- U32 tbId; /*!< RLC internal TB id */
- U16 status; /*!< Status back to RLC ACK/NACK/RGU_NACK_LOSS */
+ uint32_t tbId; /*!< RLC internal TB id */
+ uint16_t status; /*!< Status back to RLC ACK/NACK/RGU_NACK_LOSS */
#endif
}RguStaIndTb;
/**
typedef struct rguDStaIndPerUe
{
CmLteRnti rnti; /*!< UE ID */
- U32 transId; /*!< Transaction ID */
- U8 nmbOfTbs; /*!< Number of TBs. Relevant for MIMO */
+ uint32_t transId; /*!< Transaction ID */
+ uint8_t nmbOfTbs; /*!< Number of TBs. Relevant for MIMO */
RguStaIndTb staIndTb[2]; /*!< StaInd info for MAX 2 TBs */
Bool fillCtrlPdu; /*!< Flag to fill RLC control PDU */
} RguDStaIndPerUe;
typedef struct rguDStaIndInfo
{
CmLteCellId cellId; /*!< CELL ID */
- U8 nmbOfUeGrantPerTti; /*!< Number of TBs. Relevant for MIMO */
+ uint8_t nmbOfUeGrantPerTti; /*!< Number of TBs. Relevant for MIMO */
RguDStaIndPerUe staInd[RGU_MAX_NUM_UE_PER_TTI]; /*!< StaInd info for MAX number of UEs per TTI */
} RguDStaIndInfo;
typedef struct rguLcFlowCntrlInfo
{
CmLteLcId lcId;
- U32 pktAdmitCnt;
- U32 maxBo4FlowCtrl; /*!< MAX BO of Queued SDUs at RLC beyond which Flow is Controlled */
+ uint32_t pktAdmitCnt;
+ uint32_t maxBo4FlowCtrl; /*!< MAX BO of Queued SDUs at RLC beyond which Flow is Controlled */
}RguLcFlowCntrlInfo;
/**
typedef struct rguUeFlowCntrlInfo
{
CmLteRnti ueId;
- U32 numLcs;
+ uint32_t numLcs;
RguLcFlowCntrlInfo lcInfo[RGU_MAX_LC];
}RguUeFlowCntrlInfo;
typedef struct rguFlowCntrlInd
{
CmLteCellId cellId; /*!< CELL ID */
- U32 numUes;
+ uint32_t numUes;
RguUeFlowCntrlInfo ueFlowCntrlInfo[RGU_MAX_NUM_UE_PER_TTI];
}RguFlowCntrlInd;
typedef struct rguInfoRingElem
{
SpId spId;
- U8 event;
+ uint8_t event;
Void *msg;
}RguInfoRingElem;
-/* Buffer occupancy status information */
-typedef struct rlcMacBOStatus
-{
- CmLteCellId cellId; /*!< CELL ID */
- CmLteRnti rnti; /*!< UE ID */
- Bool commCh; /*!< Common or Dedicated Channel */
- CmLteLcId lcId; /*!< Logical channel ID */
- S32 bo; /*!< Buffer occupancy reported by RLC */
-}RlcMacBOStatus;
-
-/* Schedule result report from RLC to MAC */
-typedef struct rlcMacLchSta
-{
- Bool commCh; /*!<Common or Dedicated Channel */
- RguLchStaInd lchStaInd; /*!<Buffer size allocated for logical channel */
-}RlcMacLchSta;
-
-typedef struct rlcMacSchedRep
-{
- CmLteTimingInfo timeToTx; /*!< Air interface time */
- CmLteCellId cellId; /*!< CELL ID */
- CmLteRnti rnti; /*!< Temporary CRNTI */
- U8 nmbLch; /*!< Number of logical channels scheduled */
- RlcMacLchSta lchSta[RGU_MAX_LC]; /*!< Scheduled info of logical channels */
-}RlcMacSchedRepInfo;
-
-/* UL Data i.e. RLC PDU info from RLC to MAC */
-typedef struct rlcMacPduInfo
-{
- Bool commCh; /*!<Common or Dedicated Channel */
- CmLteLcId lcId; /*!< Logical channel ID */
- MsgLen pduLen; /*!< PDU Length */
- uint8_t *pduBuf; /*!< RLC PDU buffer */
-}RlcMacPduInfo;
-
-typedef struct rlcMacData
-{
- CmLteCellId cellId; /*!< CELL ID */
- CmLteRnti rnti; /*!< Temporary CRNTI */
- SlotIndInfo slotInfo; /*!< Timing info */
- U8 numPdu; /*!< Number of RLC PDUs */
- RlcMacPduInfo pduInfo[RGU_MAX_PDU];
-}RlcMacData;
-
-
/***********************************************************************
type definitions for upper layer interface - RLC primitives
***********************************************************************/
typedef S16 (*RguBndCfm) ARGS((
Pst* pst,
SuId suId,
- U8 status));
+ uint8_t status));
/** @brief Data Request from RLC to MAC for forwarding SDUs on common
* channel for transmission */
typedef S16 (*RguCDatReq) ARGS((
SpId spId,
RguDDatReqInfo *datReq));
-typedef uint16_t (*RlcMacDlData) ARGS((
- Pst* pst,
- SpId spId,
- RlcMacData *dlData));
/** @brief Data Indication from MAC to RLC to
* forward the data received for common channels */
typedef S16 (*RguCDatInd) ARGS((
SuId suId,
RguDDatIndInfo *datInd));
-typedef uint8_t (*RlcMacUlDataFunc) ARGS((
- Pst* pst,
- RlcMacData *ulData));
/** @brief Status Response from RLC to MAC to
* inform the BO report for common channels */
typedef S16 (*RguCStaRsp) ARGS((
SpId spId,
RguDStaRspInfo * staRsp));
-typedef uint16_t (*RlcMacBoStatus) ARGS((
- Pst* pst,
- SpId spId,
- RlcMacBOStatus *boStatus));
-
/** @brief Status Indication from MAC to RLC
* as a response to the staRsp primitive from RLC */
typedef S16 (*RguCStaInd) ARGS((
SuId suId,
RguDStaIndInfo * staInd));
-typedef uint16_t (*RlcMacSchedRep) ARGS((
- Pst* pst,
- SuId suId,
- RlcMacSchedRepInfo *schRep));
-
typedef S16 (*RguFlowCntrlIndInfo) ARGS((
Pst *pst,
SuId suId,
* @param spId SAP ID of the service provider.
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRguBndReq ARGS((Pst* pst,SuId suId,SpId spId));
+S16 RgUiRguBndReq ARGS((Pst* pst,SuId suId,SpId spId));
/** @brief Unbind Request from RLC to MAC to unbind the interface SAPs
* @param pst Pointer to the post structure.
* @param spId SAP ID of the service provider.
* @param reason Reason for unbind request.
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRguUbndReq ARGS((Pst* pst,SpId spId,Reason reason));
+S16 RgUiRguUbndReq ARGS((Pst* pst,SpId spId,Reason reason));
/** @brief Bind Confirmation from MAC to RLC for the bind and unbind
* request for the interface SAPs
* @param pst Pointer to the post structure.
* @param status Status of the bind request.
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRguBndCfm ARGS((Pst* pst,SuId suId,U8 status));
+S16 RgUiRguBndCfm ARGS((Pst* pst,SuId suId,uint8_t status));
/** @brief Data Request from RLC to MAC for forwarding SDUs on common
* channel for transmission
* @param pst Pointer to the post structure.
* @param datReq Data request for common channels (BCCH, PCCH and CCCH).
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRguCDatReq ARGS((Pst* pst,SpId spId,RguCDatReqInfo *datReq));
+S16 RgUiRguCDatReq ARGS((Pst* pst,SpId spId,RguCDatReqInfo *datReq));
/** @brief Data Request from RLC to MAC for forwarding SDUs on
* dedicated channel for transmission
* @param pst Pointer to the post structure.
* @param datReq Data request for dedicated channels (DCCH and DTCH).
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRguDDatReq ARGS((Pst* pst,SpId spId,RguDDatReqInfo *datReq));
-
-EXTERN uint16_t MacRlcProcDlData(Pst* pst, SpId spId, RlcMacData *dlData);
+S16 RgUiRguDDatReq ARGS((Pst* pst,SpId spId,RguDDatReqInfo *datReq));
/** @brief Data Indication from MAC to RLC to
* forward the data received for common channels
* @param datInd Data indication on CCCH.
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRguCDatInd ARGS((Pst* pst,SuId suId,RguCDatIndInfo *datInd));
+S16 RgUiRguCDatInd ARGS((Pst* pst,SuId suId,RguCDatIndInfo *datInd));
/** @brief Data Indication from MAC to RLC to
* forward the data received for dedicated channels
* @param pst Pointer to the post structure.
* @param datInd Data indication on dedicated channels (DCCH and DTCH).
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRguDDatInd ARGS((Pst* pst,SuId suId,RguDDatIndInfo *datInd));
+S16 RgUiRguDDatInd ARGS((Pst* pst,SuId suId,RguDDatIndInfo *datInd));
/** @brief Status Response from RLC to MAC to
* inform the BO report for common channels
* @param pst Pointer to the post structure.
* @param staRsp Status response for common channels (BCCH, PCCH and CCCH).
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRguCStaRsp ARGS((Pst* pst,SpId spId,RguCStaRspInfo *staRsp));
+S16 RgUiRguCStaRsp ARGS((Pst* pst,SpId spId,RguCStaRspInfo *staRsp));
/** @brief Status Response from RLC to MAC to
* inform the BO report for dedicated channels
* @param pst Pointer to the post structure.
* @param staRsp Status response for dedicated channels (DCCH and DTCH).
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRguDStaRsp ARGS((Pst* pst,SpId spId,RguDStaRspInfo *staRsp));
-
-EXTERN uint16_t MacRlcProcBOStatus(Pst* pst, SpId spId, RlcMacBOStatus* boStatus);
+S16 RgUiRguDStaRsp ARGS((Pst* pst,SpId spId,RguDStaRspInfo *staRsp));
/** @brief Status Indication from MAC to RLC
* as a response to the staRsp primitive from RLC.
* @param staInd Status indication on common channels (BCCH, PCCH and CCCH).
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRguCStaInd ARGS((Pst* pst,SuId suId,RguCStaIndInfo *staInd));
+S16 RgUiRguCStaInd ARGS((Pst* pst,SuId suId,RguCStaIndInfo *staInd));
/** @brief Status Indication from MAC to RLC
* as a response to the staRsp primitive from RLC.
* @param pst Pointer to the post structure.
* @param staInd Status indication on dedicated channels (DCCH and DTCH).
* @return ROK/RFAILED
*/
-EXTERN S16 RgUiRguDStaInd ARGS((Pst* pst,SuId suId,RguDStaIndInfo *staInd));
+S16 RgUiRguDStaInd ARGS((Pst* pst,SuId suId,RguDStaIndInfo *staInd));
/** @brief flow control indication from MAC to RLC */
-EXTERN S16 RgUiRguFlowCntrlInd ARGS((Pst *pst, SuId suId,
+S16 RgUiRguFlowCntrlInd ARGS((Pst *pst, SuId suId,
RguFlowCntrlInd *flowCntrlInd));
/*rgu_x_001.main_3 - ADD - L2M & R9 Support */
#ifdef LTE_L2_MEAS
/** @brief HARQ Status Indication from MAC to RLC
* as a response to the Data Req from RLC.
* Informs HARQ feedback for the TB with sn mapping info. */
-EXTERN S16 RgUiRguHqStaInd ARGS((Pst* pst,SuId suId,
+S16 RgUiRguHqStaInd ARGS((Pst* pst,SuId suId,
RguHarqStatusInd *harqStatusInd));
/** @brief Request for measuring the timing Info for a LC from RLC to MAC
* When the status is ON then Timing Info for data bursts
* shall be captured and provided to RLC on DDatInd. */
-EXTERN S16 RgUiRguL2MUlThrpMeasReq ARGS((Pst* pst,SpId spId,
+S16 RgUiRguL2MUlThrpMeasReq ARGS((Pst* pst,SpId spId,
RguL2MUlThrpMeasReqInfo *l2mUlThrpMeasReq));
#endif /* LTE_L2_MEAS */
#ifdef KW
/** @brief Request from RLC to MAC to bind the interface saps */
-EXTERN S16 RlcLiRguBndReq ARGS((
+S16 RlcLiRguBndReq ARGS((
Pst* pst,
SuId suId,
SpId spId
));
/** @brief Request from RLC to MAC to Unbind the interface saps */
-EXTERN S16 RlcLiRguUbndReq ARGS((
+S16 RlcLiRguUbndReq ARGS((
Pst* pst,
SpId spId,
Reason reason
));
/** @brief Confirmation from MAC to RLC for the bind/Unbind
* request for the interface saps */
-EXTERN S16 RlcLiRguBndCfm ARGS((
+S16 RlcLiRguBndCfm ARGS((
Pst* pst,
SuId suId,
- U8 status
+ uint8_t status
));
/** @brief Request from RLC to MAC for forwarding SDUs on common
* channel for transmission */
-EXTERN S16 RlcLiRguCDatReq ARGS((
+S16 RlcLiRguCDatReq ARGS((
Pst* pst,
SpId spId,
RguCDatReqInfo * datReq
));
-/** @brief Request from RLC to MAC for forwarding SDUs on
- * dedicated channel for transmission */
-EXTERN S16 RlcMacSendDlData ARGS((
- Pst* pst,
- SpId spId,
- RlcMacData * datReq
-));
-/** @brief Handler toprocess UL data from MAC and
- * forwarding to appropriate common/dedicated
- * channel's handler */
-EXTERN uint8_t RlcProcUlData ARGS((
- Pst* pst,
- RlcMacData *ulData
-));
-
-/** @brief Data Indication from MAC to RLC to
- * forward the data received for common channels*/
-EXTERN S16 RlcLiRguCDatInd ARGS((
- Pst* pst,
- SuId suId,
- RguCDatIndInfo * datInd
-));
-/** @brief Data Indication from MAC to RLC to
- * forward the data received for dedicated channels*/
-EXTERN S16 RlcLiRguDDatInd ARGS((
- Pst* pst,
- SuId suId,
- RguDDatIndInfo * datInd
-));
/** @brief Primitive invoked from RLC to MAC to
* inform the BO report for common channels*/
-EXTERN S16 RlcLiRguCStaRsp ARGS((
+S16 RlcLiRguCStaRsp ARGS((
Pst* pst,
SpId spId,
RguCStaRspInfo * staRsp
));
-/** @brief Primitive invoked from RLC to MAC to
- * inform the BO report for dedicated channels*/
-EXTERN S16 RlcMacSendBOStatus ARGS((
- Pst* pst,
- SpId spId,
- RlcMacBOStatus* boSta
-));
-
-/**@brief Primitive invoked from MAC to RLC to
- * inform scheduling result for logical channels */
-EXTERN uint16_t RlcMacProcSchedRep ARGS((
- Pst* pst,
- SuId suId,
- RlcMacSchedRepInfo *schRep
-));
-/** @brief Status Indication from MAC to RLC
- * as a response to the staRsp primitive from RLC.
- * Informs RLC of the totalBufferSize and Timing Info
- * for the transmission on common channels. */
-EXTERN S16 RlcLiRguCStaInd ARGS((
- Pst* pst,
- SuId suId,
- RguCStaIndInfo * staInd
-));
-/** @brief Status Indication from MAC to RLC
- * as a response to the staRsp primitive from RLC.
- * Informs RLC of the totalBufferSize and Timing Info
- * for the transmission on dedicated channels. */
-EXTERN S16 RlcLiRguDStaInd ARGS((
- Pst* pst,
- SuId suId,
- RguDStaIndInfo * staInd
-));
#ifdef LTE_L2_MEAS
/** @brief HARQ Status Indication from MAC to RLC
* as a response to the Data Req from RLC.
* Informs HARQ feedback for the PDU with sn. */
-EXTERN S16 RlcLiRguHqStaInd ARGS((
+S16 RlcLiRguHqStaInd ARGS((
Pst* pst,
SuId suId,
RguHarqStatusInd *harqStatusInd));
/** @brief Request for measuring the timing Info for a LC from RLC to MAC
* When the status is ON then Timing Info for data bursts
* shall be captured and provided to RLC on DDatInd. */
-EXTERN S16 RlcLiRguL2MUlThrpMeasReq ARGS((
+S16 RlcLiRguL2MUlThrpMeasReq ARGS((
Pst* pst,
SpId spId,
RguL2MUlThrpMeasReqInfo *l2mUlThrpMeasReq));
#endif /* LTE_L2_MEAS */
/** @brief flowCntrl Indication from MAC to RLC */
-EXTERN S16 RlcLiRguFlowCntrlInd ARGS((
+S16 RlcLiRguFlowCntrlInd ARGS((
Pst *pst,
SuId suId,
RguFlowCntrlInd *flowCntrlInd
#ifdef LCRGU
/** @brief Request from RLC to MAC to bind the interface saps */
-EXTERN S16 cmPkRguBndReq ARGS((
+S16 cmPkRguBndReq ARGS((
Pst* pst,
SuId suId,
SpId spId
));
/** @brief Request from RLC to MAC to bind the interface saps */
-EXTERN S16 cmUnpkRguBndReq ARGS((
+S16 cmUnpkRguBndReq ARGS((
RguBndReq func,
Pst* pst,
Buffer *mBuf
));
/** @brief Request from RLC to MAC to Unbind the interface saps */
-EXTERN S16 cmPkRguUbndReq ARGS((
+S16 cmPkRguUbndReq ARGS((
Pst* pst,
SpId spId,
Reason reason
));
/** @brief Request from RLC to MAC to Unbind the interface saps */
-EXTERN S16 cmUnpkRguUbndReq ARGS((
+S16 cmUnpkRguUbndReq ARGS((
RguUbndReq func,
Pst* pst,
Buffer *mBuf
));
/** @brief Confirmation from MAC to RLC for the bind/Unbind
* request for the interface saps */
-EXTERN S16 cmPkRguBndCfm ARGS((
+S16 cmPkRguBndCfm ARGS((
Pst* pst,
SuId suId,
- U8 status
+ uint8_t status
));
/** @brief Confirmation from MAC to RLC for the bind/Unbind
* request for the interface saps */
-EXTERN S16 cmUnpkRguBndCfm ARGS((
+S16 cmUnpkRguBndCfm ARGS((
RguBndCfm func,
Pst* pst,
Buffer *mBuf
));
/** @brief Request from RLC to MAC for forwarding SDUs on common
* channel for transmission */
-EXTERN S16 cmPkRguCDatReq ARGS((
+S16 cmPkRguCDatReq ARGS((
Pst* pst,
SpId spId,
RguCDatReqInfo * datReq
));
/** @brief Request from RLC to MAC for forwarding SDUs on common
* channel for transmission */
-EXTERN S16 cmUnpkRguCDatReq ARGS((
+S16 cmUnpkRguCDatReq ARGS((
RguCDatReq func,
Pst* pst,
Buffer *mBuf
));
-/** @brief Request from RLC to MAC for forwarding SDUs on
- * dedicated channel for transmission */
-EXTERN uint16_t packDlData ARGS((
- Pst* pst,
- SpId spId,
- RlcMacData * datReq
-));
-/** @brief Request from RLC to MAC for forwarding SDUs on
- * dedicated channel for transmission */
-EXTERN S16 unpackDlData ARGS((
- RlcMacDlData func,
- Pst* pst,
- Buffer *mBuf
-));
+
/** @brief Data Indication from MAC to RLC to
* forward the data received for common channels*/
-EXTERN S16 cmPkRguCDatInd ARGS((
+S16 cmPkRguCDatInd ARGS((
Pst* pst,
SuId suId,
RguCDatIndInfo * datInd
));
/** @brief Data Indication from MAC to RLC to
* forward the data received for common channels*/
-EXTERN S16 cmUnpkRguCDatInd ARGS((
+S16 cmUnpkRguCDatInd ARGS((
RguCDatInd func,
Pst* pst,
Buffer *mBuf
));
-/** @brief Data Indication from MAC to RLC to
- * forward the data received for dedicated channels*/
-EXTERN uint8_t packRlcUlData ARGS((
- Pst* pst,
- RlcMacData * ulData
-));
-/** @brief Data Indication from MAC to RLC to
- * forward the data received for dedicated channels*/
-EXTERN uint8_t unpackRcvdUlData ARGS((
- RlcMacUlDataFunc func,
- Pst* pst,
- Buffer *mBuf
-));
+
/** @brief Primitive invoked from RLC to MAC to
* inform the BO report for common channels*/
-EXTERN S16 cmPkRguCStaRsp ARGS((
+S16 cmPkRguCStaRsp ARGS((
Pst* pst,
SpId spId,
RguCStaRspInfo * staRsp
));
/** @brief Primitive invoked from RLC to MAC to
* inform the BO report for common channels*/
-EXTERN S16 cmUnpkRguCStaRsp ARGS((
+S16 cmUnpkRguCStaRsp ARGS((
RguCStaRsp func,
Pst* pst,
Buffer *mBuf
));
-/** @brief Primitive invoked from RLC to MAC to
- * inform the BO report for dedicated channels*/
-EXTERN uint16_t packBOStatus ARGS((
- Pst* pst,
- SpId spId,
- RlcMacBOStatus* boStatus
-));
-/** @brief Primitive invoked from RLC to MAC to
- * inform the BO report for dedicated channels*/
-EXTERN uint16_t unpackBOStatus ARGS((
- RlcMacBoStatus func,
- Pst* pst,
- Buffer *mBuf
-));
+
/** @brief Status Indication from MAC to RLC
* as a response to the staRsp primitive from RLC.
* Informs RLC of the totalBufferSize and Timing Info
* for the transmission on common channels. */
-EXTERN S16 cmPkRguCStaInd ARGS((
+S16 cmPkRguCStaInd ARGS((
Pst* pst,
SuId suId,
RguCStaIndInfo * staInd
* as a response to the staRsp primitive from RLC.
* Informs RLC of the totalBufferSize and Timing Info
* for the transmission on common channels. */
-EXTERN S16 cmUnpkRguCStaInd ARGS((
+S16 cmUnpkRguCStaInd ARGS((
RguCStaInd func,
Pst* pst,
Buffer *mBuf
));
-/** @brief Status Indication from MAC to RLC
- * as a response to the staRsp primitive from RLC.
- * Informs RLC of the totalBufferSize and Timing Info
- * for the transmission on dedicated channels. */
-EXTERN S16 packSchedRep ARGS((
- Pst* pst,
- SuId suId,
- RlcMacSchedRepInfo *staInd
-));
-EXTERN S16 cmPkRguFlowCntrlInfo ARGS((
+
+S16 cmPkRguFlowCntrlInfo ARGS((
RguFlowCntrlInd *param,
Buffer *mBuf
));
-EXTERN S16 cmPkRguUeFlowCntrlInfo ARGS((
+S16 cmPkRguUeFlowCntrlInfo ARGS((
RguUeFlowCntrlInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmPkRguLcFlowCntrlInfo ARGS((
+S16 cmPkRguLcFlowCntrlInfo ARGS((
RguLcFlowCntrlInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguLcFlowCntrlInfo ARGS((
+S16 cmUnpkRguLcFlowCntrlInfo ARGS((
RguLcFlowCntrlInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguUeFlowCntrlInfo ARGS((
+S16 cmUnpkRguUeFlowCntrlInfo ARGS((
RguUeFlowCntrlInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguFlowCntrlInfo ARGS((
+S16 cmUnpkRguFlowCntrlInfo ARGS((
RguFlowCntrlInd *param,
Buffer *mBuf
));
-/** @brief Status Indication from MAC to RLC
- * as a response to the staRsp primitive from RLC.
- * Informs RLC of the totalBufferSize and Timing Info
- * for the transmission on dedicated channels. */
-EXTERN S16 unpackSchedRep ARGS((
- RlcMacSchedRep func,
- Pst* pst,
- Buffer *mBuf
-));
-EXTERN S16 cmPkRguPduInfo ARGS((
+
+S16 cmPkRguPduInfo ARGS((
RguPduInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguPduInfo ARGS((
+S16 cmUnpkRguPduInfo ARGS((
RguPduInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmPkRguDBoReport ARGS((
+S16 cmPkRguDBoReport ARGS((
RguDBoReport *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguDBoReport ARGS((
+S16 cmUnpkRguDBoReport ARGS((
RguDBoReport *param,
Buffer *mBuf
));
-EXTERN S16 cmPkRguCDatReqInfo ARGS((
+S16 cmPkRguCDatReqInfo ARGS((
RguCDatReqInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguCDatReqInfo ARGS((
+S16 cmUnpkRguCDatReqInfo ARGS((
RguCDatReqInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmPkRguLchDatReq ARGS((
+S16 cmPkRguLchDatReq ARGS((
RguLchDatReq *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguLchDatReq ARGS((
+S16 cmUnpkRguLchDatReq ARGS((
RguLchDatReq *param,
Buffer *mBuf
));
-EXTERN S16 cmPkRguDatReqTb ARGS((
+S16 cmPkRguDatReqTb ARGS((
RguDatReqTb *param,
Buffer *mBuf
));
-EXTERN S16 cmPkRguStaIndTb ARGS((
+S16 cmPkRguStaIndTb ARGS((
RguStaIndTb *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguStaIndTb ARGS((
+S16 cmUnpkRguStaIndTb ARGS((
RguStaIndTb *param,
Buffer *mBuf
));
/* rgu_x_001.main_3 - ADD - L2M Support */
#ifdef LTE_L2_MEAS
-EXTERN S16 cmPkRguDDatReqInfo ARGS((
+S16 cmPkRguDDatReqInfo ARGS((
Pst *pst,
RguDDatReqInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguDDatReqInfo ARGS((
+S16 cmUnpkRguDDatReqInfo ARGS((
Pst *pst,
RguDDatReqInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguDatReqTb ARGS((
+S16 cmUnpkRguDatReqTb ARGS((
Pst *pst,
RguDatReqTb *param,
Buffer *mBuf
));
#else
-EXTERN S16 cmPkRguDDatReqInfo ARGS((
+S16 cmPkRguDDatReqInfo ARGS((
RguDDatReqInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguDDatReqInfo ARGS((
+S16 cmUnpkRguDDatReqInfo ARGS((
RguDDatReqInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguDatReqTb ARGS((
+S16 cmUnpkRguDatReqTb ARGS((
RguDatReqTb *param,
Buffer *mBuf
));
#endif
-EXTERN S16 cmPkRguCDatIndInfo ARGS((
+S16 cmPkRguCDatIndInfo ARGS((
RguCDatIndInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguCDatIndInfo ARGS((
+S16 cmUnpkRguCDatIndInfo ARGS((
RguCDatIndInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmPkRguLchDatInd ARGS((
+S16 cmPkRguLchDatInd ARGS((
RguLchDatInd *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguLchDatInd ARGS((
+S16 cmUnpkRguLchDatInd ARGS((
RguLchDatInd *param,
Buffer *mBuf
));
-EXTERN S16 packRlcMacDataInfo ARGS((
- RlcMacData *param,
- Buffer *mBuf
-));
-EXTERN S16 unpackRlcMacDataInfo ARGS((
- RlcMacData *param,
- Buffer *mBuf
-));
-EXTERN S16 cmPkRguCStaRspInfo ARGS((
+S16 cmPkRguCStaRspInfo ARGS((
RguCStaRspInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguCStaRspInfo ARGS((
+S16 cmUnpkRguCStaRspInfo ARGS((
RguCStaRspInfo *param,
Buffer *mBuf
));
-EXTERN S16 packBOStatusInfo ARGS((
- RlcMacBOStatus *param,
- Buffer *mBuf
-));
-EXTERN S16 unpackBOStatusInfo ARGS((
- RlcMacBOStatus *param,
- Buffer *mBuf
-));
-EXTERN S16 cmPkRguCStaIndInfo ARGS((
+
+S16 cmPkRguCStaIndInfo ARGS((
RguCStaIndInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguCStaIndInfo ARGS((
+S16 cmUnpkRguCStaIndInfo ARGS((
RguCStaIndInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmPkRguLchStaInd ARGS((
+S16 cmPkRguLchStaInd ARGS((
RguLchStaInd *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguLchStaInd ARGS((
+S16 cmUnpkRguLchStaInd ARGS((
RguLchStaInd *param,
Buffer *mBuf
));
-EXTERN S16 packSchedRepInfo ARGS((
- RlcMacSchedRepInfo *param,
- Buffer *mBuf
-));
-EXTERN S16 unpackSchedRepInfo ARGS((
- RlcMacSchedRepInfo *param,
- Buffer *mBuf
-));
-
+
/*rgu_x_001.main_3 - ADD - L2M & R9 Support */
#ifdef LTE_L2_MEAS
/** @brief Request from MAC to RLC for forwarding HARQ Status */
-EXTERN S16 cmPkRguHqStaInd ARGS((
+S16 cmPkRguHqStaInd ARGS((
Pst* pst,
SpId spId,
RguHarqStatusInd *harqStatusInd));
/** @brief Request from MAC to RLC forwarding HARQ status */
-EXTERN S16 cmUnpkRguHqStaInd ARGS((
+S16 cmUnpkRguHqStaInd ARGS((
RguHqStaInd func,
Pst* pst,
Buffer *mBuf
/** @brief Primitive invoked from RLC to MAC to
* * inform the On/Off Status of LC Id*/
-EXTERN S16 cmPkRguL2MUlThrpMeasReq ARGS((
+S16 cmPkRguL2MUlThrpMeasReq ARGS((
Pst* pst,
SpId spId,
RguL2MUlThrpMeasReqInfo* measReq
/** @brief Primitive invoked from RLC to MAC to
* * inform the On/Off Status of LC Id*/
-EXTERN S16 cmUnpkRguL2MUlThrpMeasReq ARGS((
+S16 cmUnpkRguL2MUlThrpMeasReq ARGS((
RguL2MUlThrpMeasReq func,
Pst* pst,
Buffer *mBuf
));
-EXTERN S16 cmPkRguL2MUlThrpMeasReqInfo ARGS((
+S16 cmPkRguL2MUlThrpMeasReqInfo ARGS((
RguL2MUlThrpMeasReqInfo *param,
Buffer *mBuf
));
-EXTERN S16 cmUnpkRguL2MUlThrpMeasReqInfo ARGS((
+S16 cmUnpkRguL2MUlThrpMeasReqInfo ARGS((
RguL2MUlThrpMeasReqInfo *param,
Buffer *mBuf
));
#endif /* LTE_L2_MEAS */
-EXTERN S16 cmUnpkRguFlowCntrlInd ARGS((
+S16 cmUnpkRguFlowCntrlInd ARGS((
RguFlowCntrlIndInfo func,
Pst *pst,
Buffer *mBuf
));
-EXTERN S16 cmPkRguFlowCntrlInd ARGS((
+S16 cmPkRguFlowCntrlInd ARGS((
Pst* pst,
SuId suId,
RguFlowCntrlInd *flowCntrlInd