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 alg_intf_det.c 15 */ 16 17 #ifndef __HAL_EXT_ANTI_INTF_H__ 18 #define __HAL_EXT_ANTI_INTF_H__ 19 /***************************************************************************** 20 1 头文件包含 21 *****************************************************************************/ 22 #include "osal_types.h" 23 #ifdef __cplusplus 24 #if __cplusplus 25 extern "C" { 26 #endif 27 #endif 28 /***************************************************************************** 29 2 函数声明 30 *****************************************************************************/ 31 #ifdef _PRE_WLAN_FEATURE_ANTI_INTERF 32 osal_void hal_set_agc_unlock_min_th(osal_s8 tx_reg_val, osal_s8 rx_reg_val); 33 osal_void hal_set_nav_max_duration(osal_u16 bss_dur, osal_u32 obss_dur); 34 osal_void hal_get_nav_protect_times(osal_u32 *times); 35 osal_void hal_set_weak_intf_rssi_th(osal_s32 reg_val); 36 osal_void hal_get_cca_reg_th(osal_s8 *ac_reg_val, osal_u32 reg_num); 37 #endif 38 #ifdef __cplusplus 39 #if __cplusplus 40 } 41 #endif 42 #endif 43 44 #endif /* end of hal_ext_anti_intf.h */