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

Commit 827968b2 authored by Gabriel Biren's avatar Gabriel Biren Committed by Android (Google) Code Review
Browse files

Merge "Add bssid to onEapFailure callback method." into tm-dev

parents 5d966b38 ce8b56cd
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 {