aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-05-11 13:25:47 (GMT)
committerJouni Malinen <j@w1.fi>2012-05-11 13:25:47 (GMT)
commit3bc462cb88e0ffa2fe5b891b7539eb39757a5315 (patch)
tree8df810190c15168725eb29c20cf9e612daa8a3aa /src/p2p/p2p_i.h
parent1cbe86e2d6d2b5a7d072093ce1a94082b4b3f472 (diff)
downloadhostap-3bc462cb88e0ffa2fe5b891b7539eb39757a5315.zip
hostap-3bc462cb88e0ffa2fe5b891b7539eb39757a5315.tar.gz
hostap-3bc462cb88e0ffa2fe5b891b7539eb39757a5315.tar.bz2
P2P: Add option for Provision Discovery before GO Negotiation
This is a workaround for interoperability issues with some deployed P2P implementations that require a Provision Discovery exchange to be used before GO Negotiation. The new provdisc parameter for the p2p_connect command can be used to request this behavior without having to run a separate p2p_prov_disc command. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/p2p/p2p_i.h')
-rw-r--r--src/p2p/p2p_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h
index 279225c..39e879e 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -90,6 +90,7 @@ struct p2p_device {
#define P2P_DEV_PD_FOR_JOIN BIT(14)
#define P2P_DEV_REPORTED_ONCE BIT(15)
#define P2P_DEV_PREFER_PERSISTENT_RECONN BIT(16)
+#define P2P_DEV_PD_BEFORE_GO_NEG BIT(17)
unsigned int flags;
int status; /* enum p2p_status_code */