Loading wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/current/android/hardware/wifi/supplicant/ISupplicantStaIfaceCallback.aidl +1 −0 Original line number Original line Diff line number Diff line Loading @@ -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, Loading wifi/supplicant/aidl/android/hardware/wifi/supplicant/ISupplicantStaIfaceCallback.aidl +9 −0 Original line number Original line Diff line number Diff line Loading @@ -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); } } wifi/supplicant/aidl/vts/functional/supplicant_sta_iface_aidl_test.cpp +3 −0 Original line number Original line Diff line number Diff line Loading @@ -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> { Loading Loading
wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/current/android/hardware/wifi/supplicant/ISupplicantStaIfaceCallback.aidl +1 −0 Original line number Original line Diff line number Diff line Loading @@ -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, Loading
wifi/supplicant/aidl/android/hardware/wifi/supplicant/ISupplicantStaIfaceCallback.aidl +9 −0 Original line number Original line Diff line number Diff line Loading @@ -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); } }
wifi/supplicant/aidl/vts/functional/supplicant_sta_iface_aidl_test.cpp +3 −0 Original line number Original line Diff line number Diff line Loading @@ -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> { Loading