diff options
| author | 2016-02-16 18:04:13 +0000 | |
|---|---|---|
| committer | 2016-02-16 18:04:14 +0000 | |
| commit | 03d7581cf6dcc8072fe22c834513593a46fcf93b (patch) | |
| tree | 134d57e4d9788561c44e1f881623f0e89e97f551 | |
| parent | 93b1a36e31b42c5b33a0164f2832ab9aa12d9a00 (diff) | |
| parent | d6676166599b7cadd043b0bd400aeace3059621b (diff) | |
Merge "WifiConfiguration: add constants for radio band" into mm-wireless-dev
| -rw-r--r-- | wifi/java/android/net/wifi/WifiConfiguration.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/wifi/java/android/net/wifi/WifiConfiguration.java b/wifi/java/android/net/wifi/WifiConfiguration.java index 8f4f4c702baa..a6aad3c0f403 100644 --- a/wifi/java/android/net/wifi/WifiConfiguration.java +++ b/wifi/java/android/net/wifi/WifiConfiguration.java @@ -238,12 +238,24 @@ public class WifiConfiguration implements Parcelable { public String BSSID; /** + * 2GHz band. + * @hide + */ + public static final int AP_BAND_2GHZ = 0; + + /** + * 5GHz band. + * @hide + */ + public static final int AP_BAND_5GHZ = 1; + + /** * The band which AP resides on * 0-2G 1-5G * By default, 2G is chosen * @hide */ - public int apBand = 0; + public int apBand = AP_BAND_2GHZ; /** * The channel which AP resides on,currently, US only |