Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce8b56cd authored by Gabriel Biren's avatar Gabriel Biren
Browse files

Add bssid to onEapFailure callback method.

Bug: 165342942
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest
Change-Id: I2d2a272552d8c46eeba1ef28bdd2f8b61fb31b40
parent 4aa00099
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
+2 −1
Original line number Diff line number Diff line
@@ -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.
+2 −1
Original line number Diff line number Diff line
@@ -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 {