aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2011-10-24 14:29:37 (GMT)
committerJouni Malinen <j@w1.fi>2011-10-24 14:29:37 (GMT)
commitacc247b260817aac89121f46f444be8278085726 (patch)
tree111b00f1f03ef211603f17229b484a9e6170efec /src/p2p/p2p_i.h
parentccc12d784197e4d0c68024553269a6098eac7daf (diff)
downloadhostap-acc247b260817aac89121f46f444be8278085726.zip
hostap-acc247b260817aac89121f46f444be8278085726.tar.gz
hostap-acc247b260817aac89121f46f444be8278085726.tar.bz2
P2P: Advertise Persistent Reconnect group capability
The persistent_reconnect configuration parameter was used to decide whether to accept invitation to re-establish a persistent group. However, this was not being advertised in the Group Capability bitmap. Add the Persistent Reconnect bit based on this configuration to GO Negotiation frames and Beacon/Probe Response frames from the GO.
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 0e73136..7ee6e07 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -89,6 +89,7 @@ struct p2p_device {
#define P2P_DEV_FORCE_FREQ BIT(13)
#define P2P_DEV_PD_FOR_JOIN BIT(14)
#define P2P_DEV_REPORTED_ONCE BIT(15)
+#define P2P_DEV_PREFER_PERSISTENT_RECONN BIT(16)
unsigned int flags;
int status; /* enum p2p_status_code */