1 /*******************************************************************************
2 ################################################################################
3 # Copyright (c) [2017-2019] [Radisys] #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
17 *******************************************************************************/
19 #ifndef _LWR_MAC_FSM_H_
20 #define _LWR_MAC_FSM_H_
23 #define FAPI_UINT_16 2
24 #define FAPI_UINT_32 4
25 #define INVALID_VALUE -1
39 S16 lwr_mac_handleInvalidEvt(void *msg);
40 S16 lwr_mac_handleParamReqEvt(void *msg);
41 S16 lwr_mac_handleParamRspEvt(void *msg);
42 S16 lwr_mac_handleConfigReqEvt(void *msg);
43 S16 lwr_mac_handleConfigRspEvt(void *msg);
44 S16 lwr_mac_handleStartReqEvt(void *msg);
45 S16 lwr_mac_handleStopReqEvt(void *msg);
46 void sendToLowerMac(U16, U32, void *);
47 uint16_t handleDlTtiReq(CmLteTimingInfo *currTimingInfo);
48 uint16_t handleUlTtiReq(CmLteTimingInfo *currTimingInfo);
49 void handlePhyMessages(uint16_t msgType, uint32_t msgSize, void *msg);
51 typedef S16 (*lwrMacFsmHdlr)(void *);
54 /**********************************************************************
56 **********************************************************************/