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 * 文 件 名 : hmac_protection.h 15 * 生成日期 : 2014年1月18日 16 * 功能描述 : 保护相关 17 */ 18 19 20 #ifndef __HMAC_PROTECTION_H__ 21 #define __HMAC_PROTECTION_H__ 22 23 /***************************************************************************** 24 1 其他头文件包含 25 *****************************************************************************/ 26 #include "mac_vap_ext.h" 27 28 #ifdef __cplusplus 29 #if __cplusplus 30 extern "C" { 31 #endif 32 #endif 33 34 #undef THIS_FILE_ID 35 #define THIS_FILE_ID OAM_FILE_ID_HMAC_PROTECTION_H 36 /***************************************************************************** 37 2 宏定义 38 *****************************************************************************/ 39 40 41 /***************************************************************************** 42 3 枚举定义 43 *****************************************************************************/ 44 45 46 /***************************************************************************** 47 4 全局变量声明 48 *****************************************************************************/ 49 50 51 /***************************************************************************** 52 5 消息头定义 53 *****************************************************************************/ 54 55 56 /***************************************************************************** 57 6 消息定义 58 *****************************************************************************/ 59 60 61 /***************************************************************************** 62 7 STRUCT定义 63 *****************************************************************************/ 64 65 /***************************************************************************** 66 8 UNION定义 67 *****************************************************************************/ 68 69 70 /***************************************************************************** 71 9 OTHERS定义 72 *****************************************************************************/ 73 74 /***************************************************************************** 75 10 函数声明 76 *****************************************************************************/ 77 extern osal_u32 hmac_protection_del_user_etc(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user); 78 extern osal_u32 hmac_user_protection_sync_data(hmac_vap_stru *hmac_vap); 79 osal_s32 hmac_protection_sync(hmac_vap_stru *hmac_vap, wlan_prot_mode_enum_uint8 mode); 80 81 #ifdef __cplusplus 82 #if __cplusplus 83 } 84 #endif 85 #endif 86 87 #endif /* end of hmac_protection.h */ 88