summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwmc3200wifi/commands.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2009-10-16 07:18:47 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 21:48:24 +0100
commita82aedbf1b043f7a7474aa9b6d223104ac51827a (patch)
tree04e994a2bec92dffdf21823ed0c605d9ab5f5ed2 /drivers/net/wireless/iwmc3200wifi/commands.h
parentiwmc3200wifi: allow joining an existed IBSS network (diff)
downloadlinux-a82aedbf1b043f7a7474aa9b6d223104ac51827a.tar.xz
linux-a82aedbf1b043f7a7474aa9b6d223104ac51827a.zip
iwmc3200wifi: WPS support
By setting the WSC profile flag, we now support WPS as an enrollee. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/commands.h')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/commands.h b/drivers/net/wireless/iwmc3200wifi/commands.h
index e24d5b633997..4e183be1f262 100644
--- a/drivers/net/wireless/iwmc3200wifi/commands.h
+++ b/drivers/net/wireless/iwmc3200wifi/commands.h
@@ -288,6 +288,9 @@ struct iwm_umac_cmd_scan_request {
/* iwm_umac_security.flag is WSC mode on -- bits [2:2] */
#define UMAC_SEC_FLG_WSC_ON_POS 2
#define UMAC_SEC_FLG_WSC_ON_SEED 1
+#define UMAC_SEC_FLG_WSC_ON_MSK (UMAC_SEC_FLG_WSC_ON_SEED << \
+ UMAC_SEC_FLG_WSC_ON_POS)
+
/* Legacy profile can use only WEP40 and WEP104 for encryption and
* OPEN or PSK for authentication */