hostapd/src/wps
Tomasz Jankowski fde8e79463 WPS: Make it possible to use PSKs loaded from the PSK file
By default, when configuration file set wpa_psk_file, hostapd generated
a random PSK for each Enrollee provisioned using WPS and appended that
PSK to wpa_psk_file.

Changes that behavior by adding a new step. WPS will first try to use a
PSK from wpa_psk_file. It will only try PSKs with wps=1 tag.
Additionally it'll try to match enrollee's MAC address (if provided). If
it fails to find an appropriate PSK, it falls back to generating a new
PSK.

Signed-off-by: Tomasz Jankowski <tomasz.jankowski@plume.com>
2020-02-15 17:28:00 +02:00
..
http.h WPS: Move POST URL validation into web_connection_parse_post() 2009-12-12 16:48:50 +02:00
http_client.c WPS: Use a shared error path in http_client_addr() 2015-08-29 13:42:32 +03:00
http_client.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
http_server.c WPS: Merge common error paths in HTTP server 2015-08-28 20:33:22 +03:00
http_server.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
httpread.c WPS: Remove duplicated isgraph() loop in HTTP header parsing 2015-08-28 23:59:28 +03:00
httpread.h Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
Makefile tests: Add p2p-fuzzer 2015-04-22 11:44:19 +03:00
ndef.c WPS: Avoid bogus static analyzer warning in ndef_parse_record() 2015-07-17 20:43:17 +03:00
upnp_xml.c Clean up base64_{encode,decode} pointer types 2019-11-28 16:39:09 +02:00
upnp_xml.h WPS ER: Fix UPnP XML Device Description parser to find correct device 2011-08-31 13:56:03 +03:00
wps.c wpa_supplicant: Support Multi-AP backhaul STA onboarding with WPS 2019-02-18 22:35:41 +02:00
wps.h WPS: Make it possible to use PSKs loaded from the PSK file 2020-02-15 17:28:00 +02:00
wps_attr_build.c WPS: Check SHA256 result success 2019-10-15 15:41:13 +03:00
wps_attr_parse.c hostapd: Support Multi-AP backhaul STA onboarding with WPS 2019-02-18 22:35:41 +02:00
wps_attr_parse.h hostapd: Support Multi-AP backhaul STA onboarding with WPS 2019-02-18 22:35:41 +02:00
wps_attr_process.c WPS: Check SHA256 result success 2019-10-15 15:41:13 +03:00
wps_common.c WPS: Add multi_ap_subelem to wps_build_wfa_ext() 2019-02-18 20:30:26 +02:00
wps_defs.h WPS: Add multi_ap_subelem to wps_build_wfa_ext() 2019-02-18 20:30:26 +02:00
wps_dev_attr.c WPS: Add application extension data to WPS IE 2020-01-04 23:39:30 +02:00
wps_dev_attr.h WPS: Add application extension data to WPS IE 2020-01-04 23:39:30 +02:00
wps_enrollee.c wpa_supplicant: Support Multi-AP backhaul STA onboarding with WPS 2019-02-18 22:35:41 +02:00
wps_er.c Clean up base64_{encode,decode} pointer types 2019-11-28 16:39:09 +02:00
wps_er.h WPS ER: Allow UPnP interface to be forced 2013-04-28 21:56:24 +03:00
wps_er_ssdp.c WPS ER: Fix SSDP CACHE-CONTROL line parser 2015-08-15 22:24:15 +03:00
wps_i.h wpa_supplicant: Support Multi-AP backhaul STA onboarding with WPS 2019-02-18 22:35:41 +02:00
wps_module_tests.c tests: Declare module test functions in a header file 2016-06-23 18:26:09 +03:00
wps_registrar.c WPS: Make it possible to use PSKs loaded from the PSK file 2020-02-15 17:28:00 +02:00
wps_upnp.c WPS: Add prefixes to public event_* functions 2019-12-22 11:24:28 +02:00
wps_upnp.h WPS: Support parallel UPnP WPS protocol runs 2015-11-30 16:57:11 +02:00
wps_upnp_ap.c WPS: Merge SetSelectedRegistrar parsing error returns 2015-08-31 17:25:20 +03:00
wps_upnp_event.c WPS: Add prefixes to public event_* functions 2019-12-22 11:24:28 +02:00
wps_upnp_i.h WPS: Add prefixes to public event_* functions 2019-12-22 11:24:28 +02:00
wps_upnp_ssdp.c Share a single str_starts() implementation 2016-08-06 12:38:21 +03:00
wps_upnp_web.c Clean up base64_{encode,decode} pointer types 2019-11-28 16:39:09 +02:00
wps_validate.c WPS: Fix wps_validate_credential() argument type 2018-12-24 11:12:53 +02:00