Moving all common header file into common_def.h file
[o-du/l2.git] / src / 5gnrmac / lwr_mac_fsm.h
index e1a3628..b080f9f 100644 (file)
  #   limitations under the License.                                             #
  ################################################################################
  *******************************************************************************/
+
 #ifndef _LWR_MAC_FSM_H_
 #define _LWR_MAC_FSM_H_
+
 #define FAPI_UINT_8   1
 #define FAPI_UINT_16  2
 #define FAPI_UINT_32  4
 #define INVALID_VALUE -1
 
 #include "lwr_mac.h"
-#include "rg_cl_phy.h"
+
+#ifdef INTEL_FAPI
 #include "fapi.h"
+#endif
+
+typedef enum{
+   SI_RNTI_TYPE,
+   RA_RNTI_TYPE,
+   TC_RNTI_TYPE
+}RntiType;
 
 S16 lwr_mac_handleInvalidEvt(void *msg);
 S16 lwr_mac_handleParamReqEvt(void *msg);
-S16 lwr_mac_handleParamRspEvt(fapi_param_resp_t *);
+S16 lwr_mac_handleParamRspEvt(void *msg);
 S16 lwr_mac_handleConfigReqEvt(void *msg);
-S16 lwr_mac_handleConfigRspEvt(fapi_config_resp_t *);
+S16 lwr_mac_handleConfigRspEvt(void *msg);
 S16 lwr_mac_handleStartReqEvt(void *msg);
 S16 lwr_mac_handleStopReqEvt(void *msg);
+void sendToLowerMac(U16, U32, void *);
+void handlePhyMessages(uint16_t msgType, uint32_t msgSize, void *msg);
 
 typedef S16 (*lwrMacFsmHdlr)(void *);
 #endif