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

Commit d6676166 authored by Peter Qiu's avatar Peter Qiu
Browse files

WifiConfiguration: add constants for radio band

Change-Id: I2287ffb3d93351d73659327cef37a6d3ecd588b3
parent f94dc187
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -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