WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
wlan_types_rom.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2020-2022. All rights reserved.
3 * Description: Header file of commom message.
4 */
5
6#ifndef WLAN_TYPES_ROM_H
7#define WLAN_TYPES_ROM_H
8
9/*****************************************************************************
10 1 其他头文件包含
11*****************************************************************************/
12#include "oal_ext_if_rom.h"
13#include "oal_wlan_util_rom.h"
14#include "wlan_types_base_rom.h"
15#include "wlan_types.h"
16
17#ifdef __cplusplus
18#if __cplusplus
19extern "C" {
20#endif
21#endif
22/*****************************************************************************
23 2 宏定义
24*****************************************************************************/
25#define WLAN_MAX_BAR_LEN 20 /* BAR帧的最大长度, 包含head和payload */
26#define WLAN_MAX_BAR_HEAD_LEN 16 /* BAR帧的头最大长度 */
27
28#define WLAN_WITP_CAPABILITY_PRIVACY BIT4
29/*****************************************************************************
30 2.5 过滤命令宏定义
31*****************************************************************************/
32#define WLAN_BIP_REPLAY_FAIL_FLT BIT0 /* BIP重放攻击过滤 */
33#define WLAN_CCMP_REPLAY_FAIL_FLT BIT1 /* CCMP重放攻击过滤 */
34#define WLAN_OTHER_CTRL_FRAME_FLT BIT2 /* direct控制帧过滤 */
35#define WLAN_BCMC_MGMT_OTHER_BSS_FLT BIT3 /* 其他BSS网络的组播管理帧过滤 */
36#define WLAN_UCAST_MGMT_OTHER_BSS_FLT BIT4 /* 其他BSS网络的单播管理帧过滤 */
37
38#define WLAN_UCAST_DATA_OTHER_BSS_FLT BIT5 /* 其他BSS网络的单播数据帧过滤 */
39#define WLAN_CFG_OTHER_BSS_BEACON_FLT_EN BIT25 /* 其他BSS网络的Beacon帧过滤 */
40#define WLAN_CFG_WDS_FLT_EN BIT24 /* WDS帧是否进行过滤 */
41#define WLAN_CFG_WDS_BCMC_FLT_EN BIT23 /* 广播WDS帧是否过滤开关 */
42#define WLAN_CFG_WDS_NON_DIRECT_FLT_EN BIT22 /* 非直接单播WDS帧是否过滤开关 */
43
44#ifdef __cplusplus
45#if __cplusplus
46}
47#endif
48#endif
49
50#endif /* end of wlan_types_rom.h */