• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  * Description: Header file for hal_device_fsm_rom.c.
15  */
16 
17 #ifndef __HAL_DEVICE_FSM_H__
18 #define __HAL_DEVICE_FSM_H__
19 
20 /*****************************************************************************
21     1 头文件包含
22 *****************************************************************************/
23 #include "hal_common_ops.h"
24 #include "hal_device_fsm_rom.h"
25 #ifdef __cplusplus
26 #if __cplusplus
27 extern "C" {
28 #endif
29 #endif
30 
31 /*****************************************************************************
32     函数声明
33 *****************************************************************************/
34 osal_void wlan_msg_h2d_init_rx_dscr(hal_to_dmac_device_stru *hal_device);
35 osal_void wlan_msg_h2d_destory_rx_dscr(hal_to_dmac_device_stru *hal_device);
36 osal_void wlan_msg_h2d_sync_sub_work_to_rf(osal_u8 rf_id);
37 osal_void wlan_msg_h2d_req_sync_pmbit(osal_u8 hal_vap_id, osal_u8 work_sub_state);
38 osal_void wlan_msg_h2d_sync_work_vap_state(osal_u32 work_vap_bitmap);
39 osal_void wlan_msg_h2d_enable_front_end(hal_to_dmac_device_stru *hal_dev, osal_bool enable_paldo);
40 osal_void wlan_msg_h2d_idel_sleep_prepare(osal_void);
41 
42 osal_void hal_device_idle_to_sleep_prepare(hal_to_dmac_device_stru *hal_device, hal_dev_fsm_stru *hal_dev_fsm);
43 
44 #ifdef __cplusplus
45 #if __cplusplus
46 }
47 #endif
48 #endif
49 
50 #endif /* end of hal_device_fsm.h */
51