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

Commit 5fdc39c0 authored by Sunil Ravi's avatar Sunil Ravi Committed by Android (Google) Code Review
Browse files

Merge "wifi: Send channel change event to framework"

parents 504200b4 55651432
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -70,6 +70,7 @@ interface ISupplicantStaIfaceCallback {
  oneway void onMloLinksInfoChanged(in android.hardware.wifi.supplicant.ISupplicantStaIfaceCallback.MloLinkInfoChangeReason reason);
  oneway void onMloLinksInfoChanged(in android.hardware.wifi.supplicant.ISupplicantStaIfaceCallback.MloLinkInfoChangeReason reason);
  oneway void onDppConfigReceived(in android.hardware.wifi.supplicant.DppConfigurationData configData);
  oneway void onDppConfigReceived(in android.hardware.wifi.supplicant.DppConfigurationData configData);
  oneway void onDppConnectionStatusResultSent(in android.hardware.wifi.supplicant.DppStatusErrorCode code);
  oneway void onDppConnectionStatusResultSent(in android.hardware.wifi.supplicant.DppStatusErrorCode code);
  oneway void onBssFrequencyChanged(in int frequencyMhz);
  @Backing(type="int") @VintfStability
  @Backing(type="int") @VintfStability
  enum MloLinkInfoChangeReason {
  enum MloLinkInfoChangeReason {
    TID_TO_LINK_MAP = 0,
    TID_TO_LINK_MAP = 0,
+9 −0
Original line number Original line Diff line number Diff line
@@ -384,4 +384,13 @@ oneway interface ISupplicantStaIfaceCallback {
     * Indicates that DPP connection status result frame is sent.
     * Indicates that DPP connection status result frame is sent.
     */
     */
    void onDppConnectionStatusResultSent(in DppStatusErrorCode code);
    void onDppConnectionStatusResultSent(in DppStatusErrorCode code);

    /**
     * Used to indicate that the operating frequency has changed for this BSS.
     * This event is triggered when STA switches the channel due to channel
     * switch announcement from the connected access point.
     *
     * @param frequencyMhz New operating frequency in MHz.
     */
    void onBssFrequencyChanged(in int frequencyMhz);
}
}
+3 −0
Original line number Original line Diff line number Diff line
@@ -227,6 +227,9 @@ class SupplicantStaIfaceCallback : public BnSupplicantStaIfaceCallback {
            ::aidl::android::hardware::wifi::supplicant::DppStatusErrorCode /* code */) override {
            ::aidl::android::hardware::wifi::supplicant::DppStatusErrorCode /* code */) override {
        return ndk::ScopedAStatus::ok();
        return ndk::ScopedAStatus::ok();
    }
    }
    ::ndk::ScopedAStatus onBssFrequencyChanged(int32_t /* frequencyMhz */) override {
        return ndk::ScopedAStatus::ok();
    }
};
};


class SupplicantStaIfaceAidlTest : public testing::TestWithParam<std::string> {
class SupplicantStaIfaceAidlTest : public testing::TestWithParam<std::string> {