15625f965SAjay Singh /* SPDX-License-Identifier: GPL-2.0 */
25625f965SAjay Singh /*
35625f965SAjay Singh  * Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries.
45625f965SAjay Singh  * All rights reserved.
55625f965SAjay Singh  */
65625f965SAjay Singh 
75625f965SAjay Singh #ifndef WILC_WLAN_IF_H
85625f965SAjay Singh #define WILC_WLAN_IF_H
95625f965SAjay Singh 
105625f965SAjay Singh #include <linux/netdevice.h>
115625f965SAjay Singh #include "fw.h"
125625f965SAjay Singh 
13*7acd6950SAmisha Patel #define WILC_MAX_ASSOC_RESP_FRAME_SIZE 512
14*7acd6950SAmisha Patel 
155625f965SAjay Singh /********************************************
165625f965SAjay Singh  *
175625f965SAjay Singh  *      Wlan Configuration ID
185625f965SAjay Singh  *
195625f965SAjay Singh  ********************************************/
205625f965SAjay Singh 
215625f965SAjay Singh enum bss_types {
225625f965SAjay Singh 	WILC_FW_BSS_TYPE_INFRA = 0,
235625f965SAjay Singh 	WILC_FW_BSS_TYPE_INDEPENDENT,
245625f965SAjay Singh 	WILC_FW_BSS_TYPE_AP,
255625f965SAjay Singh };
265625f965SAjay Singh 
275625f965SAjay Singh enum {
285625f965SAjay Singh 	WILC_FW_OPER_MODE_B_ONLY = 0,	 /* 1, 2 M, otherwise 5, 11 M */
295625f965SAjay Singh 	WILC_FW_OPER_MODE_G_ONLY,	 /* 6,12,24 otherwise 9,18,36,48,54 */
305625f965SAjay Singh 	WILC_FW_OPER_MODE_G_MIXED_11B_1, /* 1,2,5.5,11 otherwise all on */
315625f965SAjay Singh 	WILC_FW_OPER_MODE_G_MIXED_11B_2, /* 1,2,5,11,6,12,24 otherwise all on */
325625f965SAjay Singh };
335625f965SAjay Singh 
345625f965SAjay Singh enum {
355625f965SAjay Singh 	WILC_FW_PREAMBLE_SHORT = 0,	/* Short Preamble */
365625f965SAjay Singh 	WILC_FW_PREAMBLE_LONG = 1,	/* Long Preamble */
375625f965SAjay Singh 	WILC_FW_PREAMBLE_AUTO = 2,	/* Auto Preamble Selection */
385625f965SAjay Singh };
395625f965SAjay Singh 
405625f965SAjay Singh enum {
415625f965SAjay Singh 	WILC_FW_PASSIVE_SCAN = 0,
425625f965SAjay Singh 	WILC_FW_ACTIVE_SCAN = 1,
435625f965SAjay Singh };
445625f965SAjay Singh 
455625f965SAjay Singh enum {
465625f965SAjay Singh 	WILC_FW_NO_POWERSAVE = 0,
475625f965SAjay Singh 	WILC_FW_MIN_FAST_PS = 1,
485625f965SAjay Singh 	WILC_FW_MAX_FAST_PS = 2,
495625f965SAjay Singh 	WILC_FW_MIN_PSPOLL_PS = 3,
505625f965SAjay Singh 	WILC_FW_MAX_PSPOLL_PS = 4
515625f965SAjay Singh };
525625f965SAjay Singh 
535625f965SAjay Singh enum bus_acquire {
545625f965SAjay Singh 	WILC_BUS_ACQUIRE_ONLY = 0,
555625f965SAjay Singh 	WILC_BUS_ACQUIRE_AND_WAKEUP = 1,
565625f965SAjay Singh };
575625f965SAjay Singh 
585625f965SAjay Singh enum bus_release {
595625f965SAjay Singh 	WILC_BUS_RELEASE_ONLY = 0,
605625f965SAjay Singh 	WILC_BUS_RELEASE_ALLOW_SLEEP = 1,
615625f965SAjay Singh };
625625f965SAjay Singh 
635625f965SAjay Singh enum {
645625f965SAjay Singh 	WILC_FW_NO_ENCRYPT = 0,
655625f965SAjay Singh 	WILC_FW_ENCRYPT_ENABLED = BIT(0),
665625f965SAjay Singh 	WILC_FW_WEP = BIT(1),
675625f965SAjay Singh 	WILC_FW_WEP_EXTENDED = BIT(2),
685625f965SAjay Singh 	WILC_FW_WPA = BIT(3),
695625f965SAjay Singh 	WILC_FW_WPA2 = BIT(4),
705625f965SAjay Singh 	WILC_FW_AES = BIT(5),
715625f965SAjay Singh 	WILC_FW_TKIP = BIT(6)
725625f965SAjay Singh };
735625f965SAjay Singh 
745625f965SAjay Singh enum {
755625f965SAjay Singh 	WILC_FW_SEC_NO = WILC_FW_NO_ENCRYPT,
765625f965SAjay Singh 	WILC_FW_SEC_WEP = WILC_FW_WEP | WILC_FW_ENCRYPT_ENABLED,
775625f965SAjay Singh 	WILC_FW_SEC_WEP_EXTENDED = WILC_FW_WEP_EXTENDED | WILC_FW_SEC_WEP,
785625f965SAjay Singh 	WILC_FW_SEC_WPA = WILC_FW_WPA | WILC_FW_ENCRYPT_ENABLED,
795625f965SAjay Singh 	WILC_FW_SEC_WPA_AES = WILC_FW_AES | WILC_FW_SEC_WPA,
805625f965SAjay Singh 	WILC_FW_SEC_WPA_TKIP = WILC_FW_TKIP | WILC_FW_SEC_WPA,
815625f965SAjay Singh 	WILC_FW_SEC_WPA2 = WILC_FW_WPA2 | WILC_FW_ENCRYPT_ENABLED,
825625f965SAjay Singh 	WILC_FW_SEC_WPA2_AES = WILC_FW_AES | WILC_FW_SEC_WPA2,
835625f965SAjay Singh 	WILC_FW_SEC_WPA2_TKIP = WILC_FW_TKIP | WILC_FW_SEC_WPA2
845625f965SAjay Singh };
855625f965SAjay Singh 
865625f965SAjay Singh enum authtype {
875625f965SAjay Singh 	WILC_FW_AUTH_OPEN_SYSTEM = 1,
885625f965SAjay Singh 	WILC_FW_AUTH_SHARED_KEY = 2,
895625f965SAjay Singh 	WILC_FW_AUTH_ANY = 3,
90c5b331d4SAjay Singh 	WILC_FW_AUTH_IEEE8021 = 5,
91c5b331d4SAjay Singh 	WILC_FW_AUTH_SAE = 7,
92c5b331d4SAjay Singh 	WILC_FW_AUTH_IEE8021X_SHA256 = 9,
93c5b331d4SAjay Singh 	WILC_FW_AUTH_OPEN_SYSTEM_SHA256 = 13
945625f965SAjay Singh };
955625f965SAjay Singh 
960e703de3SAjay Singh enum mfptype {
970e703de3SAjay Singh 	WILC_FW_MFP_NONE = 0x0,
980e703de3SAjay Singh 	WILC_FW_MFP_OPTIONAL = 0x1,
990e703de3SAjay Singh 	WILC_FW_MFP_REQUIRED = 0x2
1000e703de3SAjay Singh };
1010e703de3SAjay Singh 
1025625f965SAjay Singh enum site_survey {
1035625f965SAjay Singh 	WILC_FW_SITE_SURVEY_1CH = 0,
1045625f965SAjay Singh 	WILC_FW_SITE_SURVEY_ALL_CH = 1,
1055625f965SAjay Singh 	WILC_FW_SITE_SURVEY_OFF = 2
1065625f965SAjay Singh };
1075625f965SAjay Singh 
1085625f965SAjay Singh enum {
1095625f965SAjay Singh 	WILC_FW_ACK_POLICY_NORMAL = 0,
1105625f965SAjay Singh 	WILC_FW_ACK_NO_POLICY,
1115625f965SAjay Singh };
1125625f965SAjay Singh 
1135625f965SAjay Singh enum {
1145625f965SAjay Singh 	WILC_FW_REKEY_POLICY_DISABLE = 1,
1155625f965SAjay Singh 	WILC_FW_REKEY_POLICY_TIME_BASE,
1165625f965SAjay Singh 	WILC_FW_REKEY_POLICY_PKT_BASE,
1175625f965SAjay Singh 	WILC_FW_REKEY_POLICY_TIME_PKT_BASE
1185625f965SAjay Singh };
1195625f965SAjay Singh 
1205625f965SAjay Singh enum {
1215625f965SAjay Singh 	WILC_FW_FILTER_NO = 0x00,
1225625f965SAjay Singh 	WILC_FW_FILTER_AP_ONLY = 0x01,
1235625f965SAjay Singh 	WILC_FW_FILTER_STA_ONLY = 0x02
1245625f965SAjay Singh };
1255625f965SAjay Singh 
1265625f965SAjay Singh enum {
1275625f965SAjay Singh 	WILC_FW_11N_PROT_AUTO = 0,	/* Auto */
1285625f965SAjay Singh 	WILC_FW_11N_NO_PROT,		/* Do not use any protection */
1295625f965SAjay Singh 	WILC_FW_11N_PROT_ERP,		/* Protect all ERP frame exchanges */
1305625f965SAjay Singh 	WILC_FW_11N_PROT_HT,		/* Protect all HT frame exchanges  */
1315625f965SAjay Singh 	WILC_FW_11N_PROT_GF		/* Protect all GF frame exchanges  */
1325625f965SAjay Singh };
1335625f965SAjay Singh 
1345625f965SAjay Singh enum {
1355625f965SAjay Singh 	WILC_FW_ERP_PROT_SELF_CTS,
1365625f965SAjay Singh 	WILC_FW_ERP_PROT_RTS_CTS,
1375625f965SAjay Singh };
1385625f965SAjay Singh 
1395625f965SAjay Singh enum {
1405625f965SAjay Singh 	WILC_FW_11N_OP_MODE_HT_MIXED = 1,
1415625f965SAjay Singh 	WILC_FW_11N_OP_MODE_HT_ONLY_20MHZ,
1425625f965SAjay Singh 	WILC_FW_11N_OP_MODE_HT_ONLY_20_40MHZ,
1435625f965SAjay Singh };
1445625f965SAjay Singh 
1455625f965SAjay Singh enum {
1465625f965SAjay Singh 	WILC_FW_OBBS_NONHT_NO_DETECT = 0,
1475625f965SAjay Singh 	WILC_FW_OBBS_NONHT_DETECT_ONLY = 1,
1485625f965SAjay Singh 	WILC_FW_OBBS_NONHT_DETECT_PROTECT = 2,
1495625f965SAjay Singh 	WILC_FW_OBBS_NONHT_DETECT_PROTECT_REPORT = 3,
1505625f965SAjay Singh };
1515625f965SAjay Singh 
1525625f965SAjay Singh enum {
1535625f965SAjay Singh 	WILC_FW_HT_PROT_RTS_CTS_NONHT = 0,  /* RTS-CTS at non-HT rate */
1545625f965SAjay Singh 	WILC_FW_HT_PROT_FIRST_FRAME_NONHT,  /* First frame at non-HT rate */
1555625f965SAjay Singh 	WILC_FW_HT_PROT_LSIG_TXOP,	    /* LSIG TXOP Protection */
1565625f965SAjay Singh 	WILC_FW_HT_PROT_FIRST_FRAME_MIXED,  /* First frame at Mixed format */
1575625f965SAjay Singh };
1585625f965SAjay Singh 
1595625f965SAjay Singh enum {
1605625f965SAjay Singh 	WILC_FW_SMPS_MODE_STATIC = 1,
1615625f965SAjay Singh 	WILC_FW_SMPS_MODE_DYNAMIC = 2,
1625625f965SAjay Singh 	WILC_FW_SMPS_MODE_MIMO = 3,	/* power save disable */
1635625f965SAjay Singh };
1645625f965SAjay Singh 
1655625f965SAjay Singh enum {
1665625f965SAjay Singh 	WILC_FW_TX_RATE_AUTO = 0,
1675625f965SAjay Singh 	WILC_FW_TX_RATE_MBPS_1 = 1,
1685625f965SAjay Singh 	WILC_FW_TX_RATE_MBPS_2 = 2,
1695625f965SAjay Singh 	WILC_FW_TX_RATE_MBPS_5_5 = 5,
1705625f965SAjay Singh 	WILC_FW_TX_RATE_MBPS_11 = 11,
1715625f965SAjay Singh 	WILC_FW_TX_RATE_MBPS_6 = 6,
1725625f965SAjay Singh 	WILC_FW_TX_RATE_MBPS_9 = 9,
1735625f965SAjay Singh 	WILC_FW_TX_RATE_MBPS_12 = 12,
1745625f965SAjay Singh 	WILC_FW_TX_RATE_MBPS_18 = 18,
1755625f965SAjay Singh 	WILC_FW_TX_RATE_MBPS_24 = 24,
1765625f965SAjay Singh 	WILC_FW_TX_RATE_MBPS_36 = 36,
1775625f965SAjay Singh 	WILC_FW_TX_RATE_MBPS_48 = 48,
1785625f965SAjay Singh 	WILC_FW_TX_RATE_MBPS_54 = 54
1795625f965SAjay Singh };
1805625f965SAjay Singh 
1815625f965SAjay Singh enum {
1825625f965SAjay Singh 	WILC_FW_DEFAULT_SCAN = 0,
1835625f965SAjay Singh 	WILC_FW_USER_SCAN = BIT(0),
1845625f965SAjay Singh 	WILC_FW_OBSS_PERIODIC_SCAN = BIT(1),
1855625f965SAjay Singh 	WILC_FW_OBSS_ONETIME_SCAN = BIT(2)
1865625f965SAjay Singh };
1875625f965SAjay Singh 
1885625f965SAjay Singh enum {
1895625f965SAjay Singh 	WILC_FW_ACTION_FRM_IDX = 0,
190c5b331d4SAjay Singh 	WILC_FW_PROBE_REQ_IDX = 1,
191c5b331d4SAjay Singh 	WILC_FW_AUTH_REQ_IDX = 2
1925625f965SAjay Singh };
1935625f965SAjay Singh 
1945625f965SAjay Singh enum wid_type {
1955625f965SAjay Singh 	WID_CHAR		= 0,
1965625f965SAjay Singh 	WID_SHORT		= 1,
1975625f965SAjay Singh 	WID_INT			= 2,
1985625f965SAjay Singh 	WID_STR			= 3,
1995625f965SAjay Singh 	WID_BIN_DATA		= 4,
2005625f965SAjay Singh 	WID_BIN			= 5,
2015625f965SAjay Singh };
2025625f965SAjay Singh 
2035625f965SAjay Singh struct wid {
2045625f965SAjay Singh 	u16 id;
2055625f965SAjay Singh 	enum wid_type type;
2065625f965SAjay Singh 	s32 size;
2075625f965SAjay Singh 	s8 *val;
2085625f965SAjay Singh };
2095625f965SAjay Singh 
2105625f965SAjay Singh enum {
2115625f965SAjay Singh 	WID_NIL				= 0xffff,
2125625f965SAjay Singh 
2135625f965SAjay Singh 	/*
2145625f965SAjay Singh 	 *  BSS Type
2155625f965SAjay Singh 	 *  -----------------------------------------------------------
2165625f965SAjay Singh 	 *  Configuration : Infrastructure   Independent   Access Point
2175625f965SAjay Singh 	 *  Values to set :         0               1            2
2185625f965SAjay Singh 	 *  -----------------------------------------------------------
2195625f965SAjay Singh 	 */
2205625f965SAjay Singh 	WID_BSS_TYPE			= 0x0000,
2215625f965SAjay Singh 
2225625f965SAjay Singh 	/*
2235625f965SAjay Singh 	 *  Transmit Rate
2245625f965SAjay Singh 	 *  -----------------------------------------------------------
2255625f965SAjay Singh 	 *  Configuration : 1  2  5.5  11  6  9  12  18  24  36  48  54
2265625f965SAjay Singh 	 *  Values to set : 1  2    5  11  6  9  12  18  24  36  48  54
2275625f965SAjay Singh 	 *  -----------------------------------------------------------
2285625f965SAjay Singh 	 */
2295625f965SAjay Singh 	WID_CURRENT_TX_RATE		= 0x0001,
2305625f965SAjay Singh 
2315625f965SAjay Singh 	/*
2325625f965SAjay Singh 	 *  Channel
2335625f965SAjay Singh 	 *  -----------------------------------------------------------
2345625f965SAjay Singh 	 *  Configuration(g) : 1  2  3  4  5  6  7  8  9 10 11 12 13 14
2355625f965SAjay Singh 	 *  Values to set    : 1  2  3  4  5  6  7  8  9 10 11 12 13 14
2365625f965SAjay Singh 	 *  -----------------------------------------------------------
2375625f965SAjay Singh 	 */
2385625f965SAjay Singh 	WID_CURRENT_CHANNEL		= 0x0002,
2395625f965SAjay Singh 
2405625f965SAjay Singh 	/*
2415625f965SAjay Singh 	 *  Preamble
2425625f965SAjay Singh 	 *  -----------------------------------------------------------
2435625f965SAjay Singh 	 *  Configuration :    short    long      Auto
2445625f965SAjay Singh 	 *  Values to set :       0       1         2
2455625f965SAjay Singh 	 *  -----------------------------------------------------------
2465625f965SAjay Singh 	 */
2475625f965SAjay Singh 	WID_PREAMBLE			= 0x0003,
2485625f965SAjay Singh 
2495625f965SAjay Singh 	/*
2505625f965SAjay Singh 	 * 11g operating mode (ignored if 11g not present)
2515625f965SAjay Singh 	 *  -----------------------------------------------------------
2525625f965SAjay Singh 	 *  Configuration :   HighPerf  Compat(RSet #1) Compat(RSet #2)
2535625f965SAjay Singh 	 *  Values to set :          1               2               3
2545625f965SAjay Singh 	 *  -----------------------------------------------------------
2555625f965SAjay Singh 	 */
2565625f965SAjay Singh 	WID_11G_OPERATING_MODE		= 0x0004,
2575625f965SAjay Singh 
2585625f965SAjay Singh 	/*
2595625f965SAjay Singh 	 *  Mac status (response only)
2605625f965SAjay Singh 	 *  -----------------------------------------------------------
2615625f965SAjay Singh 	 *  Configuration :   disconnect  connect
2625625f965SAjay Singh 	 *  Values to get :          0       1
2635625f965SAjay Singh 	 *  -----------------------------------------------------------
2645625f965SAjay Singh 	 */
2655625f965SAjay Singh 	WID_STATUS			= 0x0005,
2665625f965SAjay Singh 
2675625f965SAjay Singh 	/*
2685625f965SAjay Singh 	 *  Scan type
2695625f965SAjay Singh 	 *  -----------------------------------------------------------
2705625f965SAjay Singh 	 *  Configuration :   Passive Scanning   Active Scanning
2715625f965SAjay Singh 	 *  Values to set :                  0                 1
2725625f965SAjay Singh 	 *  -----------------------------------------------------------
2735625f965SAjay Singh 	 */
2745625f965SAjay Singh 	WID_SCAN_TYPE			= 0x0007,
2755625f965SAjay Singh 
2765625f965SAjay Singh 	/*
2775625f965SAjay Singh 	 *  Key Id (WEP default key Id)
2785625f965SAjay Singh 	 *  -----------------------------------------------------------
2795625f965SAjay Singh 	 *  Configuration :   Any value between 0 to 3
2805625f965SAjay Singh 	 *  Values to set :   Same value. Default is 0
2815625f965SAjay Singh 	 *  -----------------------------------------------------------
2825625f965SAjay Singh 	 */
2835625f965SAjay Singh 	WID_KEY_ID			= 0x0009,
2845625f965SAjay Singh 
2855625f965SAjay Singh 	/*
2865625f965SAjay Singh 	 *  QoS Enable
2875625f965SAjay Singh 	 *  -----------------------------------------------------------
2885625f965SAjay Singh 	 *  Configuration :   QoS Disable   WMM Enable
2895625f965SAjay Singh 	 *  Values to set :   0             1
2905625f965SAjay Singh 	 *  -----------------------------------------------------------
2915625f965SAjay Singh 	 */
2925625f965SAjay Singh 	WID_QOS_ENABLE			= 0x000A,
2935625f965SAjay Singh 
2945625f965SAjay Singh 	/*
2955625f965SAjay Singh 	 *  Power Management
2965625f965SAjay Singh 	 *  -----------------------------------------------------------
2975625f965SAjay Singh 	 *  Configuration : NO_POWERSAVE MIN_POWERSAVE MAX_POWERSAVE
2985625f965SAjay Singh 	 *  Values to set : 0            1             2
2995625f965SAjay Singh 	 *  -----------------------------------------------------------
3005625f965SAjay Singh 	 */
3015625f965SAjay Singh 	WID_POWER_MANAGEMENT		= 0x000B,
3025625f965SAjay Singh 
3035625f965SAjay Singh 	/*
3045625f965SAjay Singh 	 *  WEP/802 11I Configuration
3055625f965SAjay Singh 	 *  -----------------------------------------------------------
3065625f965SAjay Singh 	 *  Configuration:Disable WP40 WP104 WPA-AES WPA-TKIP RSN-AES RSN-TKIP
3075625f965SAjay Singh 	 *  Values (0x)  :   00     03   07     29       49       31      51
3085625f965SAjay Singh 	 *  Configuration:WPA-AES+TKIP RSN-AES+TKIP
3095625f965SAjay Singh 	 *  Values (0x)  :      69        71
3105625f965SAjay Singh 	 *  -----------------------------------------------------------
3115625f965SAjay Singh 	 */
3125625f965SAjay Singh 	WID_11I_MODE			= 0x000C,
3135625f965SAjay Singh 
3145625f965SAjay Singh 	/*
3155625f965SAjay Singh 	 *  WEP Configuration: Used in BSS STA mode only when WEP is enabled
3165625f965SAjay Singh 	 *  -----------------------------------------------------------
3175625f965SAjay Singh 	 *  Configuration : Open System Shared Key Any Type | 802.1x Auth
3185625f965SAjay Singh 	 *  Values (0x)   :    01             02         03 |    BIT2
3195625f965SAjay Singh 	 *  -----------------------------------------------------------
3205625f965SAjay Singh 	 */
3215625f965SAjay Singh 	WID_AUTH_TYPE			= 0x000D,
3225625f965SAjay Singh 
3235625f965SAjay Singh 	/*
3245625f965SAjay Singh 	 *  Site Survey Type
3255625f965SAjay Singh 	 *  -----------------------------------------------------------
3265625f965SAjay Singh 	 *  Configuration       :  Values to set
3275625f965SAjay Singh 	 *  Survey 1 Channel    :  0
3285625f965SAjay Singh 	 *  survey all Channels :  1
3295625f965SAjay Singh 	 *  Disable Site Survey :  2
3305625f965SAjay Singh 	 *  -----------------------------------------------------------
3315625f965SAjay Singh 	 */
3325625f965SAjay Singh 	WID_SITE_SURVEY			= 0x000E,
3335625f965SAjay Singh 
3345625f965SAjay Singh 	/*
3355625f965SAjay Singh 	 *  Listen Interval
3365625f965SAjay Singh 	 *  -----------------------------------------------------------
3375625f965SAjay Singh 	 *  Configuration :   Any value between 1 to 255
3385625f965SAjay Singh 	 *  Values to set :   Same value. Default is 3
3395625f965SAjay Singh 	 *  -----------------------------------------------------------
3405625f965SAjay Singh 	 */
3415625f965SAjay Singh 	WID_LISTEN_INTERVAL		= 0x000F,
3425625f965SAjay Singh 
3435625f965SAjay Singh 	/*
3445625f965SAjay Singh 	 *  DTIM Period
3455625f965SAjay Singh 	 *  -----------------------------------------------------------
3465625f965SAjay Singh 	 *  Configuration :   Any value between 1 to 255
3475625f965SAjay Singh 	 *  Values to set :   Same value. Default is 3
3485625f965SAjay Singh 	 *  -----------------------------------------------------------
3495625f965SAjay Singh 	 */
3505625f965SAjay Singh 	WID_DTIM_PERIOD			= 0x0010,
3515625f965SAjay Singh 
3525625f965SAjay Singh 	/*
3535625f965SAjay Singh 	 *  ACK Policy
3545625f965SAjay Singh 	 *  -----------------------------------------------------------
3555625f965SAjay Singh 	 *  Configuration :   Normal Ack            No Ack
3565625f965SAjay Singh 	 *  Values to set :       0                   1
3575625f965SAjay Singh 	 *  -----------------------------------------------------------
3585625f965SAjay Singh 	 */
3595625f965SAjay Singh 	WID_ACK_POLICY			= 0x0011,
3605625f965SAjay Singh 
3615625f965SAjay Singh 	/*
3625625f965SAjay Singh 	 *  Reset MAC (Set only)
3635625f965SAjay Singh 	 *  -----------------------------------------------------------
3645625f965SAjay Singh 	 *  Configuration :   Don't Reset	Reset	No Request
3655625f965SAjay Singh 	 *  Values to set :       0               1	    2
3665625f965SAjay Singh 	 *  -----------------------------------------------------------
3675625f965SAjay Singh 	 */
3685625f965SAjay Singh 	WID_RESET			= 0x0012,
3695625f965SAjay Singh 
3705625f965SAjay Singh 	/*
3715625f965SAjay Singh 	 *  Broadcast SSID Option: Setting this will adhere to "" SSID element
3725625f965SAjay Singh 	 *  -----------------------------------------------------------
3735625f965SAjay Singh 	 *  Configuration :   Enable             Disable
3745625f965SAjay Singh 	 *  Values to set :   1                  0
3755625f965SAjay Singh 	 *  -----------------------------------------------------------
3765625f965SAjay Singh 	 */
3775625f965SAjay Singh 	WID_BCAST_SSID			= 0x0015,
3785625f965SAjay Singh 
3795625f965SAjay Singh 	/*
3805625f965SAjay Singh 	 *  Disconnect (Station)
3815625f965SAjay Singh 	 *  -----------------------------------------------------------
3825625f965SAjay Singh 	 *  Configuration :   Association ID
3835625f965SAjay Singh 	 *  Values to set :   Association ID
3845625f965SAjay Singh 	 *  -----------------------------------------------------------
3855625f965SAjay Singh 	 */
3865625f965SAjay Singh 	WID_DISCONNECT			= 0x0016,
3875625f965SAjay Singh 
3885625f965SAjay Singh 	/*
3895625f965SAjay Singh 	 *  11a Tx Power Level
3905625f965SAjay Singh 	 *  -----------------------------------------------------------
3915625f965SAjay Singh 	 *  Configuration : Sets TX Power (Higher the value greater the power)
3925625f965SAjay Singh 	 *  Values to set : Any value between 0 and 63 (inclusive Default 48)
3935625f965SAjay Singh 	 *  -----------------------------------------------------------
3945625f965SAjay Singh 	 */
3955625f965SAjay Singh 	WID_TX_POWER_LEVEL_11A		= 0x0018,
3965625f965SAjay Singh 
3975625f965SAjay Singh 	/*
3985625f965SAjay Singh 	 *  Group Key Update Policy Selection
3995625f965SAjay Singh 	 *  -----------------------------------------------------------
4005625f965SAjay Singh 	 *  Configuration : Disabled timeBased packetBased timePacketBased
4015625f965SAjay Singh 	 *  Values to set :   1            2          3              4
4025625f965SAjay Singh 	 *  -----------------------------------------------------------
4035625f965SAjay Singh 	 */
4045625f965SAjay Singh 	WID_REKEY_POLICY		= 0x0019,
4055625f965SAjay Singh 
4065625f965SAjay Singh 	/*
4075625f965SAjay Singh 	 *  Allow Short Slot
4085625f965SAjay Singh 	 *  -----------------------------------------------------------
4095625f965SAjay Singh 	 *  Configuration : Disallow Short Slot      Allow Short Slot
4105625f965SAjay Singh 	 *          (Enable Only Long Slot) (Enable Short Slot if applicable)
4115625f965SAjay Singh 	 *  Values to set :    0         1
4125625f965SAjay Singh 	 *  -----------------------------------------------------------
4135625f965SAjay Singh 	 */
4145625f965SAjay Singh 	WID_SHORT_SLOT_ALLOWED		= 0x001A,
4155625f965SAjay Singh 
4165625f965SAjay Singh 	WID_PHY_ACTIVE_REG		= 0x001B,
4175625f965SAjay Singh 
4185625f965SAjay Singh 	/*
4195625f965SAjay Singh 	 *  11b Tx Power Level
4205625f965SAjay Singh 	 *  -----------------------------------------------------------
4215625f965SAjay Singh 	 *  Configuration : Sets TX Power (Higher the value greater the power)
4225625f965SAjay Singh 	 *  Values to set : Any value between 0 and 63 (inclusive Default 48)
4235625f965SAjay Singh 	 *  -----------------------------------------------------------
4245625f965SAjay Singh 	 */
4255625f965SAjay Singh 	WID_TX_POWER_LEVEL_11B		= 0x001D,
4265625f965SAjay Singh 
4275625f965SAjay Singh 	/*
4285625f965SAjay Singh 	 *  Scan Request
4295625f965SAjay Singh 	 *  -----------------------------------------------------------
4305625f965SAjay Singh 	 *  Configuration : Request default scan
4315625f965SAjay Singh 	 *  Values to set : 0
4325625f965SAjay Singh 	 *  -----------------------------------------------------------
4335625f965SAjay Singh 	 */
4345625f965SAjay Singh 	WID_START_SCAN_REQ		= 0x001E,
4355625f965SAjay Singh 
4365625f965SAjay Singh 	/*
4375625f965SAjay Singh 	 *  Rssi (get only)
4385625f965SAjay Singh 	 *  -----------------------------------------------------------
4395625f965SAjay Singh 	 *  Configuration :
4405625f965SAjay Singh 	 *  Values to get : Rssi value
4415625f965SAjay Singh 	 *  -----------------------------------------------------------
4425625f965SAjay Singh 	 */
4435625f965SAjay Singh 	WID_RSSI			= 0x001F,
4445625f965SAjay Singh 
4455625f965SAjay Singh 	/*
4465625f965SAjay Singh 	 * Join Request
4475625f965SAjay Singh 	 *  -----------------------------------------------------------
4485625f965SAjay Singh 	 *  Configuration : Request to join
4495625f965SAjay Singh 	 *  Values to set : index of scan result
4505625f965SAjay Singh 	 *  -----------------------------------------------------------
4515625f965SAjay Singh 	 */
4525625f965SAjay Singh 	WID_JOIN_REQ			= 0x0020,
4535625f965SAjay Singh 
4545625f965SAjay Singh 	WID_LINKSPEED			= 0x0026,
4555625f965SAjay Singh 
4565625f965SAjay Singh 	/*
4575625f965SAjay Singh 	 *  Enable User Control of TX Power
4585625f965SAjay Singh 	 *  -----------------------------------------------------------
4595625f965SAjay Singh 	 *  Configuration : Disable                  Enable
4605625f965SAjay Singh 	 *  Values to set :    0                       1
4615625f965SAjay Singh 	 *  -----------------------------------------------------------
4625625f965SAjay Singh 	 */
4635625f965SAjay Singh 	WID_USER_CONTROL_ON_TX_POWER	= 0x0027,
4645625f965SAjay Singh 
4655625f965SAjay Singh 	WID_MEMORY_ACCESS_8BIT		= 0x0029,
4665625f965SAjay Singh 
4675625f965SAjay Singh 	/*
4685625f965SAjay Singh 	 *  Enable Auto RX Sensitivity feature
4695625f965SAjay Singh 	 *  -----------------------------------------------------------
4705625f965SAjay Singh 	 *  Configuration : Disable                  Enable
4715625f965SAjay Singh 	 *  Values to set :    0                       1
4725625f965SAjay Singh 	 *  -----------------------------------------------------------
4735625f965SAjay Singh 	 */
4745625f965SAjay Singh 	WID_AUTO_RX_SENSITIVITY		= 0x0032,
4755625f965SAjay Singh 
4765625f965SAjay Singh 	/*
4775625f965SAjay Singh 	 *  Receive Buffer Based Ack
4785625f965SAjay Singh 	 *  -----------------------------------------------------------
4795625f965SAjay Singh 	 *  Configuration : Disable                  Enable
4805625f965SAjay Singh 	 *  Values to set :    0                       1
4815625f965SAjay Singh 	 *  -----------------------------------------------------------
4825625f965SAjay Singh 	 */
4835625f965SAjay Singh 	WID_DATAFLOW_CONTROL		= 0x0033,
4845625f965SAjay Singh 
4855625f965SAjay Singh 	/*
4865625f965SAjay Singh 	 *  Scan Filter
4875625f965SAjay Singh 	 *  -----------------------------------------------------------
4885625f965SAjay Singh 	 *  Configuration : Class       No filter   AP only   Station Only
4895625f965SAjay Singh 	 *  Values to set :                0           1           2
4905625f965SAjay Singh 	 *  Configuration : Priority    High Rssi   Low Rssi     Detect
4915625f965SAjay Singh 	 *  Values to set :                0          0x4         0x0
4925625f965SAjay Singh 	 *  Configuration : Channel     filter off  filter on
4935625f965SAjay Singh 	 *  Values to set :                0          0x10
4945625f965SAjay Singh 	 *  -----------------------------------------------------------
4955625f965SAjay Singh 	 */
4965625f965SAjay Singh 	WID_SCAN_FILTER			= 0x0036,
4975625f965SAjay Singh 
4985625f965SAjay Singh 	/*
4995625f965SAjay Singh 	 *  Link Loss Threshold (measure in the beacon period)
5005625f965SAjay Singh 	 *  -----------------------------------------------------------
5015625f965SAjay Singh 	 *  Configuration : Any value between 10 and 254(Set to 255 disable)
5025625f965SAjay Singh 	 *  Values to set : Same value. Default is 10
5035625f965SAjay Singh 	 *  -----------------------------------------------------------
5045625f965SAjay Singh 	 */
5055625f965SAjay Singh 	WID_LINK_LOSS_THRESHOLD		= 0x0037,
5065625f965SAjay Singh 
5075625f965SAjay Singh 	WID_ABORT_RUNNING_SCAN		= 0x003E,
5085625f965SAjay Singh 
5095625f965SAjay Singh 	/* NMAC Character WID list */
5105625f965SAjay Singh 	WID_WPS_START			= 0x0043,
5115625f965SAjay Singh 
5125625f965SAjay Singh 	/*
5135625f965SAjay Singh 	 *  Protection mode for MAC
5145625f965SAjay Singh 	 *  -----------------------------------------------------------
5155625f965SAjay Singh 	 *  Configuration :  Auto  No protection  ERP    HT    GF
5165625f965SAjay Singh 	 *  Values to set :  0     1              2      3     4
5175625f965SAjay Singh 	 *  -----------------------------------------------------------
5185625f965SAjay Singh 	 */
5195625f965SAjay Singh 	WID_11N_PROT_MECH		= 0x0080,
5205625f965SAjay Singh 
5215625f965SAjay Singh 	/*
5225625f965SAjay Singh 	 *  ERP Protection type for MAC
5235625f965SAjay Singh 	 *  -----------------------------------------------------------
5245625f965SAjay Singh 	 *  Configuration :  Self-CTS   RTS-CTS
5255625f965SAjay Singh 	 *  Values to set :  0          1
5265625f965SAjay Singh 	 *  -----------------------------------------------------------
5275625f965SAjay Singh 	 */
5285625f965SAjay Singh 	WID_11N_ERP_PROT_TYPE		= 0x0081,
5295625f965SAjay Singh 
5305625f965SAjay Singh 	/*
5315625f965SAjay Singh 	 *  HT Option Enable
5325625f965SAjay Singh 	 *  -----------------------------------------------------------
5335625f965SAjay Singh 	 *  Configuration :   HT Enable          HT Disable
5345625f965SAjay Singh 	 *  Values to set :   1                  0
5355625f965SAjay Singh 	 *  -----------------------------------------------------------
5365625f965SAjay Singh 	 */
5375625f965SAjay Singh 	WID_11N_ENABLE			= 0x0082,
5385625f965SAjay Singh 
5395625f965SAjay Singh 	/*
5405625f965SAjay Singh 	 *  11n Operating mode (Note that 11g operating mode will also be
5415625f965SAjay Singh 	 *  used in addition to this, if this is set to HT Mixed mode)
5425625f965SAjay Singh 	 *  -----------------------------------------------------------
5435625f965SAjay Singh 	 *   Configuration :  HT Mixed  HT Only-20MHz   HT Only-20/40MHz
5445625f965SAjay Singh 	 *  Values to set :     1         2               3
5455625f965SAjay Singh 	 *  -----------------------------------------------------------
5465625f965SAjay Singh 	 */
5475625f965SAjay Singh 	WID_11N_OPERATING_MODE		= 0x0083,
5485625f965SAjay Singh 
5495625f965SAjay Singh 	/*
5505625f965SAjay Singh 	 *  11n OBSS non-HT STA Detection flag
5515625f965SAjay Singh 	 *  -----------------------------------------------------------
5525625f965SAjay Singh 	 *  Configuration :  Do not detect
5535625f965SAjay Singh 	 *  Values to set :  0
5545625f965SAjay Singh 	 *  Configuration :  Detect, do not protect or report
5555625f965SAjay Singh 	 *  Values to set :  1
5565625f965SAjay Singh 	 *  Configuration :  Detect, protect and do not report
5575625f965SAjay Singh 	 *  Values to set :  2
5585625f965SAjay Singh 	 *  Configuration :  Detect, protect and report to other BSS
5595625f965SAjay Singh 	 *  Values to set :  3
5605625f965SAjay Singh 	 *  -----------------------------------------------------------
5615625f965SAjay Singh 	 */
5625625f965SAjay Singh 	WID_11N_OBSS_NONHT_DETECTION	= 0x0084,
5635625f965SAjay Singh 
5645625f965SAjay Singh 	/*
5655625f965SAjay Singh 	 *  11n HT Protection Type
5665625f965SAjay Singh 	 *  -----------------------------------------------------------
5675625f965SAjay Singh 	 *  Configuration :  RTS-CTS   First Frame Exchange at non-HT-rate
5685625f965SAjay Singh 	 *  Values to set :  0         1
5695625f965SAjay Singh 	 *  Configuration :  LSIG TXOP First Frame Exchange in Mixed Fmt
5705625f965SAjay Singh 	 *  Values to set :  2         3
5715625f965SAjay Singh 	 *  -----------------------------------------------------------
5725625f965SAjay Singh 	 */
5735625f965SAjay Singh 	WID_11N_HT_PROT_TYPE		= 0x0085,
5745625f965SAjay Singh 
5755625f965SAjay Singh 	/*
5765625f965SAjay Singh 	 *  11n RIFS Protection Enable Flag
5775625f965SAjay Singh 	 *  -----------------------------------------------------------
5785625f965SAjay Singh 	 *  Configuration :  Disable    Enable
5795625f965SAjay Singh 	 *  Values to set :  0          1
5805625f965SAjay Singh 	 *  -----------------------------------------------------------
5815625f965SAjay Singh 	 */
5825625f965SAjay Singh 	WID_11N_RIFS_PROT_ENABLE	= 0x0086,
5835625f965SAjay Singh 
5845625f965SAjay Singh 	/*
5855625f965SAjay Singh 	 *  SMPS Mode
5865625f965SAjay Singh 	 *  -----------------------------------------------------------
5875625f965SAjay Singh 	 *  Configuration :  Static   Dynamic   MIMO (Power Save Disabled)
5885625f965SAjay Singh 	 *  Values to set :  1        2         3
5895625f965SAjay Singh 	 *  -----------------------------------------------------------
5905625f965SAjay Singh 	 */
5915625f965SAjay Singh 	WID_11N_SMPS_MODE		= 0x0087,
5925625f965SAjay Singh 
5935625f965SAjay Singh 	/*
5945625f965SAjay Singh 	 *  Current transmit MCS
5955625f965SAjay Singh 	 *  -----------------------------------------------------------
5965625f965SAjay Singh 	 *  Configuration :  MCS Index for data rate
5975625f965SAjay Singh 	 *  Values to set :  0 to 7
5985625f965SAjay Singh 	 *  -----------------------------------------------------------
5995625f965SAjay Singh 	 */
6005625f965SAjay Singh 	WID_11N_CURRENT_TX_MCS		= 0x0088,
6015625f965SAjay Singh 
6025625f965SAjay Singh 	WID_11N_PRINT_STATS		= 0x0089,
6035625f965SAjay Singh 
6045625f965SAjay Singh 	/*
6055625f965SAjay Singh 	 *  11n Short GI Enable Flag
6065625f965SAjay Singh 	 *  -----------------------------------------------------------
6075625f965SAjay Singh 	 *  Configuration :  Disable    Enable
6085625f965SAjay Singh 	 *  Values to set :  0          1
6095625f965SAjay Singh 	 *  -----------------------------------------------------------
6105625f965SAjay Singh 	 */
6115625f965SAjay Singh 	WID_11N_SHORT_GI_ENABLE		= 0x008D,
6125625f965SAjay Singh 
6135625f965SAjay Singh 	/*
6145625f965SAjay Singh 	 *  11n RIFS Enable Flag
6155625f965SAjay Singh 	 *  -----------------------------------------------------------
6165625f965SAjay Singh 	 *  Configuration :  Disable    Enable
6175625f965SAjay Singh 	 *  Values to set :  0          1
6185625f965SAjay Singh 	 *  -----------------------------------------------------------
6195625f965SAjay Singh 	 */
6205625f965SAjay Singh 	WID_RIFS_MODE			= 0x0094,
6215625f965SAjay Singh 
6225625f965SAjay Singh 	/*
6235625f965SAjay Singh 	 *  TX Abort Feature
6245625f965SAjay Singh 	 *  -----------------------------------------------------------
6255625f965SAjay Singh 	 *  Configuration :  Disable Self CTS    Enable Self CTS
6265625f965SAjay Singh 	 *  Values to set :             0                      1
6275625f965SAjay Singh 	 *  Configuration :  Disable TX Abort    Enable TX Abort
6285625f965SAjay Singh 	 *  Values to set :             2                      3
6295625f965SAjay Singh 	 *  Configuration :  Enable HW TX Abort Enable SW TX Abort
6305625f965SAjay Singh 	 *  Values to set :             4                      5
6315625f965SAjay Singh 	 *  -----------------------------------------------------------
6325625f965SAjay Singh 	 */
6335625f965SAjay Singh 	WID_TX_ABORT_CONFIG		= 0x00A1,
6345625f965SAjay Singh 
6355625f965SAjay Singh 	WID_REG_TSSI_11B_VALUE		= 0x00A6,
6365625f965SAjay Singh 	WID_REG_TSSI_11G_VALUE		= 0x00A7,
6375625f965SAjay Singh 	WID_REG_TSSI_11N_VALUE		= 0x00A8,
6385625f965SAjay Singh 	WID_TX_CALIBRATION		= 0x00A9,
6395625f965SAjay Singh 	WID_DSCR_TSSI_11B_VALUE		= 0x00AA,
6405625f965SAjay Singh 	WID_DSCR_TSSI_11G_VALUE		= 0x00AB,
6415625f965SAjay Singh 	WID_DSCR_TSSI_11N_VALUE		= 0x00AC,
6425625f965SAjay Singh 
6435625f965SAjay Singh 	/*
6445625f965SAjay Singh 	 *  Immediate Block-Ack Support
6455625f965SAjay Singh 	 *  -----------------------------------------------------------
6465625f965SAjay Singh 	 *  Configuration : Disable                  Enable
6475625f965SAjay Singh 	 *  Values to set :    0                       1
6485625f965SAjay Singh 	 *  -----------------------------------------------------------
6495625f965SAjay Singh 	 */
6505625f965SAjay Singh 	WID_11N_IMMEDIATE_BA_ENABLED	= 0x00AF,
6515625f965SAjay Singh 
6525625f965SAjay Singh 	/*
6535625f965SAjay Singh 	 *  TXOP Disable Flag
6545625f965SAjay Singh 	 *  -----------------------------------------------------------
6555625f965SAjay Singh 	 *  Configuration : Disable                  Enable
6565625f965SAjay Singh 	 *  Values to set :    1                        0
6575625f965SAjay Singh 	 *  -----------------------------------------------------------
6585625f965SAjay Singh 	 */
6595625f965SAjay Singh 	WID_11N_TXOP_PROT_DISABLE	= 0x00B0,
6605625f965SAjay Singh 
6615625f965SAjay Singh 	WID_TX_POWER_LEVEL_11N		= 0x00B1,
6625625f965SAjay Singh 
6635625f965SAjay Singh 	/* Custom Character WID list */
6645625f965SAjay Singh 	/* SCAN Complete notification WID*/
6655625f965SAjay Singh 	WID_SCAN_COMPLETE		= 0x00C9,
6665625f965SAjay Singh 
6675625f965SAjay Singh 	WID_DEL_BEACON			= 0x00CA,
6685625f965SAjay Singh 
6695625f965SAjay Singh 	WID_LOG_TERMINAL_SWITCH		= 0x00CD,
6705625f965SAjay Singh 	WID_TX_POWER			= 0x00CE,
6710ec5408cSAjay Singh 	WID_WOWLAN_TRIGGER		= 0X00CF,
6720e703de3SAjay Singh 	WID_SET_MFP                     = 0x00D0,
6730e703de3SAjay Singh 
6740e703de3SAjay Singh 	WID_DEFAULT_MGMT_KEY_ID		= 0x00D2,
6755625f965SAjay Singh 	/*  EMAC Short WID list */
6765625f965SAjay Singh 	/*  RTS Threshold */
6775625f965SAjay Singh 	/*
6785625f965SAjay Singh 	 *  -----------------------------------------------------------
6795625f965SAjay Singh 	 *  Configuration :   Any value between 256 to 2347
6805625f965SAjay Singh 	 *  Values to set :   Same value. Default is 2347
6815625f965SAjay Singh 	 *  -----------------------------------------------------------
6825625f965SAjay Singh 	 */
6835625f965SAjay Singh 	WID_RTS_THRESHOLD		= 0x1000,
6845625f965SAjay Singh 
6855625f965SAjay Singh 	/*
6865625f965SAjay Singh 	 *  Fragmentation Threshold
6875625f965SAjay Singh 	 *  -----------------------------------------------------------
6885625f965SAjay Singh 	 *  Configuration :   Any value between 256 to 2346
6895625f965SAjay Singh 	 *  Values to set :   Same value. Default is 2346
6905625f965SAjay Singh 	 *  -----------------------------------------------------------
6915625f965SAjay Singh 	 */
6925625f965SAjay Singh 	WID_FRAG_THRESHOLD		= 0x1001,
6935625f965SAjay Singh 
6945625f965SAjay Singh 	WID_SHORT_RETRY_LIMIT		= 0x1002,
6955625f965SAjay Singh 	WID_LONG_RETRY_LIMIT		= 0x1003,
6965625f965SAjay Singh 	WID_BEACON_INTERVAL		= 0x1006,
6975625f965SAjay Singh 	WID_MEMORY_ACCESS_16BIT		= 0x1008,
6985625f965SAjay Singh 	WID_PASSIVE_SCAN_TIME           = 0x100D,
6995625f965SAjay Singh 	WID_JOIN_START_TIMEOUT		= 0x100F,
7005625f965SAjay Singh 	WID_ASOC_TIMEOUT		= 0x1011,
7015625f965SAjay Singh 	WID_11I_PROTOCOL_TIMEOUT	= 0x1012,
7025625f965SAjay Singh 	WID_EAPOL_RESPONSE_TIMEOUT	= 0x1013,
7035625f965SAjay Singh 
7045625f965SAjay Singh 	/* NMAC Short WID list */
7055625f965SAjay Singh 	WID_11N_SIG_QUAL_VAL		= 0x1085,
7065625f965SAjay Singh 	WID_CCA_THRESHOLD		= 0x1087,
7075625f965SAjay Singh 
7085625f965SAjay Singh 	/* Custom Short WID list */
7095625f965SAjay Singh 
7105625f965SAjay Singh 	/* EMAC Integer WID list */
7115625f965SAjay Singh 	WID_FAILED_COUNT		= 0x2000,
7125625f965SAjay Singh 	WID_RETRY_COUNT			= 0x2001,
7135625f965SAjay Singh 	WID_MULTIPLE_RETRY_COUNT	= 0x2002,
7145625f965SAjay Singh 	WID_FRAME_DUPLICATE_COUNT	= 0x2003,
7155625f965SAjay Singh 	WID_ACK_FAILURE_COUNT		= 0x2004,
7165625f965SAjay Singh 	WID_RECEIVED_FRAGMENT_COUNT	= 0x2005,
7175625f965SAjay Singh 	WID_MCAST_RECEIVED_FRAME_COUNT	= 0x2006,
7185625f965SAjay Singh 	WID_FCS_ERROR_COUNT		= 0x2007,
7195625f965SAjay Singh 	WID_SUCCESS_FRAME_COUNT		= 0x2008,
7205625f965SAjay Singh 	WID_HUT_TX_COUNT		= 0x200A,
7215625f965SAjay Singh 	WID_TX_FRAGMENT_COUNT		= 0x200B,
7225625f965SAjay Singh 	WID_TX_MULTICAST_FRAME_COUNT	= 0x200C,
7235625f965SAjay Singh 	WID_RTS_SUCCESS_COUNT		= 0x200D,
7245625f965SAjay Singh 	WID_RTS_FAILURE_COUNT		= 0x200E,
7255625f965SAjay Singh 	WID_WEP_UNDECRYPTABLE_COUNT	= 0x200F,
7265625f965SAjay Singh 	WID_REKEY_PERIOD		= 0x2010,
7275625f965SAjay Singh 	WID_REKEY_PACKET_COUNT		= 0x2011,
7285625f965SAjay Singh 	WID_1X_SERV_ADDR		= 0x2012,
7295625f965SAjay Singh 	WID_STACK_IP_ADDR		= 0x2013,
7305625f965SAjay Singh 	WID_STACK_NETMASK_ADDR		= 0x2014,
7315625f965SAjay Singh 	WID_HW_RX_COUNT			= 0x2015,
7325625f965SAjay Singh 	WID_MEMORY_ADDRESS		= 0x201E,
7335625f965SAjay Singh 	WID_MEMORY_ACCESS_32BIT		= 0x201F,
7345625f965SAjay Singh 
7355625f965SAjay Singh 	/* NMAC Integer WID list */
7365625f965SAjay Singh 	/* Custom Integer WID list */
7375625f965SAjay Singh 	WID_GET_INACTIVE_TIME		= 0x2084,
7385625f965SAjay Singh 	/* EMAC String WID list */
7395625f965SAjay Singh 	WID_SSID			= 0x3000,
7405625f965SAjay Singh 	WID_FIRMWARE_VERSION		= 0x3001,
7415625f965SAjay Singh 	WID_OPERATIONAL_RATE_SET	= 0x3002,
7425625f965SAjay Singh 	WID_BSSID			= 0x3003,
7435625f965SAjay Singh 	WID_WEP_KEY_VALUE		= 0x3004,
7445625f965SAjay Singh 	WID_11I_PSK			= 0x3008,
7455625f965SAjay Singh 	WID_11E_P_ACTION_REQ		= 0x3009,
7465625f965SAjay Singh 	WID_1X_KEY			= 0x300A,
7475625f965SAjay Singh 	WID_HARDWARE_VERSION		= 0x300B,
7485625f965SAjay Singh 	WID_MAC_ADDR			= 0x300C,
7495625f965SAjay Singh 	WID_HUT_DEST_ADDR		= 0x300D,
7505625f965SAjay Singh 	WID_PHY_VERSION			= 0x300F,
7515625f965SAjay Singh 	WID_SUPP_USERNAME		= 0x3010,
7525625f965SAjay Singh 	WID_SUPP_PASSWORD		= 0x3011,
7535625f965SAjay Singh 	WID_SITE_SURVEY_RESULTS		= 0x3012,
7545625f965SAjay Singh 	WID_RX_POWER_LEVEL		= 0x3013,
7555625f965SAjay Singh 	WID_SET_STA_MAC_INACTIVE_TIME	= 0x3017,
7565625f965SAjay Singh 	WID_ADD_WEP_KEY			= 0x3019,
7575625f965SAjay Singh 	WID_REMOVE_WEP_KEY		= 0x301A,
7585625f965SAjay Singh 	WID_ADD_PTK			= 0x301B,
7595625f965SAjay Singh 	WID_ADD_RX_GTK			= 0x301C,
7605625f965SAjay Singh 	WID_ADD_TX_GTK			= 0x301D,
7615625f965SAjay Singh 	WID_REMOVE_KEY			= 0x301E,
7625625f965SAjay Singh 	WID_ASSOC_REQ_INFO		= 0x301F,
7635625f965SAjay Singh 	WID_ASSOC_RES_INFO		= 0x3020,
7640e703de3SAjay Singh 	WID_ADD_IGTK                    = 0x3022,
7655625f965SAjay Singh 	WID_MANUFACTURER		= 0x3026, /* Added for CAPI tool */
7665625f965SAjay Singh 	WID_MODEL_NAME			= 0x3027, /* Added for CAPI tool */
7675625f965SAjay Singh 	WID_MODEL_NUM			= 0x3028, /* Added for CAPI tool */
7685625f965SAjay Singh 	WID_DEVICE_NAME			= 0x3029, /* Added for CAPI tool */
7695625f965SAjay Singh 
7705625f965SAjay Singh 	/* NMAC String WID list */
7715625f965SAjay Singh 	WID_SET_OPERATION_MODE		= 0x3079,
7725625f965SAjay Singh 	WID_11N_P_ACTION_REQ		= 0x3080,
7735625f965SAjay Singh 	WID_HUT_TEST_ID			= 0x3081,
7745625f965SAjay Singh 	WID_PMKID_INFO			= 0x3082,
7755625f965SAjay Singh 	WID_FIRMWARE_INFO		= 0x3083,
7765625f965SAjay Singh 	WID_REGISTER_FRAME		= 0x3084,
7775625f965SAjay Singh 	WID_DEL_ALL_STA			= 0x3085,
7785625f965SAjay Singh 	WID_REMAIN_ON_CHAN		= 0x3996,
7795625f965SAjay Singh 	WID_SSID_PROBE_REQ		= 0x3997,
7805625f965SAjay Singh 	WID_JOIN_REQ_EXTENDED		= 0x3998,
7815625f965SAjay Singh 
7825625f965SAjay Singh 	WID_IP_ADDRESS			= 0x3999,
7835625f965SAjay Singh 
7845625f965SAjay Singh 	/* Custom String WID list */
7855625f965SAjay Singh 
7865625f965SAjay Singh 	/* EMAC Binary WID list */
7875625f965SAjay Singh 	WID_UAPSD_CONFIG		= 0x4001,
7885625f965SAjay Singh 	WID_UAPSD_STATUS		= 0x4002,
7895625f965SAjay Singh 	WID_WMM_AP_AC_PARAMS		= 0x4003,
7905625f965SAjay Singh 	WID_WMM_STA_AC_PARAMS		= 0x4004,
7915625f965SAjay Singh 	WID_NETWORK_INFO		= 0x4005,
7925625f965SAjay Singh 	WID_STA_JOIN_INFO		= 0x4006,
7935625f965SAjay Singh 	WID_CONNECTED_STA_LIST		= 0x4007,
7945625f965SAjay Singh 
7955625f965SAjay Singh 	/* NMAC Binary WID list */
7965625f965SAjay Singh 	WID_11N_AUTORATE_TABLE		= 0x4080,
7975625f965SAjay Singh 
7985625f965SAjay Singh 	WID_SCAN_CHANNEL_LIST		= 0x4084,
7995625f965SAjay Singh 
8005625f965SAjay Singh 	WID_INFO_ELEMENT_PROBE		= 0x4085,
8015625f965SAjay Singh 	WID_INFO_ELEMENT_ASSOCIATE	= 0x4086,
8025625f965SAjay Singh 	WID_ADD_STA			= 0X4087,
8035625f965SAjay Singh 	WID_REMOVE_STA			= 0X4088,
8045625f965SAjay Singh 	WID_EDIT_STA			= 0X4089,
8055625f965SAjay Singh 	WID_ADD_BEACON			= 0x408a,
8065625f965SAjay Singh 
8075625f965SAjay Singh 	WID_SETUP_MULTICAST_FILTER	= 0x408b,
808c5b331d4SAjay Singh 	WID_EXTERNAL_AUTH_PARAM		= 0x408d,
8095625f965SAjay Singh 	/* Miscellaneous WIDs */
8105625f965SAjay Singh 	WID_ALL				= 0x7FFE,
8115625f965SAjay Singh 	WID_MAX				= 0xFFFF
8125625f965SAjay Singh };
8135625f965SAjay Singh 
8145625f965SAjay Singh #endif
815