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

Commit 67e43033 authored by Hai Shalom's avatar Hai Shalom
Browse files

[WPA3] Make WPA3/OWE capability query API public

Make isWpa3SaeSupported, isWpa3SuiteBSupported and isOweSupported
methods public.

Bug: 112195778
Test: atest WifiManagerTest
Change-Id: I3691ab5a5c8c280b9ad6b07e3969b76801d3a5c9
parent e3cc0687
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -29000,11 +29000,14 @@ package android.net.wifi {
    method public boolean is5GHzBandSupported();
    method public boolean isDeviceToApRttSupported();
    method public boolean isEnhancedPowerReportingSupported();
    method public boolean isOweSupported();
    method public boolean isP2pSupported();
    method public boolean isPreferredNetworkOffloadSupported();
    method public deprecated boolean isScanAlwaysAvailable();
    method public boolean isTdlsSupported();
    method public boolean isWifiEnabled();
    method public boolean isWpa3SaeSupported();
    method public boolean isWpa3SuiteBSupported();
    method public deprecated boolean pingSupplicant();
    method public deprecated boolean reassociate();
    method public deprecated boolean reconnect();
+0 −6
Original line number Diff line number Diff line
@@ -4256,27 +4256,21 @@ public class WifiManager {

    /**
     * @return true if this device supports WPA3-Personal SAE
     * @hide
     */
    @SystemApi
    public boolean isWpa3SaeSupported() {
        return isFeatureSupported(WIFI_FEATURE_WPA3_SAE);
    }

    /**
     * @return true if this device supports WPA3-Enterprise Suite-B-192
     * @hide
     */
    @SystemApi
    public boolean isWpa3SuiteBSupported() {
        return isFeatureSupported(WIFI_FEATURE_WPA3_SUITE_B);
    }

    /**
     * @return true if this device supports Wi-Fi Enhanced Open (OWE)
     * @hide
     */
    @SystemApi
    public boolean isOweSupported() {
        return isFeatureSupported(WIFI_FEATURE_OWE);
    }