hostapd/src/common
Ahmed ElArabawy 45f7574d31 Propagate the EAP method error code
In the current implementation, upon an EAP method failure, followed by
an EAP failure, the EAP Status is propagated up in wpa_supplicant with a
general failure parameter string "failure". This parameter is used for a
notification on the dbus.

This commit reports the EAP method failure error code in a separate
callback.

The solution in this commit is generic to all EAP methods, and can be
used by any method that need to pass its error code. However, this
commit only implements the reporting for EAP-SIM and EAP-AKA methods
where the Notification Code (in AT_NOTIFICATION) is used as the method
specific error code value.

Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-03-31 11:57:33 +03:00
..
cli.c cli: Share a common tokenize_cmd() implementation 2016-08-06 12:46:39 +03:00
cli.h cli: Share a common tokenize_cmd() implementation 2016-08-06 12:46:39 +03:00
common_module_tests.c tests: More ieee802_11_vendor_ie_concat() coverage 2016-12-26 14:44:44 +02:00
ctrl_iface_common.c hostapd: Add wpa_msg_ctrl() to report Probe Request frames from STA 2017-11-23 20:12:34 +02:00
ctrl_iface_common.h hostapd: Add wpa_msg_ctrl() to report Probe Request frames from STA 2017-11-23 20:12:34 +02:00
defs.h SAE: Fix PTK derivation to use KDF-SHA256 2018-03-23 18:44:48 +02:00
dhcp.h FILS: Fix fils_hlp.c build with older netinet/udp.h definitions 2017-02-26 12:18:29 +02:00
dpp.c DPP: Support retrieving of configurator's private key 2018-03-16 20:55:32 +02:00
dpp.h DPP: Support retrieving of configurator's private key 2018-03-16 20:55:32 +02:00
eapol_common.h PAE: Use be16/be32 instead of u16/u32 for spartse 2016-06-24 01:38:48 +03:00
gas.c DPP: Configuration exchange 2017-06-19 21:13:15 +03:00
gas.h DPP: Configuration exchange 2017-06-19 21:13:15 +03:00
gas_server.c DPP: Configuration exchange 2017-06-19 21:13:15 +03:00
gas_server.h DPP: Configuration exchange 2017-06-19 21:13:15 +03:00
hw_features_common.c Allow HT40 on 5 GHz channels 165 and 169 2018-02-17 18:52:01 +02:00
hw_features_common.h hw_features: Move VHT capabilities checks to common 2017-02-19 15:53:05 +02:00
ieee802_1x_defs.h wpa_supplicant: Add macsec_integ_only setting for MKA 2016-11-20 00:35:16 +02:00
ieee802_11_common.c hostapd: Add Min/Max Transmit Power Capability into STA command 2017-10-31 00:22:58 +02:00
ieee802_11_common.h hostapd: Add Min/Max Transmit Power Capability into STA command 2017-10-31 00:22:58 +02:00
ieee802_11_defs.h OWE: Add AP support for transition mode 2017-10-08 17:12:35 +03:00
linux_bridge.h Use a separate header file for Linux bridge interface definitions 2016-03-26 11:27:18 +02:00
linux_vlan.h Use own header file for defining Linux VLAN kernel interface 2016-03-26 11:24:38 +02:00
Makefile tests: Add p2p-fuzzer 2015-04-22 11:44:19 +03:00
privsep_commands.h Remove all PeerKey functionality 2017-10-16 02:03:47 +03:00
qca-vendor-attr.h Make qca-vendor.h independent of other header files 2014-04-25 11:41:36 +03:00
qca-vendor.h Add SAR V2 power selection capability (QCA vendor attributes) 2018-03-30 10:49:11 +03:00
sae.c SAE: Debug print group support in the crypto library 2018-03-02 21:27:30 +02:00
sae.h SAE: Add Rc variable and peer send-confirm validation 2017-12-27 12:19:08 +02:00
tnc.h tests: TNC testing 2014-05-17 20:05:55 +03:00
version.h The master branch is now used for v2.7 development 2016-10-02 22:27:26 +03:00
wpa_common.c FILS: Add more complete support for FT-FILS use cases 2018-03-26 12:31:04 +03:00
wpa_common.h FILS: Add more complete support for FT-FILS use cases 2018-03-26 12:31:04 +03:00
wpa_ctrl.c wpa_ctrl: Retry select() on EINTR 2016-02-07 12:20:38 +02:00
wpa_ctrl.h Propagate the EAP method error code 2018-03-31 11:57:33 +03:00
wpa_helpers.c wpa_helpers: Ignore link-local IPv4 address while waiting for DHCP 2017-03-26 21:13:21 +03:00
wpa_helpers.h Add wpa_ctrl helper functions for upper level functionality 2014-03-12 01:09:21 +02:00