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

Commit b6cd6fa5 authored by Glen Kuhne's avatar Glen Kuhne
Browse files

Add EID_TIM to ScanResult.InformationElement

Added EID_TIM to enable parsing of TrafficIndicationMap
InformationElements.

BUG=25691077
Change-Id: I99450f0b720175660486da15d6b13affbdb61adc
parent 93b1a36e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -331,6 +331,7 @@ public class ScanResult implements Parcelable {
     */
    public static class InformationElement {
        public static final int EID_SSID = 0;
        public static final int EID_TIM = 5;
        public static final int EID_BSS_LOAD = 11;
        public static final int EID_RSN = 48;
        public static final int EID_HT_OPERATION = 61;
+11 −1
Original line number Diff line number Diff line
@@ -388,6 +388,15 @@ public class WifiConfiguration implements Parcelable {
     */
    public boolean validatedInternetAccess;

    /**
     * @hide
     * The number of beacon intervals between Delivery Traffic Indication Maps (DTIM)
     * This value is populated from scan results that contain Beacon Frames, which are infrequent.
     * The value is not guaranteed to be set or current (Although it SHOULDNT change once set)
     * Valid values are from 1 - 255. Initialized here as 0, use this to check if set.
     */
    public int dtimInterval = 0;

    /**
     * @hide
     * Uid of app creating the configuration
@@ -1285,6 +1294,7 @@ public class WifiConfiguration implements Parcelable {
        lastUpdateUid = -1;
        creatorUid = -1;
        shared = true;
        dtimInterval = 0;
    }

    /**