aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/README-P2P
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-04-27 15:17:10 (GMT)
committerJouni Malinen <j@w1.fi>2012-04-27 15:25:30 (GMT)
commit23c84252a4d9b9ee4061db01d31429c8b2bbf424 (patch)
treec758e504308d1da5ee3257d5d0d7fa8234464bd6 /wpa_supplicant/README-P2P
parent0918c4bf3bd511405a59c7c5bf0d86e1ac7bb74c (diff)
downloadhostap-23c84252a4d9b9ee4061db01d31429c8b2bbf424.zip
hostap-23c84252a4d9b9ee4061db01d31429c8b2bbf424.tar.gz
hostap-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/README-P2P')
-rw-r--r--wpa_supplicant/README-P2P10
1 files changed, 8 insertions, 2 deletions
diff --git a/wpa_supplicant/README-P2P b/wpa_supplicant/README-P2P
index cd28aae..090b3a9 100644
--- a/wpa_supplicant/README-P2P
+++ b/wpa_supplicant/README-P2P
@@ -118,7 +118,8 @@ out whether the peer device is operating as a GO and if so, use
join-a-group style PD instead of GO Negotiation style PD.
p2p_connect <peer device address> <pbc|pin|PIN#> [display|keypad]
- [persistent] [join|auth] [go_intent=<0..15>] [freq=<in MHz>]
+ [persistent|persistent=<network id>] [join|auth]
+ [go_intent=<0..15>] [freq=<in MHz>]
Start P2P group formation with a discovered P2P peer. This includes
optional group owner negotiation, group interface setup, provisioning,
@@ -131,7 +132,12 @@ the command return code), PIN# means that a pre-selected PIN can be
used (e.g., 12345670). [display|keypad] is used with PIN method
to specify which PIN is used (display=dynamically generated random PIN
from local display, keypad=PIN entered from peer display). "persistent"
-parameter can be used to request a persistent group to be formed.
+parameter can be used to request a persistent group to be formed. The
+"persistent=<network id>" alternative can be used to pre-populate
+SSID/passphrase configuration based on a previously used persistent
+group where this device was the GO. The previously used parameters will
+then be used if the local end becomes the GO in GO Negotiation (which
+can be forced with go_intent=15).
"join" indicates that this is a command to join an existing group as a
client. It skips the GO Negotiation part. This will send a Provision