License cleanup: add SPDX GPL-2.0 license identifier to files with no license
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.
By default all files without license information are under the default
license of the kernel, which is GPL version 2.
Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier. The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.
This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.
How this work was done:
Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
- file had no licensing information it it.
- file was a */uapi/* one with no licensing information in it,
- file was a */uapi/* one with existing licensing information,
Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.
The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne. Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.
The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed. Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.
Criteria used to select files for SPDX license identifier tagging was:
- Files considered eligible had to be source code files.
- Make and config files were included as candidates if they contained >5
lines of source
- File already had some variant of a license header in it (even if <5
lines).
All documentation files were explicitly excluded.
The following heuristics were used to determine which SPDX license
identifiers to apply.
- when both scanners couldn't find any license traces, file was
considered to have no license information in it, and the top level
COPYING file license applied.
For non */uapi/* files that summary was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 11139
and resulted in the first patch in this series.
If that file was a */uapi/* path one, it was "GPL-2.0 WITH
Linux-syscall-note" otherwise it was "GPL-2.0". Results of that was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 WITH Linux-syscall-note 930
and resulted in the second patch in this series.
- if a file had some form of licensing information in it, and was one
of the */uapi/* ones, it was denoted with the Linux-syscall-note if
any GPL family license was found in the file or had no licensing in
it (per prior point). Results summary:
SPDX license identifier # files
---------------------------------------------------|------
GPL-2.0 WITH Linux-syscall-note 270
GPL-2.0+ WITH Linux-syscall-note 169
((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) 21
((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 17
LGPL-2.1+ WITH Linux-syscall-note 15
GPL-1.0+ WITH Linux-syscall-note 14
((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) 5
LGPL-2.0+ WITH Linux-syscall-note 4
LGPL-2.1 WITH Linux-syscall-note 3
((GPL-2.0 WITH Linux-syscall-note) OR MIT) 3
((GPL-2.0 WITH Linux-syscall-note) AND MIT) 1
and that resulted in the third patch in this series.
- when the two scanners agreed on the detected license(s), that became
the concluded license(s).
- when there was disagreement between the two scanners (one detected a
license but the other didn't, or they both detected different
licenses) a manual inspection of the file occurred.
- In most cases a manual inspection of the information in the file
resulted in a clear resolution of the license that should apply (and
which scanner probably needed to revisit its heuristics).
- When it was not immediately clear, the license identifier was
confirmed with lawyers working with the Linux Foundation.
- If there was any question as to the appropriate license identifier,
the file was flagged for further research and to be revisited later
in time.
In total, over 70 hours of logged manual review was done on the
spreadsheet to determine the SPDX license identifiers to apply to the
source files by Kate, Philippe, Thomas and, in some cases, confirmation
by lawyers working with the Linux Foundation.
Kate also obtained a third independent scan of the 4.13 code base from
FOSSology, and compared selected files where the other two scanners
disagreed against that SPDX file, to see if there was new insights. The
Windriver scanner is based on an older version of FOSSology in part, so
they are related.
Thomas did random spot checks in about 500 files from the spreadsheets
for the uapi headers and agreed with SPDX license identifier in the
files he inspected. For the non-uapi files Thomas did random spot checks
in about 15000 files.
In initial set of patches against 4.14-rc6, 3 files were found to have
copy/paste license identifier errors, and have been fixed to reflect the
correct identifier.
Additionally Philippe spent 10 hours this week doing a detailed manual
inspection and review of the 12,461 patched files from the initial patch
version early this week with:
- a full scancode scan run, collecting the matched texts, detected
license ids and scores
- reviewing anything where there was a license detected (about 500+
files) to ensure that the applied SPDX license was correct
- reviewing anything where there was no detection but the patch license
was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied
SPDX license was correct
This produced a worksheet with 20 files needing minor correction. This
worksheet was then exported into 3 different .csv files for the
different types of files to be modified.
These .csv files were then reviewed by Greg. Thomas wrote a script to
parse the csv files and add the proper SPDX tag to the file, in the
format that the file expected. This script was further refined by Greg
based on the output to detect more types of files automatically and to
distinguish between header and source .c files (which need different
comment types.) Finally Greg ran the script using the .csv files to
generate the patches.
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-01 15:07:57 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2018-08-03 16:26:13 +05:30
|
|
|
/*
|
|
|
|
* Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries.
|
|
|
|
* All rights reserved.
|
|
|
|
*/
|
2015-05-11 14:30:56 +09:00
|
|
|
|
|
|
|
#ifndef WILC_WLAN_IF_H
|
|
|
|
#define WILC_WLAN_IF_H
|
|
|
|
|
2015-11-05 16:12:08 +09:00
|
|
|
#include <linux/netdevice.h>
|
2020-01-17 10:31:25 +00:00
|
|
|
#include "fw.h"
|
2015-05-11 14:30:56 +09:00
|
|
|
|
|
|
|
/********************************************
|
|
|
|
*
|
|
|
|
* Wlan Configuration ID
|
|
|
|
*
|
|
|
|
********************************************/
|
|
|
|
|
2018-01-11 19:42:14 +05:30
|
|
|
enum bss_types {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_BSS_TYPE_INFRA = 0,
|
|
|
|
WILC_FW_BSS_TYPE_INDEPENDENT,
|
|
|
|
WILC_FW_BSS_TYPE_AP,
|
2018-01-11 19:42:14 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-11 19:42:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_OPER_MODE_B_ONLY = 0, /* 1, 2 M, otherwise 5, 11 M */
|
|
|
|
WILC_FW_OPER_MODE_G_ONLY, /* 6,12,24 otherwise 9,18,36,48,54 */
|
|
|
|
WILC_FW_OPER_MODE_G_MIXED_11B_1, /* 1,2,5.5,11 otherwise all on */
|
|
|
|
WILC_FW_OPER_MODE_G_MIXED_11B_2, /* 1,2,5,11,6,12,24 otherwise all on */
|
2018-01-11 19:42:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_PREAMBLE_SHORT = 0, /* Short Preamble */
|
|
|
|
WILC_FW_PREAMBLE_LONG = 1, /* Long Preamble */
|
|
|
|
WILC_FW_PREAMBLE_AUTO = 2, /* Auto Preamble Selection */
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_PASSIVE_SCAN = 0,
|
|
|
|
WILC_FW_ACTIVE_SCAN = 1,
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_NO_POWERSAVE = 0,
|
|
|
|
WILC_FW_MIN_FAST_PS = 1,
|
|
|
|
WILC_FW_MAX_FAST_PS = 2,
|
|
|
|
WILC_FW_MIN_PSPOLL_PS = 3,
|
|
|
|
WILC_FW_MAX_PSPOLL_PS = 4
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-11 19:42:17 +05:30
|
|
|
enum chip_ps_states {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_CHIP_WAKEDUP = 0,
|
|
|
|
WILC_CHIP_SLEEPING_AUTO = 1,
|
|
|
|
WILC_CHIP_SLEEPING_MANUAL = 2
|
2018-01-11 19:42:17 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-11 19:42:18 +05:30
|
|
|
enum bus_acquire {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_BUS_ACQUIRE_ONLY = 0,
|
|
|
|
WILC_BUS_ACQUIRE_AND_WAKEUP = 1,
|
2018-01-11 19:42:18 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-11 19:42:19 +05:30
|
|
|
enum bus_release {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_BUS_RELEASE_ONLY = 0,
|
|
|
|
WILC_BUS_RELEASE_ALLOW_SLEEP = 1,
|
2018-01-11 19:42:19 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:17 +00:00
|
|
|
WILC_FW_NO_ENCRYPT = 0,
|
|
|
|
WILC_FW_ENCRYPT_ENABLED = BIT(0),
|
|
|
|
WILC_FW_WEP = BIT(1),
|
|
|
|
WILC_FW_WEP_EXTENDED = BIT(2),
|
|
|
|
WILC_FW_WPA = BIT(3),
|
|
|
|
WILC_FW_WPA2 = BIT(4),
|
|
|
|
WILC_FW_AES = BIT(5),
|
|
|
|
WILC_FW_TKIP = BIT(6)
|
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
|
|
|
WILC_FW_SEC_NO = WILC_FW_NO_ENCRYPT,
|
|
|
|
WILC_FW_SEC_WEP = WILC_FW_WEP | WILC_FW_ENCRYPT_ENABLED,
|
|
|
|
WILC_FW_SEC_WEP_EXTENDED = WILC_FW_WEP_EXTENDED | WILC_FW_SEC_WEP,
|
|
|
|
WILC_FW_SEC_WPA = WILC_FW_WPA | WILC_FW_ENCRYPT_ENABLED,
|
|
|
|
WILC_FW_SEC_WPA_AES = WILC_FW_AES | WILC_FW_SEC_WPA,
|
|
|
|
WILC_FW_SEC_WPA_TKIP = WILC_FW_TKIP | WILC_FW_SEC_WPA,
|
|
|
|
WILC_FW_SEC_WPA2 = WILC_FW_WPA2 | WILC_FW_ENCRYPT_ENABLED,
|
|
|
|
WILC_FW_SEC_WPA2_AES = WILC_FW_AES | WILC_FW_SEC_WPA2,
|
|
|
|
WILC_FW_SEC_WPA2_TKIP = WILC_FW_TKIP | WILC_FW_SEC_WPA2
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-07-19 04:15:04 +05:30
|
|
|
enum authtype {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_AUTH_OPEN_SYSTEM = 1,
|
|
|
|
WILC_FW_AUTH_SHARED_KEY = 2,
|
|
|
|
WILC_FW_AUTH_ANY = 3,
|
|
|
|
WILC_FW_AUTH_IEEE8021 = 5
|
2015-10-05 15:25:39 +09:00
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-07-19 04:15:03 +05:30
|
|
|
enum site_survey {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_SITE_SURVEY_1CH = 0,
|
|
|
|
WILC_FW_SITE_SURVEY_ALL_CH = 1,
|
|
|
|
WILC_FW_SITE_SURVEY_OFF = 2
|
2015-10-05 15:25:47 +09:00
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_ACK_POLICY_NORMAL = 0,
|
|
|
|
WILC_FW_ACK_NO_POLICY,
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_REKEY_POLICY_DISABLE = 1,
|
|
|
|
WILC_FW_REKEY_POLICY_TIME_BASE,
|
|
|
|
WILC_FW_REKEY_POLICY_PKT_BASE,
|
|
|
|
WILC_FW_REKEY_POLICY_TIME_PKT_BASE
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_FILTER_NO = 0x00,
|
|
|
|
WILC_FW_FILTER_AP_ONLY = 0x01,
|
|
|
|
WILC_FW_FILTER_STA_ONLY = 0x02
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_11N_PROT_AUTO = 0, /* Auto */
|
|
|
|
WILC_FW_11N_NO_PROT, /* Do not use any protection */
|
|
|
|
WILC_FW_11N_PROT_ERP, /* Protect all ERP frame exchanges */
|
|
|
|
WILC_FW_11N_PROT_HT, /* Protect all HT frame exchanges */
|
|
|
|
WILC_FW_11N_PROT_GF /* Protect all GF frame exchanges */
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_ERP_PROT_SELF_CTS,
|
|
|
|
WILC_FW_ERP_PROT_RTS_CTS,
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_11N_OP_MODE_HT_MIXED = 1,
|
|
|
|
WILC_FW_11N_OP_MODE_HT_ONLY_20MHZ,
|
|
|
|
WILC_FW_11N_OP_MODE_HT_ONLY_20_40MHZ,
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_OBBS_NONHT_NO_DETECT = 0,
|
|
|
|
WILC_FW_OBBS_NONHT_DETECT_ONLY = 1,
|
|
|
|
WILC_FW_OBBS_NONHT_DETECT_PROTECT = 2,
|
|
|
|
WILC_FW_OBBS_NONHT_DETECT_PROTECT_REPORT = 3,
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_HT_PROT_RTS_CTS_NONHT = 0, /* RTS-CTS at non-HT rate */
|
|
|
|
WILC_FW_HT_PROT_FIRST_FRAME_NONHT, /* First frame at non-HT rate */
|
|
|
|
WILC_FW_HT_PROT_LSIG_TXOP, /* LSIG TXOP Protection */
|
|
|
|
WILC_FW_HT_PROT_FIRST_FRAME_MIXED, /* First frame at Mixed format */
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2018-11-12 05:45:20 +00:00
|
|
|
WILC_FW_SMPS_MODE_STATIC = 1,
|
|
|
|
WILC_FW_SMPS_MODE_DYNAMIC = 2,
|
|
|
|
WILC_FW_SMPS_MODE_MIMO = 3, /* power save disable */
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-11-12 05:45:23 +00:00
|
|
|
enum {
|
|
|
|
WILC_FW_TX_RATE_AUTO = 0,
|
|
|
|
WILC_FW_TX_RATE_MBPS_1 = 1,
|
|
|
|
WILC_FW_TX_RATE_MBPS_2 = 2,
|
|
|
|
WILC_FW_TX_RATE_MBPS_5_5 = 5,
|
|
|
|
WILC_FW_TX_RATE_MBPS_11 = 11,
|
|
|
|
WILC_FW_TX_RATE_MBPS_6 = 6,
|
|
|
|
WILC_FW_TX_RATE_MBPS_9 = 9,
|
|
|
|
WILC_FW_TX_RATE_MBPS_12 = 12,
|
|
|
|
WILC_FW_TX_RATE_MBPS_18 = 18,
|
|
|
|
WILC_FW_TX_RATE_MBPS_24 = 24,
|
|
|
|
WILC_FW_TX_RATE_MBPS_36 = 36,
|
|
|
|
WILC_FW_TX_RATE_MBPS_48 = 48,
|
|
|
|
WILC_FW_TX_RATE_MBPS_54 = 54
|
|
|
|
};
|
|
|
|
|
2018-11-12 05:45:26 +00:00
|
|
|
enum {
|
|
|
|
WILC_FW_DEFAULT_SCAN = 0,
|
|
|
|
WILC_FW_USER_SCAN = BIT(0),
|
|
|
|
WILC_FW_OBSS_PERIODIC_SCAN = BIT(1),
|
|
|
|
WILC_FW_OBSS_ONETIME_SCAN = BIT(2)
|
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
|
|
|
WILC_FW_ACTION_FRM_IDX = 0,
|
|
|
|
WILC_FW_PROBE_REQ_IDX = 1
|
|
|
|
};
|
|
|
|
|
2015-11-03 16:20:58 +09:00
|
|
|
enum wid_type {
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_CHAR = 0,
|
|
|
|
WID_SHORT = 1,
|
|
|
|
WID_INT = 2,
|
|
|
|
WID_STR = 3,
|
|
|
|
WID_BIN_DATA = 4,
|
|
|
|
WID_BIN = 5,
|
2015-10-12 16:55:42 +09:00
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2016-02-04 18:15:30 +09:00
|
|
|
struct wid {
|
|
|
|
u16 id;
|
|
|
|
enum wid_type type;
|
|
|
|
s32 size;
|
|
|
|
s8 *val;
|
|
|
|
};
|
|
|
|
|
2018-01-22 15:52:15 +05:30
|
|
|
enum {
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_NIL = 0xffff,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* BSS Type
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Infrastructure Independent Access Point
|
|
|
|
* Values to set : 0 1 2
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_BSS_TYPE = 0x0000,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Transmit Rate
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : 1 2 5.5 11 6 9 12 18 24 36 48 54
|
|
|
|
* Values to set : 1 2 5 11 6 9 12 18 24 36 48 54
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_CURRENT_TX_RATE = 0x0001,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Channel
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration(g) : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
|
|
|
* Values to set : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_CURRENT_CHANNEL = 0x0002,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Preamble
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : short long Auto
|
|
|
|
* Values to set : 0 1 2
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_PREAMBLE = 0x0003,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* 11g operating mode (ignored if 11g not present)
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : HighPerf Compat(RSet #1) Compat(RSet #2)
|
|
|
|
* Values to set : 1 2 3
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11G_OPERATING_MODE = 0x0004,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Mac status (response only)
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : disconnect connect
|
|
|
|
* Values to get : 0 1
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_STATUS = 0x0005,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Scan type
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Passive Scanning Active Scanning
|
|
|
|
* Values to set : 0 1
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_SCAN_TYPE = 0x0007,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Key Id (WEP default key Id)
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Any value between 0 to 3
|
|
|
|
* Values to set : Same value. Default is 0
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_KEY_ID = 0x0009,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* QoS Enable
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : QoS Disable WMM Enable
|
|
|
|
* Values to set : 0 1
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_QOS_ENABLE = 0x000A,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Power Management
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : NO_POWERSAVE MIN_POWERSAVE MAX_POWERSAVE
|
|
|
|
* Values to set : 0 1 2
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_POWER_MANAGEMENT = 0x000B,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* WEP/802 11I Configuration
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration:Disable WP40 WP104 WPA-AES WPA-TKIP RSN-AES RSN-TKIP
|
|
|
|
* Values (0x) : 00 03 07 29 49 31 51
|
|
|
|
* Configuration:WPA-AES+TKIP RSN-AES+TKIP
|
|
|
|
* Values (0x) : 69 71
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11I_MODE = 0x000C,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* WEP Configuration: Used in BSS STA mode only when WEP is enabled
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Open System Shared Key Any Type | 802.1x Auth
|
|
|
|
* Values (0x) : 01 02 03 | BIT2
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_AUTH_TYPE = 0x000D,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Site Survey Type
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Values to set
|
|
|
|
* Survey 1 Channel : 0
|
|
|
|
* survey all Channels : 1
|
|
|
|
* Disable Site Survey : 2
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_SITE_SURVEY = 0x000E,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Listen Interval
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Any value between 1 to 255
|
|
|
|
* Values to set : Same value. Default is 3
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_LISTEN_INTERVAL = 0x000F,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* DTIM Period
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Any value between 1 to 255
|
|
|
|
* Values to set : Same value. Default is 3
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_DTIM_PERIOD = 0x0010,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* ACK Policy
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Normal Ack No Ack
|
|
|
|
* Values to set : 0 1
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_ACK_POLICY = 0x0011,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Reset MAC (Set only)
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Don't Reset Reset No Request
|
|
|
|
* Values to set : 0 1 2
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_RESET = 0x0012,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Broadcast SSID Option: Setting this will adhere to "" SSID element
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Enable Disable
|
|
|
|
* Values to set : 1 0
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_BCAST_SSID = 0x0015,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Disconnect (Station)
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Association ID
|
|
|
|
* Values to set : Association ID
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_DISCONNECT = 0x0016,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* 11a Tx Power Level
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Sets TX Power (Higher the value greater the power)
|
|
|
|
* Values to set : Any value between 0 and 63 (inclusive Default 48)
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_TX_POWER_LEVEL_11A = 0x0018,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Group Key Update Policy Selection
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Disabled timeBased packetBased timePacketBased
|
|
|
|
* Values to set : 1 2 3 4
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_REKEY_POLICY = 0x0019,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Allow Short Slot
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Disallow Short Slot Allow Short Slot
|
|
|
|
* (Enable Only Long Slot) (Enable Short Slot if applicable)
|
|
|
|
* Values to set : 0 1
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_SHORT_SLOT_ALLOWED = 0x001A,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_PHY_ACTIVE_REG = 0x001B,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* 11b Tx Power Level
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Sets TX Power (Higher the value greater the power)
|
|
|
|
* Values to set : Any value between 0 and 63 (inclusive Default 48)
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_TX_POWER_LEVEL_11B = 0x001D,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Scan Request
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Request default scan
|
|
|
|
* Values to set : 0
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_START_SCAN_REQ = 0x001E,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Rssi (get only)
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration :
|
|
|
|
* Values to get : Rssi value
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_RSSI = 0x001F,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Join Request
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Request to join
|
|
|
|
* Values to set : index of scan result
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_JOIN_REQ = 0x0020,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
WID_LINKSPEED = 0x0026,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Enable User Control of TX Power
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Disable Enable
|
|
|
|
* Values to set : 0 1
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_USER_CONTROL_ON_TX_POWER = 0x0027,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_MEMORY_ACCESS_8BIT = 0x0029,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Enable Auto RX Sensitivity feature
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Disable Enable
|
|
|
|
* Values to set : 0 1
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_AUTO_RX_SENSITIVITY = 0x0032,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Receive Buffer Based Ack
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Disable Enable
|
|
|
|
* Values to set : 0 1
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_DATAFLOW_CONTROL = 0x0033,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Scan Filter
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Class No filter AP only Station Only
|
|
|
|
* Values to set : 0 1 2
|
|
|
|
* Configuration : Priority High Rssi Low Rssi Detect
|
|
|
|
* Values to set : 0 0x4 0x0
|
|
|
|
* Configuration : Channel filter off filter on
|
|
|
|
* Values to set : 0 0x10
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_SCAN_FILTER = 0x0036,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Link Loss Threshold (measure in the beacon period)
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Any value between 10 and 254(Set to 255 disable)
|
|
|
|
* Values to set : Same value. Default is 10
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_LINK_LOSS_THRESHOLD = 0x0037,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_ABORT_RUNNING_SCAN = 0x003E,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
|
|
|
/* NMAC Character WID list */
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_WPS_START = 0x0043,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Protection mode for MAC
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Auto No protection ERP HT GF
|
|
|
|
* Values to set : 0 1 2 3 4
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_PROT_MECH = 0x0080,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* ERP Protection type for MAC
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Self-CTS RTS-CTS
|
|
|
|
* Values to set : 0 1
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_ERP_PROT_TYPE = 0x0081,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* HT Option Enable
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : HT Enable HT Disable
|
|
|
|
* Values to set : 1 0
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_ENABLE = 0x0082,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* 11n Operating mode (Note that 11g operating mode will also be
|
|
|
|
* used in addition to this, if this is set to HT Mixed mode)
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : HT Mixed HT Only-20MHz HT Only-20/40MHz
|
|
|
|
* Values to set : 1 2 3
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_OPERATING_MODE = 0x0083,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* 11n OBSS non-HT STA Detection flag
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Do not detect
|
|
|
|
* Values to set : 0
|
|
|
|
* Configuration : Detect, do not protect or report
|
|
|
|
* Values to set : 1
|
|
|
|
* Configuration : Detect, protect and do not report
|
|
|
|
* Values to set : 2
|
|
|
|
* Configuration : Detect, protect and report to other BSS
|
|
|
|
* Values to set : 3
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_OBSS_NONHT_DETECTION = 0x0084,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* 11n HT Protection Type
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : RTS-CTS First Frame Exchange at non-HT-rate
|
|
|
|
* Values to set : 0 1
|
|
|
|
* Configuration : LSIG TXOP First Frame Exchange in Mixed Fmt
|
|
|
|
* Values to set : 2 3
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_HT_PROT_TYPE = 0x0085,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* 11n RIFS Protection Enable Flag
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Disable Enable
|
|
|
|
* Values to set : 0 1
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_RIFS_PROT_ENABLE = 0x0086,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* SMPS Mode
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Static Dynamic MIMO (Power Save Disabled)
|
|
|
|
* Values to set : 1 2 3
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_SMPS_MODE = 0x0087,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Current transmit MCS
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : MCS Index for data rate
|
|
|
|
* Values to set : 0 to 7
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_CURRENT_TX_MCS = 0x0088,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_PRINT_STATS = 0x0089,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* 11n Short GI Enable Flag
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Disable Enable
|
|
|
|
* Values to set : 0 1
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_SHORT_GI_ENABLE = 0x008D,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* 11n RIFS Enable Flag
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Disable Enable
|
|
|
|
* Values to set : 0 1
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_RIFS_MODE = 0x0094,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* TX Abort Feature
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Disable Self CTS Enable Self CTS
|
|
|
|
* Values to set : 0 1
|
|
|
|
* Configuration : Disable TX Abort Enable TX Abort
|
|
|
|
* Values to set : 2 3
|
|
|
|
* Configuration : Enable HW TX Abort Enable SW TX Abort
|
|
|
|
* Values to set : 4 5
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_TX_ABORT_CONFIG = 0x00A1,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_REG_TSSI_11B_VALUE = 0x00A6,
|
|
|
|
WID_REG_TSSI_11G_VALUE = 0x00A7,
|
|
|
|
WID_REG_TSSI_11N_VALUE = 0x00A8,
|
|
|
|
WID_TX_CALIBRATION = 0x00A9,
|
|
|
|
WID_DSCR_TSSI_11B_VALUE = 0x00AA,
|
|
|
|
WID_DSCR_TSSI_11G_VALUE = 0x00AB,
|
|
|
|
WID_DSCR_TSSI_11N_VALUE = 0x00AC,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Immediate Block-Ack Support
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Disable Enable
|
|
|
|
* Values to set : 0 1
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_IMMEDIATE_BA_ENABLED = 0x00AF,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* TXOP Disable Flag
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Disable Enable
|
|
|
|
* Values to set : 1 0
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_TXOP_PROT_DISABLE = 0x00B0,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_TX_POWER_LEVEL_11N = 0x00B1,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
|
|
|
/* Custom Character WID list */
|
|
|
|
/* SCAN Complete notification WID*/
|
|
|
|
WID_SCAN_COMPLETE = 0x00C9,
|
|
|
|
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_DEL_BEACON = 0x00CA,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2018-04-23 22:03:22 +05:30
|
|
|
WID_LOG_TERMINAL_SWITCH = 0x00CD,
|
2016-02-04 18:15:27 +09:00
|
|
|
WID_TX_POWER = 0x00CE,
|
2015-09-22 14:34:45 +09:00
|
|
|
/* EMAC Short WID list */
|
|
|
|
/* RTS Threshold */
|
|
|
|
/*
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Any value between 256 to 2347
|
|
|
|
* Values to set : Same value. Default is 2347
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_RTS_THRESHOLD = 0x1000,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:45 +09:00
|
|
|
/*
|
|
|
|
* Fragmentation Threshold
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
* Configuration : Any value between 256 to 2346
|
|
|
|
* Values to set : Same value. Default is 2346
|
|
|
|
* -----------------------------------------------------------
|
|
|
|
*/
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_FRAG_THRESHOLD = 0x1001,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_SHORT_RETRY_LIMIT = 0x1002,
|
|
|
|
WID_LONG_RETRY_LIMIT = 0x1003,
|
|
|
|
WID_BEACON_INTERVAL = 0x1006,
|
|
|
|
WID_MEMORY_ACCESS_16BIT = 0x1008,
|
2019-06-20 19:54:55 +00:00
|
|
|
WID_PASSIVE_SCAN_TIME = 0x100D,
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_JOIN_START_TIMEOUT = 0x100F,
|
|
|
|
WID_ASOC_TIMEOUT = 0x1011,
|
|
|
|
WID_11I_PROTOCOL_TIMEOUT = 0x1012,
|
|
|
|
WID_EAPOL_RESPONSE_TIMEOUT = 0x1013,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
|
|
|
/* NMAC Short WID list */
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_SIG_QUAL_VAL = 0x1085,
|
|
|
|
WID_CCA_THRESHOLD = 0x1087,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
|
|
|
/* Custom Short WID list */
|
|
|
|
|
|
|
|
/* EMAC Integer WID list */
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_FAILED_COUNT = 0x2000,
|
|
|
|
WID_RETRY_COUNT = 0x2001,
|
|
|
|
WID_MULTIPLE_RETRY_COUNT = 0x2002,
|
|
|
|
WID_FRAME_DUPLICATE_COUNT = 0x2003,
|
|
|
|
WID_ACK_FAILURE_COUNT = 0x2004,
|
|
|
|
WID_RECEIVED_FRAGMENT_COUNT = 0x2005,
|
|
|
|
WID_MCAST_RECEIVED_FRAME_COUNT = 0x2006,
|
|
|
|
WID_FCS_ERROR_COUNT = 0x2007,
|
|
|
|
WID_SUCCESS_FRAME_COUNT = 0x2008,
|
|
|
|
WID_HUT_TX_COUNT = 0x200A,
|
|
|
|
WID_TX_FRAGMENT_COUNT = 0x200B,
|
|
|
|
WID_TX_MULTICAST_FRAME_COUNT = 0x200C,
|
|
|
|
WID_RTS_SUCCESS_COUNT = 0x200D,
|
|
|
|
WID_RTS_FAILURE_COUNT = 0x200E,
|
|
|
|
WID_WEP_UNDECRYPTABLE_COUNT = 0x200F,
|
|
|
|
WID_REKEY_PERIOD = 0x2010,
|
|
|
|
WID_REKEY_PACKET_COUNT = 0x2011,
|
|
|
|
WID_1X_SERV_ADDR = 0x2012,
|
|
|
|
WID_STACK_IP_ADDR = 0x2013,
|
|
|
|
WID_STACK_NETMASK_ADDR = 0x2014,
|
|
|
|
WID_HW_RX_COUNT = 0x2015,
|
|
|
|
WID_MEMORY_ADDRESS = 0x201E,
|
|
|
|
WID_MEMORY_ACCESS_32BIT = 0x201F,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
|
|
|
/* NMAC Integer WID list */
|
|
|
|
/* Custom Integer WID list */
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_GET_INACTIVE_TIME = 0x2084,
|
2015-05-11 14:30:56 +09:00
|
|
|
/* EMAC String WID list */
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_SSID = 0x3000,
|
|
|
|
WID_FIRMWARE_VERSION = 0x3001,
|
|
|
|
WID_OPERATIONAL_RATE_SET = 0x3002,
|
|
|
|
WID_BSSID = 0x3003,
|
|
|
|
WID_WEP_KEY_VALUE = 0x3004,
|
|
|
|
WID_11I_PSK = 0x3008,
|
|
|
|
WID_11E_P_ACTION_REQ = 0x3009,
|
|
|
|
WID_1X_KEY = 0x300A,
|
|
|
|
WID_HARDWARE_VERSION = 0x300B,
|
|
|
|
WID_MAC_ADDR = 0x300C,
|
|
|
|
WID_HUT_DEST_ADDR = 0x300D,
|
|
|
|
WID_PHY_VERSION = 0x300F,
|
|
|
|
WID_SUPP_USERNAME = 0x3010,
|
|
|
|
WID_SUPP_PASSWORD = 0x3011,
|
|
|
|
WID_SITE_SURVEY_RESULTS = 0x3012,
|
|
|
|
WID_RX_POWER_LEVEL = 0x3013,
|
|
|
|
WID_SET_STA_MAC_INACTIVE_TIME = 0x3017,
|
|
|
|
WID_ADD_WEP_KEY = 0x3019,
|
|
|
|
WID_REMOVE_WEP_KEY = 0x301A,
|
|
|
|
WID_ADD_PTK = 0x301B,
|
|
|
|
WID_ADD_RX_GTK = 0x301C,
|
|
|
|
WID_ADD_TX_GTK = 0x301D,
|
|
|
|
WID_REMOVE_KEY = 0x301E,
|
|
|
|
WID_ASSOC_REQ_INFO = 0x301F,
|
|
|
|
WID_ASSOC_RES_INFO = 0x3020,
|
2019-11-05 09:51:33 +00:00
|
|
|
WID_MANUFACTURER = 0x3026, /* Added for CAPI tool */
|
|
|
|
WID_MODEL_NAME = 0x3027, /* Added for CAPI tool */
|
|
|
|
WID_MODEL_NUM = 0x3028, /* Added for CAPI tool */
|
|
|
|
WID_DEVICE_NAME = 0x3029, /* Added for CAPI tool */
|
2015-05-11 14:30:56 +09:00
|
|
|
|
|
|
|
/* NMAC String WID list */
|
2019-08-01 20:15:11 +00:00
|
|
|
WID_SET_OPERATION_MODE = 0x3079,
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_P_ACTION_REQ = 0x3080,
|
|
|
|
WID_HUT_TEST_ID = 0x3081,
|
|
|
|
WID_PMKID_INFO = 0x3082,
|
|
|
|
WID_FIRMWARE_INFO = 0x3083,
|
|
|
|
WID_REGISTER_FRAME = 0x3084,
|
|
|
|
WID_DEL_ALL_STA = 0x3085,
|
|
|
|
WID_REMAIN_ON_CHAN = 0x3996,
|
|
|
|
WID_SSID_PROBE_REQ = 0x3997,
|
|
|
|
WID_JOIN_REQ_EXTENDED = 0x3998,
|
|
|
|
|
|
|
|
WID_IP_ADDRESS = 0x3999,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
|
|
|
/* Custom String WID list */
|
|
|
|
|
|
|
|
/* EMAC Binary WID list */
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_UAPSD_CONFIG = 0x4001,
|
|
|
|
WID_UAPSD_STATUS = 0x4002,
|
|
|
|
WID_WMM_AP_AC_PARAMS = 0x4003,
|
|
|
|
WID_WMM_STA_AC_PARAMS = 0x4004,
|
|
|
|
WID_NETWORK_INFO = 0x4005,
|
|
|
|
WID_STA_JOIN_INFO = 0x4006,
|
|
|
|
WID_CONNECTED_STA_LIST = 0x4007,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
|
|
|
/* NMAC Binary WID list */
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_11N_AUTORATE_TABLE = 0x4080,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_SCAN_CHANNEL_LIST = 0x4084,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_INFO_ELEMENT_PROBE = 0x4085,
|
|
|
|
WID_INFO_ELEMENT_ASSOCIATE = 0x4086,
|
|
|
|
WID_ADD_STA = 0X4087,
|
|
|
|
WID_REMOVE_STA = 0X4088,
|
|
|
|
WID_EDIT_STA = 0X4089,
|
|
|
|
WID_ADD_BEACON = 0x408a,
|
2015-05-11 14:30:56 +09:00
|
|
|
|
|
|
|
WID_SETUP_MULTICAST_FILTER = 0x408b,
|
|
|
|
|
|
|
|
/* Miscellaneous WIDs */
|
2015-09-22 14:34:46 +09:00
|
|
|
WID_ALL = 0x7FFE,
|
|
|
|
WID_MAX = 0xFFFF
|
2018-01-22 15:52:15 +05:30
|
|
|
};
|
2015-05-11 14:30:56 +09:00
|
|
|
|
|
|
|
#endif
|