WPS: Add option for forcing Registrar to use PSK format in Credential
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 21 Dec 2009 10:46:19 +0000 (12:46 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 21 Dec 2009 10:46:19 +0000 (12:46 +0200)
commitf3f2eeba01b678572aa01016c18d262b80f599d9
tree4104cdb7b23b560f4ae59190ffea0cc0dfd7fdbb
parent0ae687bd106fbf7dda31daee4c6d4203edf57eea
WPS: Add option for forcing Registrar to use PSK format in Credential

The use_psk_key parameter can now be used to force the Registrar to
use PSK format instead of ASCII passphrase when building a Credential
for the Enrollee. For now, this is not enabled, but it could be enabled
either based on external (to WPS) configuration or automatically set
based on some WPS attribute values from the Enrollee.
hostapd/wps_hostapd.c
src/eap_server/eap_wsc.c
src/wps/wps.c
src/wps/wps.h
src/wps/wps_i.h
src/wps/wps_registrar.c