aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-04-27 18:17:10 +0300
committerJouni Malinen <j@w1.fi>2012-04-27 18:25:30 +0300
commit23c84252a4d9b9ee4061db01d31429c8b2bbf424 (patch)
treec758e504308d1da5ee3257d5d0d7fa8234464bd6 /wpa_supplicant/wpa_supplicant_i.h
parent0918c4bf3bd511405a59c7c5bf0d86e1ac7bb74c (diff)
downloadexternal_wpa_supplicant_8_ti-23c84252a4d9b9ee4061db01d31429c8b2bbf424.zip
external_wpa_supplicant_8_ti-23c84252a4d9b9ee4061db01d31429c8b2bbf424.tar.gz
external_wpa_supplicant_8_ti-23c84252a4d9b9ee4061db01d31429c8b2bbf424.tar.bz2
P2P: Add option to force SSID/passphrase for GO Negotiation
An existing persistent group information can now be used to force GO Negotiation to use the previously used SSID/passphrase from a persistent group if we become a GO. This can be used as an alternative to inviting a new P2P peer to join the group (i.e., use GO Negotiation with GO intent 15 instead of starting an autonomous GO and using invitation), e.g., in case a GO Negotiation Request is received from a peer while we are not running as a GO. The persistent group to use for parameters is indicated with persistent=<network id> parameter to p2p_connect. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant_i.h')
-rw-r--r--wpa_supplicant/wpa_supplicant_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
index 354c5cc..1f8e79d 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -515,6 +515,7 @@ struct wpa_supplicant {
unsigned int p2p_auto_join:1;
unsigned int p2p_auto_pd:1;
unsigned int p2p_persistent_group:1;
+ int p2p_persistent_id;
int p2p_go_intent;
int p2p_connect_freq;
struct os_time p2p_auto_started;