aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-03-01 17:40:54 (GMT)
committerJouni Malinen <j@w1.fi>2013-03-01 17:40:54 (GMT)
commitf5877af01e646af99bd4df0f640cd768e4403142 (patch)
treec4c100ead7ebe3bf4cd5f3f0a7c0b32220a1c9be /src/p2p/p2p_i.h
parent5de4b721779616b3e980a2096e50260f357de031 (diff)
downloadhostap-f5877af01e646af99bd4df0f640cd768e4403142.zip
hostap-f5877af01e646af99bd4df0f640cd768e4403142.tar.gz
hostap-f5877af01e646af99bd4df0f640cd768e4403142.tar.bz2
P2P: Allow P2P client to specify preferred group channel
When re-invoking a persistent group in P2P client role, the new pref=<MHz> parameter can now be used with the p2p_invite command to indicate a preferred operating frequency. Unlike the older freq=<MHz> parameter, this leaves GO an option to select another channel (from our supported channels) if the GO cannot accept the channel. 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 856f78f..c753d49 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -92,6 +92,7 @@ struct p2p_device {
#define P2P_DEV_REPORTED_ONCE BIT(15)
#define P2P_DEV_PREFER_PERSISTENT_RECONN BIT(16)
#define P2P_DEV_PD_BEFORE_GO_NEG BIT(17)
+#define P2P_DEV_NO_PREF_CHAN BIT(18)
unsigned int flags;
int status; /* enum p2p_status_code */