History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/InformationElementUtil.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9b5773d2805e8c6141ca75de272921a84941546b 07-Apr-2016 Randy Pan <zpan@google.com> Build ESS into the GScan result's Capabilities

Obtain this piece of information from the beacon and build it
into the Capabilities string.

Bug: 27810218
Change-Id: Iffa57f6e1c0997e5705da779a3693de9e3108e37
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/InformationElementUtil.java
e367514651d7f888dda870fb472eea6bcfd9ec5d 14-Mar-2016 Paul Stewart <pstew@google.com> Don't crash if no supported rates are given

The com.android.server.wifi.hotspot2.NetworkDetail class
crashed with an ArrayIndexOutOfBoundsException if a an empty
supported rates IE was encountered. This CL fixes this by
checking the array size in the validity check of the IE.

Bug: 27619848
Change-Id: I9569d063d7c64d3cc3f80ced9cf9d1425f97abbd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/InformationElementUtil.java
f5cc6a0c7ede374b33de1cf5156bf149e2e76c13 01-Mar-2016 Glen Kuhne <kuh@google.com> Add Supported Rates and 802.11 Mode detection

Added an Information Element parser for Supported and Extended Supported
Rates.
Uses this information and other IEs to determine the 802.11 Mode
(a/b/g/n/ac) being used by APs, stores it in their scan results.
Modified WifiMetrics to receive and store this metric from a ScanDetail
Added calls to WifiMetrics from WifiStateMachine to give it a ScanDetail
Minor fix to WifiStateMachine's tracking of TargetNetworkId, which it
was clearing incorrectly on NETWORK_DISCONNECTION_EVENT

BUG=25691077
BUG=27446779
Change-Id: I63af5911916bfec87628aeb4e1ed4f9138acfafa
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/InformationElementUtil.java
947e55415eab3989f2f5cede0c03745cf9268309 09-Feb-2016 Glen Kuhne <kuh@google.com> InformationElementUtil TIM element parser

Added a parser to InformationElementUtil for the beacon frame Traffic
Indication Map element. Only current use for this is to get DTIM
interval for metrics.

BUG=25691077
Change-Id: I1aba8ca658e446ae5697b6d749687b0dd24f790d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/InformationElementUtil.java
3571366ac36c70746b9f013ec2b54482861c9292 03-Feb-2016 Randy Pan <zpan@google.com> Build 'capabilities' string for gscan results

Populate the WiFi beacon capability information from gscan to
WifiNative. Build ScanResult 'capabilities' string based on this
value and the information elements.

Add unit tests.

Bug: 26908033
Bug: 26908558
Change-Id: I661bb501a09d3e79ee0b0a8e141e7e47c72687f7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/InformationElementUtil.java
da51c12f413d54517aea317e37ba82e45d1e4a30 16-Dec-2015 Rebecca Silberstein <silberst@google.com> Tests for InformationElementUtil

Add tests for parsing InformationElements. Covers multiple types of invalid
input.

In addition, added check to parseInformationElements to check for null
input. If the input byte array is null, returns an empty
InformationElement array.

Bug: 26228026
Change-Id: I49e0f6ca938e07c7d961853279645f8511dbd0c3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/InformationElementUtil.java
9f743918a412fec9ad5a0386fbf6cf0361313f58 05-Nov-2015 xinhe <xinhe@google.com> Center frequency is incorrectly parsed for 40MHz

b/25499446

Change-Id: Ice9884f860e4b68ec62d87ed24adeab8864beb3f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/InformationElementUtil.java
5d31cedf4024e0f038b4dfc2081016c8631ee8fe 28-Jul-2015 Mitchell Wills <mwills@google.com> Moved Wifi InformationElement parsing to a common utility class

Change-Id: If3e58aa01ad2a75c0f4942428392c0e7f833143c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/InformationElementUtil.java