aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/README-WPS
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-10-10 14:22:35 (GMT)
committerJouni Malinen <j@w1.fi>2012-10-10 14:22:35 (GMT)
commitc423708f020054322066741686c6ba970bc6f02a (patch)
treefa0df2d3ae617118cb5625a2b6dac4af0ee6e56e /wpa_supplicant/README-WPS
parent7a808c7eb70e213164f250645ef65231fc8a1590 (diff)
downloadhostap-c423708f020054322066741686c6ba970bc6f02a.zip
hostap-c423708f020054322066741686c6ba970bc6f02a.tar.gz
hostap-c423708f020054322066741686c6ba970bc6f02a.tar.bz2
WPS: Allow PIN timeout to be specified with wpa_supplicant AP/GO
Extend the wpa_cli wps_pin command to support specification of the PIN expiration time in seconds similarly to hostapd_cli wps_pin command when using wpa_supplicant for AP mode (including P2P GO). Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/README-WPS')
-rw-r--r--wpa_supplicant/README-WPS6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/README-WPS b/wpa_supplicant/README-WPS
index 692d5f5..35be357 100644
--- a/wpa_supplicant/README-WPS
+++ b/wpa_supplicant/README-WPS
@@ -130,6 +130,12 @@ wpa_cli wps_pin any 12345670
This starts the WPS negotiation in the same way as above with the
generated PIN.
+When the wps_pin command is issued for an AP (including P2P GO) mode
+interface, an optional timeout parameter can be used to specify
+expiration timeout for the PIN in seconds. For example:
+
+wpa_cli wps_pin any 12345670 300
+
If a random PIN is needed for a user interface, "wpa_cli wps_pin get"
can be used to generate a new PIN without starting WPS negotiation.