aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJean-Michel Bachot <jean-michelx.bachot@linux.intel.com>2011-03-19 09:57:10 (GMT)
committerJouni Malinen <j@w1.fi>2011-03-19 10:22:18 (GMT)
commitf95cac271b06ed2ad15cfe7b4d6caad5b8ba2ad2 (patch)
tree41cb8308008b7a26053fce458b4c306a7160eab3 /wpa_supplicant/config.h
parent4028a7fd4382ac0612fdd146f5a21ee01dc56fbe (diff)
downloadhostap-f95cac271b06ed2ad15cfe7b4d6caad5b8ba2ad2.zip
hostap-f95cac271b06ed2ad15cfe7b4d6caad5b8ba2ad2.tar.gz
hostap-f95cac271b06ed2ad15cfe7b4d6caad5b8ba2ad2.tar.bz2
P2P: Allow adding of WPS vendor extension attributes
This adds the ability to add WPS vendor extension attributes in P2P frames, like GO Negotiation and Probe Response frames. Signed-off-by: Jean-Michel Bachot <jean-michelx.bachot@linux.intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index cf22ec4..75406ef 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -41,6 +41,7 @@
#define CFG_CHANGED_P2P_SSID_POSTFIX BIT(7)
#define CFG_CHANGED_WPS_STRING BIT(8)
#define CFG_CHANGED_P2P_INTRA_BSS BIT(9)
+#define CFG_CHANGED_VENDOR_EXTENSION BIT(10)
/**
* struct wpa_config - wpa_supplicant configuration data
@@ -357,6 +358,12 @@ struct wpa_config {
int persistent_reconnect;
int p2p_intra_bss;
+#define MAX_WPS_VENDOR_EXT 10
+ /**
+ * wps_vendor_ext - Vendor extension attributes in WPS
+ */
+ struct wpabuf *wps_vendor_ext[MAX_WPS_VENDOR_EXT];
+
/**
* p2p_group_idle - Maximum idle time in seconds for P2P group
*