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: 和CHR相关的接口函数实现 15 * Create: 2021-4-10 16 */ 17 18 #ifndef __HMAC_CHR_H__ 19 #define __HMAC_CHR_H__ 20 21 /***************************************************************************** 22 1 其他头文件包含 23 *****************************************************************************/ 24 #include "frw_ext_if.h" 25 #include "frw_hmac.h" 26 #include "hal_mac_reg.h" 27 28 29 #ifdef __cplusplus 30 #if __cplusplus 31 extern "C" { 32 #endif 33 #endif 34 35 #undef THIS_FILE_ID 36 #define THIS_FILE_ID OAM_FILE_ID_HMAC_CHR_H 37 38 #ifdef _PRE_WLAN_FEATURE_DFX_CHR 39 typedef struct { 40 osal_u8 sub_type; 41 osal_char *sub_type_name; 42 osal_u8 reserved[2]; 43 } chr_err_code_info_stru; 44 typedef osal_u8 chr_cali_err_code_enum_uint8; 45 osal_s32 hmac_chr_event_etc(osal_u8 err_code); 46 osal_s32 hmac_config_chr_err_code_test(hmac_vap_stru *hmac_vap, frw_msg *msg); 47 #endif 48 49 #ifdef __cplusplus 50 #if __cplusplus 51 } 52 #endif 53 #endif 54 55 #endif /* end of hmac_chr.h */ 56