Jouni Malinen
370cb2a9ce
WPS: Making some parsing messages use excessive debug level
...
This makes it easier to read -dd debug logs in environments that
have multiple WPS or P2P devices.
2010-09-22 11:39:58 -07:00
Jouni Malinen
935a948f97
P2P: Enable use of WPS Requested Device Type without WPS 2.0
2010-09-09 07:17:16 -07:00
Jouni Malinen
fdc9eeb175
WPS 2.0: Convert new attributes into WFA vendor extension
...
The WSC 2.0 specification moved to use another design for the new
attributes to avoid backwards compatibility issues with some
deployed implementations.
2010-09-09 06:07:49 -07:00
Jouni Malinen
53587ec183
WPS 2.0: Make WSC 2.0 support to be build option (CONFIG_WPS2)
...
For now, the default build will only include WSC 1.0 support.
CONFIG_WPS2=y can be used to add support for WSC 2.0.
2010-09-09 06:07:48 -07:00
Jouni Malinen
dcc4d8be75
WPS 2.0: Disable WPS workarounds if CONFIG_WPS_STRICT is defined
2010-09-09 06:07:47 -07:00
Jouni Malinen
f439079e93
WPS 2.0: Add new attributes and update version negotiation
...
This adds definitions and parsing of the new attributes that were added
in WPS 2.0. In addition, the version negotiation is updated to use the
new mechanism, i.e., accept everything received and use the new Version2
attribute in transmitted messages.
2010-09-09 06:07:47 -07:00
Jouni Malinen
612e9160e2
WPS: Add a workaround for parsing M1 from OS X 10.6
...
It looks like Mac OS X adds unexpected 0x00 padding to the end of M1.
Skip that padding to avoid interop issues.
2010-07-05 13:04:54 -07:00
Jouni Malinen
99e437ad52
Fix WPS attribute parser to use correct pointer for Response Type
2010-05-26 17:12:30 +03:00
Jouni Malinen
96750ea5e5
WPS: Clean up Primary Device Type handling
...
Use shared functions for converting Primary Device Type between binary
and string formats. In addition, use array of eight octets instead of a
specific structure with multiple fields to reduce code complexity.
2009-11-26 11:39:29 +02:00
Jouni Malinen
e9a2bca6f5
WPS: Add parsing of AP Setup Locked attribute
2009-09-11 17:13:59 +03:00
Masashi Honma
46bdb83acd
WPS: Add UFD support (USBA out-of-band mechanism)
...
This patch is only for the following use case:
- Enrollee = wpa_supplicant
- Registrar = hostapd internal Registrar
Following UFD methods can be used:
- Enrollee PIN with UFD
- Registrar PIN with UFD
- unencrypted credential with UFD
Encrypted credentials are not supported.
Enrollee side operation:
wpa_cli -i ath0 wps_oob <device type> <mount point> <oob method>
oob method = pin-e/pin-r/cred
wpa_cli -i ath0 wps_oob ufd /mnt/ pin-r
Registrar side operation:
./hostapd_cli -i ath0 wps_oob <device type> <mount point> <oob method>
oob method = pin-e/pin-r/cred
hostapd_cli -i ath0 wps_oob ufd /mnt/ cred
2009-02-26 21:57:38 +02:00
Jouni Malinen
7d7b8e960a
WPS: Split wps_common.c into parts
...
To make it easier to find various functions, attribute functions were
split into wps_attr_{build,parse,process}.c.
2008-11-29 13:16:26 +02:00