• 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_csi_rom.c.
15  */
16 
17 #ifndef HAL_CSI_ROM_H
18 #define HAL_CSI_ROM_H
19 
20 /*****************************************************************************
21   1 其他头文件包含
22 *****************************************************************************/
23 #include "osal_types.h"
24 #include "wlan_types_rom.h"
25 #include "hal_device_rom.h"
26 #include "hal_common_ops_rom.h"
27 #include "hh503_phy_reg.h"
28 
29 #ifdef __cplusplus
30 #if __cplusplus
31 extern "C" {
32 #endif
33 #endif
34 
35 /*****************************************************************************
36   宏定义
37 *****************************************************************************/
38 
39 #undef THIS_FILE_ID
40 #define THIS_FILE_ID DIAG_FILE_ID_WIFI_DEVICE_HAL_CSI_ROM_H
41 
42 #undef THIS_MOD_ID
43 #define THIS_MOD_ID DIAG_MOD_ID_WIFI_DEVICE
44 
45 #ifdef _PRE_WLAN_FEATURE_CSI
46 typedef osal_u32 (*hh503_irq_csi_rx_complete_isr_cb)(void);
47 typedef osal_u32 (*hal_csi_keep_mac_pa_open_cb)(void);
48 
49 /*****************************************************************************
50   函数声明
51 *****************************************************************************/
52 osal_void hh503_irq_csi_rx_complete_isr(hal_device_stru *hal_device, osal_u8 data);
53 osal_bool hal_csi_is_open(void);
54 osal_u32 hh503_csi_get_blk_num_cnt(osal_void);
55 #endif
56 
57 #ifdef __cplusplus
58 #if __cplusplus
59 }
60 #endif
61 #endif
62 
63 #endif /* end of hal_csi.h */
64