• 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: hmac_btcoex_notify.c的头文件
15  * Date: 2023-02-01 15:33
16  */
17 #ifndef __HMAC_BTCOEX_NOTIFY_H__
18 #define __HMAC_BTCOEX_NOTIFY_H__
19 
20 #include "hal_ops_common_rom.h"
21 #include "hmac_btcoex.h"
22 #include "mac_vap_ext.h"
23 #include "osal_types.h"
24 
25 #ifdef __cplusplus
26 #if __cplusplus
27 extern "C" {
28 #endif
29 #endif
30 /*****************************************************************************
31   8 ROM预留回调函数类型定义
32 *****************************************************************************/
33 typedef osal_u32 (*hmac_btcoex_update_ps_capability_resv)(hal_to_dmac_device_stru *hal_device,
34     hmac_btcoex_ps_stru *ps_param);
35 /*****************************************************************************
36   10 函数声明
37 *****************************************************************************/
38 osal_void hmac_btcoex_set_freq_and_work_state_hal_device(hal_to_dmac_device_stru *hal_device);
39 
40 osal_void hmac_config_btcoex_assoc_state_proc(hmac_vap_stru *hmac_vap, const ble_status_stru *ble_status,
41     hmac_user_btcoex_delba_stru *btcoex_delba, const bt_status_stru *bt_status,
42     const hal_btcoex_btble_status_stru *btcoex_btble_status);
43 osal_bool hmac_config_btcoex_disassoc_state_syn(osal_void *notify_data);
44 
45 typedef osal_void (*hmac_btcoex_set_wifi_status_irq_notify_cb)(hal_to_dmac_device_stru *hal_device,
46     osal_u8 m2s_mode_mask);
47 typedef osal_void (*hmac_btcoex_notify_inout_siso_cb)(hal_to_dmac_device_stru *hal_device);
48 
49 osal_u32 hmac_btcoex_notify_init(osal_void);
50 osal_void hmac_btcoex_notify_deinit(osal_void);
51 
52 #ifdef __cplusplus
53 #if __cplusplus
54 }
55 #endif
56 #endif
57 
58 #endif /* end of __HMAC_BTCOEX_NOTIFY_H__ */
59