Merge "WifiConfiguration: add constants for radio band" into mm-wireless-dev

This commit is contained in:
Peter Qiu
2016-02-16 18:04:13 +00:00
committed by Android Partner Code Review

View File

@@ -237,13 +237,25 @@ 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