/******************************************************************************* ################################################################################ # 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. # ################################################################################ *******************************************************************************/ #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 #define CORESET_TYPE0 0 #define CORESET_TYPE1 1 #define CORESET_TYPE2 2 #define CORESET_TYPE3 3 typedef enum{ SI_RNTI_TYPE, RA_RNTI_TYPE, TC_RNTI_TYPE }RntiType; uint8_t lwr_mac_procInvalidEvt(void *msg); uint8_t lwr_mac_procParamReqEvt(void *msg); uint8_t lwr_mac_procParamRspEvt(void *msg); uint8_t lwr_mac_procConfigReqEvt(void *msg); uint8_t lwr_mac_procConfigRspEvt(void *msg); uint8_t lwr_mac_procStartReqEvt(void *msg); uint8_t lwr_mac_procStopReqEvt(void *msg); void sendToLowerMac(uint16_t, uint32_t, void *); void procPhyMessages(uint16_t msgType, uint32_t msgSize, void *msg); typedef uint8_t (*lwrMacFsmHdlr)(void *); #endif /********************************************************************** End of file **********************************************************************/