diff options
author | Randy Pan <zpan@google.com> | 2017-01-13 10:45:46 -0800 |
---|---|---|
committer | Randy Pan <zpan@google.com> | 2017-01-13 14:59:30 -0800 |
commit | 438643b1518be4e52399ef87d91451868f089461 (patch) | |
tree | 0a638316f9ea783ff1277b73a77cf3ecebb59de6 | |
parent | 0938b22c0ab3f28acfcbcc4099b93dc0a43a691a (diff) | |
download | base-438643b1518be4e52399ef87d91451868f089461.tar.gz |
Keep WIFI_FEATURE defines in sync with HAL
Bug: 33673826
Test: build
Change-Id: Ifec7b28ef7b08a478d889d40d13b45f3a60a7e07
-rw-r--r-- | wifi/java/android/net/wifi/WifiManager.java | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index 88820cda05bd..ab6b3e3f43c8 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -1075,7 +1075,6 @@ public class WifiManager { } } - /* Keep this list in sync with wifi_hal.h */ /** @hide */ public static final int WIFI_FEATURE_INFRA = 0x0001; // Basic infrastructure mode /** @hide */ @@ -1089,7 +1088,7 @@ public class WifiManager { /** @hide */ public static final int WIFI_FEATURE_SCANNER = 0x0020; // WifiScanner APIs /** @hide */ - public static final int WIFI_FEATURE_AWARE = 0x0040; // Wi-Fi AWare networking + public static final int WIFI_FEATURE_AWARE = 0x0040; // Wi-Fi AWare networking /** @hide */ public static final int WIFI_FEATURE_D2D_RTT = 0x0080; // Device-to-device RTT /** @hide */ @@ -1107,13 +1106,28 @@ public class WifiManager { /** @hide */ public static final int WIFI_FEATURE_EPR = 0x4000; // Enhanced power reporting /** @hide */ - public static final int WIFI_FEATURE_AP_STA = 0x8000; // Support for AP STA Concurrency + public static final int WIFI_FEATURE_AP_STA = 0x8000; // AP STA Concurrency /** @hide */ - public static final int WIFI_FEATURE_LINK_LAYER_STATS = 0x10000; // Link layer stats collection + public static final int WIFI_FEATURE_LINK_LAYER_STATS = 0x10000; // Link layer stats collection /** @hide */ - public static final int WIFI_FEATURE_LOGGER = 0x20000; // WiFi Logger + public static final int WIFI_FEATURE_LOGGER = 0x20000; // WiFi Logger /** @hide */ - public static final int WIFI_FEATURE_HAL_EPNO = 0x40000; // WiFi PNO enhanced + public static final int WIFI_FEATURE_HAL_EPNO = 0x40000; // Enhanced PNO + /** @hide */ + public static final int WIFI_FEATURE_RSSI_MONITOR = 0x80000; // RSSI Monitor + /** @hide */ + public static final int WIFI_FEATURE_MKEEP_ALIVE = 0x100000; // mkeep_alive + /** @hide */ + public static final int WIFI_FEATURE_CONFIG_NDO = 0x200000; // ND offload + /** @hide */ + public static final int WIFI_FEATURE_TRANSMIT_POWER = 0x400000; // Capture transmit power + /** @hide */ + public static final int WIFI_FEATURE_CONTROL_ROAMING = 0x800000; // Control firmware roaming + /** @hide */ + public static final int WIFI_FEATURE_IE_WHITELIST = 0x1000000; // Probe IE white listing + /** @hide */ + public static final int WIFI_FEATURE_SCAN_RAND = 0x2000000; // Random MAC & Probe seq + private int getSupportedFeatures() { try { |