hostapd/src/eap_peer
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
..
eap.c Propagate the EAP method error code 2018-03-31 11:57:33 +03:00
eap.h Propagate the EAP method error code 2018-03-31 11:57:33 +03:00
eap_aka.c Propagate the EAP method error code 2018-03-31 11:57:33 +03:00
eap_config.h EAP-SIM/AKA: Separate identity for MK derivation 2018-01-21 11:28:53 +02:00
eap_eke.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_fast.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_fast_pac.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_fast_pac.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
eap_gpsk.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_gtc.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_i.h Propagate the EAP method error code 2018-03-31 11:57:33 +03:00
eap_ikev2.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_leap.c EAP-LEAP: Fix possible memory leak in eap_leap_process_request() 2017-07-08 16:14:03 +03:00
eap_md5.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_methods.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_methods.h EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_mschapv2.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_otp.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_pax.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_peap.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_proxy.h eap_proxy: Support multiple SIMs in get_imsi() 2017-06-06 03:42:32 +03:00
eap_proxy_dummy.c eap_proxy: Support multiple SIMs in get_imsi() 2017-06-06 03:42:32 +03:00
eap_psk.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_pwd.c EAP-pwd: Use abstract crypto API 2017-12-24 21:40:21 +02:00
eap_sake.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_sim.c Propagate the EAP method error code 2018-03-31 11:57:33 +03:00
eap_tls.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_tls_common.c OpenSSL: Add option to disable ECDHE with Suite B RSA 2017-09-18 12:12:48 +03:00
eap_tls_common.h EAP-TLS/PEAP/TTLS/FAST: Move more towards using struct wpabuf 2015-05-03 16:32:23 +03:00
eap_tnc.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_ttls.c EAP-TTLS: Fix a memory leak on error paths 2017-07-08 16:21:38 +03:00
eap_vendor_test.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
eap_wsc.c EAP peer: Simplify EAP method registration call 2016-01-13 23:30:25 +02:00
ikev2.c Use os_memdup() 2017-03-07 13:19:10 +02:00
ikev2.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
Makefile tests: Add eapol-fuzzer 2015-04-22 11:44:19 +03:00
mschapv2.c EAP-MSCHAPv2: Use os_memcmp_const() for hash/password comparisons 2014-07-02 12:38:48 +03:00
mschapv2.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tncc.c Use os_memdup() 2017-03-07 13:19:10 +02:00
tncc.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00