WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hmac_encap_frame_ap.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2013-2024. All rights reserved.
3 * 文 件 名 : hmac_encap_frame_ap.h
4 * 生成日期 : 2013年6月28日
5 * 功能描述 : hmac_encap_frame_ap.c 的头文件
6 */
7
8#ifndef __HMAC_ENCAP_FRAME_AP_H__
9#define __HMAC_ENCAP_FRAME_AP_H__
10
11/*****************************************************************************
12 1 其他头文件包含
13*****************************************************************************/
14#include "hmac_user.h"
15#include "hmac_vap.h"
16
17#ifdef __cplusplus
18#if __cplusplus
19extern "C" {
20#endif
21#endif
22
23/*****************************************************************************
24 2 宏定义
25*****************************************************************************/
26typedef enum {
27 /* 加密方式为open */
29 /* 加密方式为wep,处理重传帧 */
31 /* 加密方式为wep,处理非重传帧 */
33 /* 加密方式为open */
35 /* 加密方式为WEP,assoc状态为auth comlete */
37 /* 加密方式为WEP,assoc状态为assoc */
39 /* 什么也不做 */
41
45
46/*****************************************************************************
47 3 枚举定义
48*****************************************************************************/
49
50
51/*****************************************************************************
52 4 全局变量声明
53*****************************************************************************/
54
55
56/*****************************************************************************
57 5 消息头定义
58*****************************************************************************/
59
60
61/*****************************************************************************
62 6 消息定义
63*****************************************************************************/
64
65
66/*****************************************************************************
67 7 STRUCT定义
68*****************************************************************************/
70 /* 收到auth request是否为重传帧 */
72 /* 记录是否为wep */
74 /* 记录认证的类型 */
76 /* 记录函数处理前,user的关联状态 */
80
82 hmac_vap_stru *hmac_vap, \
83 const hmac_auth_rsp_param_stru *auth_rsp_param, \
84 osal_u8 *code, \
85 hmac_user_stru *hmac_user);
86
91/*****************************************************************************
92 8 UNION定义
93*****************************************************************************/
94
95
96/*****************************************************************************
97 9 OTHERS定义
98*****************************************************************************/
99/*****************************************************************************
100 10 函数声明
101*****************************************************************************/
102
104 oal_netbuf_stru *auth_req, osal_u8 *chtxt);
105
107 mac_status_code_enum_uint16 status_code, osal_u8 *asoc_rsp);
108
109#ifdef __cplusplus
110#if __cplusplus
111}
112#endif
113#endif
114
115#endif /* end of hmac_encap_frame_ap.h */
osal_u8 hmac_ap_auth_process_code_enum_uint8
Definition hmac_encap_frame_ap.h:44
hmac_ap_auth_process_code_enum_uint8(* hmac_auth_rsp_fun)(hmac_vap_stru *hmac_vap, const hmac_auth_rsp_param_stru *auth_rsp_param, osal_u8 *code, hmac_user_stru *hmac_user)
Definition hmac_encap_frame_ap.h:81
struct tag_hmac_auth_rsp_handle_stru hmac_auth_rsp_handle_stru
hmac_ap_auth_process_code_enum
Definition hmac_encap_frame_ap.h:26
@ HMAC_AP_AUTH_BUTT
Definition hmac_encap_frame_ap.h:42
@ HMAC_AP_AUTH_SEQ3_OPEN_ANY
Definition hmac_encap_frame_ap.h:34
@ HMAC_AP_AUTH_SEQ3_WEP_ASSOC
Definition hmac_encap_frame_ap.h:38
@ HMAC_AP_AUTH_SEQ3_WEP_COMPLETE
Definition hmac_encap_frame_ap.h:36
@ HMAC_AP_AUTH_SEQ1_OPEN_ANY
Definition hmac_encap_frame_ap.h:28
@ HMAC_AP_AUTH_SEQ1_WEP_NOT_RESEND
Definition hmac_encap_frame_ap.h:30
@ HMAC_AP_AUTH_DUMMY
Definition hmac_encap_frame_ap.h:40
@ HMAC_AP_AUTH_SEQ1_WEP_RESEND
Definition hmac_encap_frame_ap.h:32
osal_u32 hmac_mgmt_encap_asoc_rsp_ap_etc(hmac_vap_stru *hmac_vap, osal_u8 *sta_addr, hmac_user_stru *hmac_user, mac_status_code_enum_uint16 status_code, osal_u8 *asoc_rsp)
struct tag_hmac_auth_rsp_param_stru hmac_auth_rsp_param_stru
osal_u16 hmac_encap_auth_rsp_etc(hmac_vap_stru *hmac_vap, oal_netbuf_stru *auth_rsp, oal_netbuf_stru *auth_req, osal_u8 *chtxt)
osal_u16 mac_status_code_enum_uint16
Definition mac_frame_common_rom.h:216
osal_u8 mac_user_asoc_state_enum_uint8
Definition mac_user_common_rom.h:30
osal_u8 code
Definition oal_net.h:1
osal_u8 oal_bool_enum_uint8
Definition oal_types_device_rom.h:45
unsigned char osal_u8
Definition osal_types.h:11
unsigned int osal_u32
Definition osal_types.h:13
unsigned short osal_u16
Definition osal_types.h:12
Definition mac_user_ext.h:519
Definition mac_vap_ext.h:2019
Definition oal_skbuff.h:82
Definition hmac_encap_frame_ap.h:87
hmac_auth_rsp_fun auth_rsp_fun
Definition hmac_encap_frame_ap.h:89
hmac_auth_rsp_param_stru auth_rsp_param
Definition hmac_encap_frame_ap.h:88
Definition hmac_encap_frame_ap.h:69
osal_u16 auth_type
Definition hmac_encap_frame_ap.h:75
osal_u8 auth_resend
Definition hmac_encap_frame_ap.h:71
oal_bool_enum_uint8 is_wep_allowed
Definition hmac_encap_frame_ap.h:73
mac_user_asoc_state_enum_uint8 user_asoc_state
Definition hmac_encap_frame_ap.h:77
osal_u8 pad[3]
Definition hmac_encap_frame_ap.h:78