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_coex_reg.c. 15 */ 16 17 #ifndef HAL_COEX_REG_H 18 #define HAL_COEX_REG_H 19 20 /***************************************************************************** 21 其他头文件包含 22 *****************************************************************************/ 23 #include "oal_ext_if_rom.h" 24 #include "hal_coex_reg_rom.h" 25 26 #ifdef __cplusplus 27 #if __cplusplus 28 extern "C" { 29 #endif 30 #endif 31 32 #ifdef _PRE_WLAN_FEATURE_BTCOEX 33 34 #undef THIS_FILE_ID 35 #define THIS_FILE_ID DIAG_FILE_ID_WIFI_DEVICE_HAL_COEX_REG_H 36 37 #undef THIS_MOD_ID 38 #define THIS_MOD_ID DIAG_MOD_ID_WIFI_DEVICE 39 osal_void hal_btcoex_init_device(osal_void); 40 osal_u32 hal_btcoex_init(const hal_to_dmac_device_stru *hal_device); 41 osal_u32 hal_btcoex_sw_preempt_init(hal_to_dmac_device_stru *hal_device); 42 osal_bool hal_btcoex_get_bt_run(osal_void); 43 44 #ifdef _PRE_BSLE_GATEWAY 45 osal_void hal_bsle_set_priority(osal_void); 46 #endif 47 48 #endif /* #ifdef _PRE_WLAN_FEATURE_BTCOEX */ 49 50 #ifdef __cplusplus 51 #if __cplusplus 52 } 53 #endif 54 #endif 55 56 #endif 57