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: rf customize相关 15 */ 16 17 #ifndef _FE_RF_CUSTOMIZE_H_ 18 #define _FE_RF_CUSTOMIZE_H_ 19 20 #include "cali_outer_hal_if.h" 21 #include "cali_outer_os_if.h" 22 23 #ifdef __cplusplus 24 #if __cplusplus 25 extern "C" { 26 #endif 27 #endif 28 29 #ifdef _PRE_PLAT_FEATURE_CUSTOMIZE 30 // rf相关的定制化参数结构体 31 typedef struct { 32 /* cca ed thr */ 33 hal_cfg_custom_cca_stru cfg_cus_cca; 34 } fe_rf_custom_stru; 35 #endif 36 37 // 获取定制化数据中的cca门限默认值 38 osal_s8 fe_rf_get_customized_cca_ed(osal_u32 cca_ed_type, wlan_channel_band_enum_uint8 band); 39 #ifdef __cplusplus 40 #if __cplusplus 41 } 42 #endif 43 #endif 44 45 #endif 46