Initial commit for Bronze release
[o-du/l2.git] / src / 5gnrmac / lwr_mac_fsm.h
1  /*******************************************************************************
2  ################################################################################
3  #   Copyright (c) [2017-2019] [Radisys]                                        #
4  #                                                                              #
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                                    #
8  #                                                                              #
9  #       http://www.apache.org/licenses/LICENSE-2.0                             #
10  #                                                                              #
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  *******************************************************************************/
18 #ifndef _LWR_MAC_FSM_H_
19 #define _LWR_MAC_FSM_H_
20 #define FAPI_UINT_8   1
21 #define FAPI_UINT_16  2
22 #define FAPI_UINT_32  4
23 #define INVALID_VALUE -1
24
25 #include "lwr_mac.h"
26 #include "rg_cl_phy.h"
27 #include "fapi.h"
28
29 S16 lwr_mac_handleInvalidEvt(void *msg);
30 S16 lwr_mac_handleParamReqEvt(void *msg);
31 S16 lwr_mac_handleParamRspEvt(fapi_param_resp_t *);
32 S16 lwr_mac_handleConfigReqEvt(void *msg);
33 S16 lwr_mac_handleConfigRspEvt(fapi_config_resp_t *);
34 S16 lwr_mac_handleStartReqEvt(void *msg);
35 S16 lwr_mac_handleStopReqEvt(void *msg);
36
37 typedef S16 (*lwrMacFsmHdlr)(void *);
38 #endif
39
40 /**********************************************************************
41          End of file
42 **********************************************************************/
43