Wifi: create new callback to deliver eap error code

Create new callback to deliver eap error code
from supplicant to framework

Bug: 139880103
Test: atest VtsHalWifiSupplicantV1_3TargetTest
Change-Id: I6604356672899d7a0933af6fb20879bb91871efd
This commit is contained in:
Isaac Chiou 2019-12-30 14:57:15 +08:00
parent e63661e6a8
commit 0f97764f22
3 changed files with 9 additions and 1 deletions

View file

@ -654,7 +654,7 @@ f3c1e7298da628a755b452cd3325e8d0fe867a2debb873069baab6a27434a72d android.hardwar
11f6448d15336361180391c8ebcdfd2d7cf77b3782d577e594d583aadc9c2877 android.hardware.wifi.hostapd@1.2::types
a64467bae843569f0d465c5be7f0c7a5b987985b55a3ef4794dd5afc68538650 android.hardware.wifi.supplicant@1.3::ISupplicant
c72cb37b3f66ef65aeb5c6438a3fbe17bbe847fdf62d1a76eafd7f3a8a526105 android.hardware.wifi.supplicant@1.3::ISupplicantStaIface
342a8e12db4dca643f2755eb4167e8f103d96502053a25a1f51f42107a4530f1 android.hardware.wifi.supplicant@1.3::ISupplicantStaIfaceCallback
168480869108d9c21bd09eb6ac550a2149b7f794ad05a16ae99e1628c75a5eb2 android.hardware.wifi.supplicant@1.3::ISupplicantStaIfaceCallback
8835e9799cddf7c239f60beff467cbdf164331f70a8b6c06ed78982d7810d835 android.hardware.wifi.supplicant@1.3::ISupplicantStaNetwork
91015479f5a0fba9872e98d3cca4680995de64f42ae71461b4b7e5acc5a196ab android.hardware.wifi.supplicant@1.3::types
##

View file

@ -185,4 +185,9 @@ interface ISupplicantStaIfaceCallback extends @1.2::ISupplicantStaIfaceCallback
* request frame.
*/
oneway onBssTmHandlingDone(BssTmData tmData);
/**
* Indicates an EAP authentication failure.
*/
oneway onEapFailure_1_3(uint32_t errorCode);
};

View file

@ -207,6 +207,9 @@ class IfaceCallback : public ISupplicantStaIfaceCallback {
ISupplicantStaIfaceCallback::EapErrorCode /* eapErrorCode */) override {
return Void();
}
Return<void> onEapFailure_1_3(uint32_t /* eapErrorCode */) override {
return Void();
}
Return<void> onWpsEventSuccess() override { return Void(); }
Return<void> onWpsEventFail(
const hidl_array<uint8_t, 6>& /* bssid */,