aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/README-WPS
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-09-23 10:30:52 -0700
committerJouni Malinen <j@w1.fi>2010-09-23 10:30:52 -0700
commit3981cb3cb81641813b1f51292032f2225ccdd70b (patch)
treebf6e7f50a8fcddc8b7e16ccc1fe4923464f51b68 /hostapd/README-WPS
parentfa37511fa7e9d6a8f4fdaa8ec2df4af71bac7941 (diff)
downloadexternal_wpa_supplicant_8_ti-3981cb3cb81641813b1f51292032f2225ccdd70b.zip
external_wpa_supplicant_8_ti-3981cb3cb81641813b1f51292032f2225ccdd70b.tar.gz
external_wpa_supplicant_8_ti-3981cb3cb81641813b1f51292032f2225ccdd70b.tar.bz2
WPS: Add wps_check_pin command for processing PIN from user input
UIs can use this command to process a PIN entered by a user and to validate the checksum digit (if present).
Diffstat (limited to 'hostapd/README-WPS')
-rw-r--r--hostapd/README-WPS7
1 files changed, 7 insertions, 0 deletions
diff --git a/hostapd/README-WPS b/hostapd/README-WPS
index 64561d0..63b62a5 100644
--- a/hostapd/README-WPS
+++ b/hostapd/README-WPS
@@ -120,6 +120,13 @@ pushbutton event (for PBC) to allow a new WPS Enrollee to join the
network. hostapd uses the control interface as an input channel for
these events.
+The PIN value used in the commands must be processed by an UI to
+remove non-digit characters and potentially, to verify the checksum
+digit. "hostapd_cli wps_check_pin <PIN>" can be used to do such
+processing. It returns FAIL if the PIN is invalid, or FAIL-CHECKSUM if
+the checksum digit is incorrect, or the processed PIN (non-digit
+characters removed) if the PIN is valid.
+
When a client device (WPS Enrollee) connects to hostapd (WPS
Registrar) in order to start PIN mode negotiation for WPS, an
identifier (Enrollee UUID) is sent. hostapd will need to be configured