WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hmac_opmode.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2016-2023. All rights reserved.
3 * 文 件 名 : hmac_opmode.h
4 * 生成日期 : 2016年9月1日
5 * 功能描述 : hmac_opmode.c 的头文件
6 */
7#ifndef __HMAC_OPMODE_H__
8#define __HMAC_OPMODE_H__
9
10#ifdef _PRE_WLAN_FEATURE_OPMODE_NOTIFY
11
12/*****************************************************************************
13 1 其他头文件包含
14*****************************************************************************/
15#include "oal_ext_if.h"
16#include "hmac_ext_if.h"
17#include "oam_ext_if.h"
18#include "mac_resource_ext.h"
19#include "dmac_ext_if_hcm.h"
20#include "mac_user_ext.h"
21#include "mac_ie.h"
22#include "hmac_vap.h"
23#include "hmac_config.h"
24
25#ifdef __cplusplus
26#if __cplusplus
27extern "C" {
28#endif
29#endif
30
31#undef THIS_FILE_ID
32#define THIS_FILE_ID OAM_FILE_ID_HMAC_OPMODE_H
33/*****************************************************************************
34 2 宏定义
35*****************************************************************************/
36
37
38/*****************************************************************************
39 3 枚举定义
40*****************************************************************************/
41
42
43/*****************************************************************************
44 4 全局变量声明
45*****************************************************************************/
46
47
48/*****************************************************************************
49 5 消息头定义
50*****************************************************************************/
51
52
53/*****************************************************************************
54 6 消息定义
55*****************************************************************************/
56
57
58/*****************************************************************************
59 7 STRUCT定义
60*****************************************************************************/
61typedef osal_void (*encap_opmode_action)(hmac_vap_stru *hmac_vap, oal_netbuf_stru *pst_netbuf, osal_u16 *len,
63
64typedef struct {
65 encap_opmode_action encap_opmode_action_cb;
66} hmac_opmode_cb;
67
68/*****************************************************************************
69 8 UNION定义
70*****************************************************************************/
71
72
73/*****************************************************************************
74 9 OTHERS定义
75*****************************************************************************/
76
77
78/*****************************************************************************
79 10 函数声明
80*****************************************************************************/
81extern osal_u32 hmac_check_opmode_notify_etc(hmac_vap_stru *hmac_vap, osal_u8 *mac_hdr,
82 osal_u8 *payload_offset, osal_u32 msg_len, hmac_user_stru *hmac_user);
83extern osal_u32 hmac_mgmt_rx_opmode_notify_frame_etc(hmac_vap_stru *hmac_vap,
84 hmac_user_stru *hmac_user, oal_netbuf_stru *pst_netbuf);
85extern osal_s32 hmac_config_set_opmode_notify_etc(hmac_vap_stru *hmac_vap, frw_msg *msg);
86
87osal_void hmac_mgmt_encap_opmode_notify_action(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, osal_u16 *len,
89osal_u32 hmac_mgmt_send_opmode_notify_action(hmac_vap_stru *hmac_vap, wlan_nss_enum_uint8 nss,
90 oal_bool_enum_uint8 bool_code);
91osal_u32 hmac_rx_beacon_check_opmode_notify(hmac_vap_stru *hmac_vap, osal_u8 *payload, osal_u32 msg_len,
92 hmac_user_stru *hmac_user);
93osal_u32 hmac_mgmt_rx_opmode_notify_frame(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user,
94 oal_netbuf_stru *netbuf);
95osal_u32 hmac_ie_proc_opmode_notify(hmac_user_stru *hmac_user, hmac_vap_stru *hmac_vap,
96 mac_opmode_notify_stru *opmode_notify);
97
98#ifdef __cplusplus
99#if __cplusplus
100}
101#endif
102#endif
103
104#endif /* end of _PRE_WLAN_FEATURE_OPMODE_NOTIFY */
105
106#endif /* end of hmac_opmode.h */
osal_u8 oal_bool_enum_uint8
Definition oal_types_device_rom.h:45
int osal_s32
Definition osal_types.h:19
unsigned char osal_u8
Definition osal_types.h:11
void osal_void
Definition osal_types.h:29
unsigned int osal_u32
Definition osal_types.h:13
unsigned short osal_u16
Definition osal_types.h:12
Definition frw_msg_rom.h:74
Definition mac_user_ext.h:519
Definition mac_vap_ext.h:2019
Definition mac_frame.h:1352
Definition oal_skbuff.h:82
osal_u8 wlan_nss_enum_uint8
Definition wlan_types_base_rom.h:240