aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.h
diff options
context:
space:
mode:
authorJithu Jance <jithu@broadcom.com>2011-12-06 19:44:57 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-06 19:44:57 (GMT)
commitec437d9e748a44d6dc31fb54e9f601e092f7dfcf (patch)
treec45a5d5956505e4274c21b2ccad3d078101820a6 /src/p2p/p2p_i.h
parent8c5f73098335225aa71efdbf414f7c8452658f17 (diff)
downloadhostap-ec437d9e748a44d6dc31fb54e9f601e092f7dfcf.zip
hostap-ec437d9e748a44d6dc31fb54e9f601e092f7dfcf.tar.gz
hostap-ec437d9e748a44d6dc31fb54e9f601e092f7dfcf.tar.bz2
P2P: Skip duplicated provision discovery on join
If p2p_prov_disc join command is used prior to p2p_connect join, skip the duplicated provision discovery exchange. Signed-hostap: Jithu Jance <jithu@broadcom.com>
Diffstat (limited to 'src/p2p/p2p_i.h')
-rw-r--r--src/p2p/p2p_i.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h
index 9d72a1c..1b9c94b 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -73,6 +73,14 @@ struct p2p_device {
*/
u16 req_config_methods;
+ /**
+ * wps_prov_info - Stored provisioning WPS config method
+ *
+ * This is used to store pending WPS config method between Provisioning
+ * Discovery and connection to a running group.
+ */
+ u16 wps_prov_info;
+
#define P2P_DEV_PROBE_REQ_ONLY BIT(0)
#define P2P_DEV_REPORTED BIT(1)
#define P2P_DEV_NOT_YET_READY BIT(2)