aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.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 /src/p2p/p2p_i.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 'src/p2p/p2p_i.h')
-rw-r--r--src/p2p/p2p_i.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h
index 782ea35..c11aabe 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -384,6 +384,12 @@ struct p2p_data {
int best_freq_24;
int best_freq_5;
int best_freq_overall;
+
+#define P2P_MAX_WPS_VENDOR_EXTENSIONS 10
+ /**
+ * wps_vendor_ext - WPS Vendor Extensions to add
+ */
+ struct wpabuf *wps_vendor_ext[P2P_MAX_WPS_VENDOR_EXTENSIONS];
};
/**