#include "du_app_mac_inf.h"
#include "rg.x" /* typedefs for MAC */
#include "rlc_mac_inf.h"
+#include "lwr_mac_upr_inf.h"
/**
* @brief Task Activation callback function Entity SM.
* @return void
**/
#ifdef ANSI
-PRIVATE INLINE void rgHdlSMEvents
+static inline void rgHdlSMEvents
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
#else
-PRIVATE INLINE void rgHdlSMEvents(pst, mBuf)
+static inline void rgHdlSMEvents(pst, mBuf)
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
#endif
unpackDuMacCellCfg(MacProcCellCfgReq, pst, mBuf);
break;
case EVENT_MAC_CELL_START_REQ:
- /* Process MAC cell start request */
- unpackMacCellStartReq(MacProcCellStartReq, pst, mBuf);
- break;
- case EVENT_MAC_CELL_STOP_REQ:
- /* Process MAC cell stop request */
- unpackMacCellStopReq(MacProcCellStopReq, pst, mBuf);
- break;
- case EVENT_MAC_DL_CCCH_IND:
- /* Process DL CCCH Ind */
- unpackMacDlCcchInd(MacProcDlCcchInd, pst, mBuf);
- break;
- case EVENT_MAC_UE_CONFIG_REQ:
- /* Process Ue Create Request */
- unpackMacUeCreateReq(MacProcUeCreateReq, pst, mBuf);
- break;
- case EVENT_MAC_UE_RECONFIG_REQ:
- /* Process Ue Reconfig Request */
- unpackMacUeReconfigReq(MacProcUeReconfigReq, pst, mBuf);
- break;
+ /* Process MAC cell start request */
+ unpackMacCellStartReq(MacProcCellStartReq, pst, mBuf);
+ break;
+ case EVENT_MAC_CELL_STOP_REQ:
+ /* Process MAC cell stop request */
+ unpackMacCellStopReq(MacProcCellStopReq, pst, mBuf);
+ break;
+ case EVENT_MAC_DL_CCCH_IND:
+ /* Process DL CCCH Ind */
+ unpackMacDlCcchInd(MacProcDlCcchInd, pst, mBuf);
+ break;
+ case EVENT_MAC_UE_CREATE_REQ:
+ /* Process Ue Create Request */
+ unpackMacUeCreateReq(MacProcUeCreateReq, pst, mBuf);
+ break;
+ case EVENT_MAC_UE_RECONFIG_REQ:
+ /* Process Ue Reconfig Request */
+ unpackMacUeReconfigReq(MacProcUeReconfigReq, pst, mBuf);
+ break;
default:
RG_FREE_MSG(mBuf);
break;
* @return void
**/
#ifdef ANSI
-PRIVATE INLINE void rgHdlNHEvents
+static inline void rgHdlNHEvents
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
#else
-PRIVATE INLINE void rgHdlNHEvents(pst, mBuf)
+static inline void rgHdlNHEvents(pst, mBuf)
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
#endif
* @return void
**/
#ifdef ANSI
-PRIVATE INLINE void rgHdlKWEvents
+static inline void rgHdlKWEvents
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
#else
-PRIVATE INLINE void rgHdlKWEvents(pst, mBuf)
+static inline void rgHdlKWEvents(pst, mBuf)
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
#endif
* @return void
**/
#ifdef ANSI
-PRIVATE INLINE void rgHdlTFEvents
+static inline void rgHdlTFEvents
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
#else
-PRIVATE INLINE void rgHdlTFEvents(pst, mBuf)
+static inline void rgHdlTFEvents(pst, mBuf)
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
#endif
{
switch(pst->event)
{
-#if (defined(LCRGLITFU) || defined(LWLCRGLITFU))
- case EVTTFUBNDCFM:
- cmUnpkTfuBndCfm(RgLiTfuBndCfm, pst, mBuf);
- break;
- case EVTTFUDATIND:
- cmUnpkTfuDatInd(RgLiTfuDatInd, pst, mBuf);
- break;
-#if defined(TENB_T2K3K_SPECIFIC_CHANGES) && defined(LTE_TDD)
- case EVTTFUNONRTIND:
- cmUnpkTfuNonRtInd(RgLiTfuNonRtInd, pst, mBuf);
- break;
-#endif
-#endif
+ case EVENT_SLOT_IND_TO_MAC:
+ unpackSlotInd(fapiMacSlotInd, pst, mBuf);
+ break;
+ case EVENT_STOP_IND_TO_MAC:
+ unpackStopInd(fapiMacStopInd, pst, mBuf);
+ break;
+ case EVENT_RACH_IND_TO_MAC:
+ unpackRachInd(fapiMacRachInd, pst, mBuf);
+ break;
+ case EVENT_CRC_IND_TO_MAC:
+ unpackCrcInd(fapiMacCrcInd, pst, mBuf);
+ break;
+ case EVENT_RX_DATA_IND_TO_MAC:
+ unpackRxDataInd(fapiMacRxDataInd, pst, mBuf);
+ break;
+ case EVENT_UCI_IND_TO_MAC:
+ unpackUciInd(FapiMacUciInd, pst, mBuf);
+ break;
default:
RG_FREE_MSG(mBuf);
break;
* @return void
**/
#ifdef ANSI
-PRIVATE INLINE void rgHdlRGEvents
+static inline void rgHdlRGEvents
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
#else
-PRIVATE INLINE void rgHdlRGEvents(pst, mBuf)
+static inline void rgHdlRGEvents(pst, mBuf)
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
#endif