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