Add bssid to onEapFailure callback method.

Bug: 165342942
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest
Change-Id: I2d2a272552d8c46eeba1ef28bdd2f8b61fb31b40
This commit is contained in:
Gabriel Biren
2022-02-22 21:36:28 +00:00
parent 4aa000993c
commit ce8b56cd0f
3 changed files with 5 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ interface ISupplicantStaIfaceCallback {
oneway void onDppSuccess(in android.hardware.wifi.supplicant.DppEventType event);
oneway void onDppSuccessConfigReceived(in byte[] ssid, in String password, in byte[] psk, in android.hardware.wifi.supplicant.DppAkm securityAkm, in android.hardware.wifi.supplicant.DppConnectionKeys dppConnectionKeys);
oneway void onDppSuccessConfigSent();
oneway void onEapFailure(in int errorCode);
oneway void onEapFailure(in byte[] bssid, in int errorCode);
oneway void onExtRadioWorkStart(in int id);
oneway void onExtRadioWorkTimeout(in int id);
oneway void onHs20DeauthImminentNotice(in byte[] bssid, in int reasonCode, in int reAuthDelayInSec, in String url);

View File

@@ -154,11 +154,12 @@ oneway interface ISupplicantStaIfaceCallback {
/**
* Indicates an EAP authentication failure.
* @param bssid BSSID of the access point.
* @param errorCode Error code for EAP authentication failure.
* Either standard error code (enum EapErrorCode) or
* private error code defined by network provider.
*/
void onEapFailure(in int errorCode);
void onEapFailure(in byte[] bssid, in int errorCode);
/**
* Used to indicate that the external radio work can start now.

View File

@@ -130,7 +130,8 @@ class SupplicantStaIfaceCallback : public BnSupplicantStaIfaceCallback {
::ndk::ScopedAStatus onDppSuccessConfigSent() override {
return ndk::ScopedAStatus::ok();
}
::ndk::ScopedAStatus onEapFailure(int32_t /* errorCode */) override {
::ndk::ScopedAStatus onEapFailure(const std::vector<uint8_t>& /* bssid */,
int32_t /* errorCode */) override {
return ndk::ScopedAStatus::ok();
}
::ndk::ScopedAStatus onExtRadioWorkStart(int32_t /* id */) override {