History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8fc0def5fcd65c8ef1368c6dd2ddca0652f0db09 12-Jun-2017 Glen Kuhne <kuh@google.com> Stop 'Invalid SupportedRates' logspam

This change cleans up an old warning level log that was spamming logcat
with 'Invalid SupportedRates!!!' messages for scan results that don't
provide supported rates information (This is actually quite normal).
ScanResult Supported Rates parsing in framework is only used to
determine 80211 mode being used (a/b/g/n/ac) and support metrics. The
parser is not particularly load bearing, and the log statement is
entirely unnecessary.

Bug: 62391468
Test: Builds, no longer see this particular logspam
Change-Id: Iac7f88ae592f08d77dc3c49c5fa3fc7caddf99ad
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
65d8ba5dd551cd132789e8feb270dfc7998dfbdc 15-Feb-2017 Roshan Pius <rpius@google.com> Passpoint: Change ANQP response handling

Currently, the ANQP done notification from WifiMonitor is used
as a trigger to fetch anqp data in PasspointEventHandler.
In the HIDL interface, the callback itself will contain all the
necessary ANQP data. So, change the currently handling to prepare for
integration with HIDL interface.

Changes in the CL:
1. Move the ANQP data fetching to WifiMonitor away from
PasspointEventHandler.
2. Change the params of the ANQP done result to include a newly created
struct (AnqpResult) which would contain the bssid and the ANPQ results.
3. Add a new public method in WifiMonitor to send the notification out
from WifiMonitor, which will be used by the HIDL interface in the future.
4. Remove the redundant PasspointEventHandler.parsANQPLines().

Note: There are no unit tests for any of these changes because this CL
is just moving things around and most of it is going to be removed when
we integrate with HIDL.

Bug: 35393853
Test: Connects to passpoint networks.
Test: Will send for regression tests.
Change-Id: I7fdf8fbdba13d267eb986db3f8a5854c606bcd4c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
c5d349d814e5eeb72beb62d722699a9624fb9932 13-Feb-2017 Julia Reynolds <juliacr@google.com> Fix bootloop.

Bug: 35310090
Test: user device
Change-Id: Ia4bd2943b88c61d7c648d898b26bb2fd9e4fe094
Merged-In: Ia4bd2943b88c61d7c648d898b26bb2fd9e4fe094
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
b86089a48fae8878b5a27533a116c97b0be6d0e7 10-Jan-2017 Peter Qiu <zqiu@google.com> util: fix parsing logic for ExtendedCapabilities IE

The IEEE 802.11 standard specified that Extended Capabilities IE contained
a bit field of variable length. So use BitSet to represent the data instead
of an integer.

Bug: 34179560
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I1df2c92c475f1dbc4e7b17c243b4560d822ff129
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
8ca4ac971a9b862fbd69c57af3a3c0029a6b9f4d 18-Nov-2016 Peter Qiu <zqiu@google.com> hotspot2: anqp: update package name to reflect the updated location

Bug: 33000864
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: If842197a027a2c8381aacf5b256191f81bcbd1bb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
09044adabba28c56b48922d105994d30e7ab015e 02-Sep-2016 Peter Qiu <zqiu@google.com> passpoint: refactor PasspointEventHandler

Changes include:
- cleanup the callback interface
- remove dependency for ScanDetail
- remove unused code
- add unit tests

BUG: 31264540
TEST: build and run unit tests

Change-Id: Idab62a6e12bef7807e2ef8bc5aec4e46fbf965dc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
59f9a74676831ba4634b35d56a1e2bbe9bf4e322 01-Aug-2016 Glen Kuhne <kuh@google.com> WiFiMetrics: Count hidden & passpoint networks

1. Extended the WiFiMetrics proto to include counts for hidden and
passpoint networks, counting these for all saved networks, connections
and scan results.
2. Extended the counting of Open, Personal and Enterprise network to
include scans.
3. Extended ConnectionEvent logging to detect and flag passpoint network
connections.
4. Implemented the checks that detect if a scan Result is a hidden network.
While I was here: Cleaned up a couple old WifiMetrics <TODO>s, which we will not be doing.
BUG=28634987

Change-Id: I2e22bf8d79ccbda84ead700272ff0f1b0f13d2e7
Test: Extended unit tests, executed manually
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
e7399556522efdd3f137aba31c49cbb8d95c59d6 22-Jul-2016 Samuel Tan <samueltan@google.com> Remove Venue Group and Venue Type parsing code

We currently do not use the Venue Group and Venue Type
codes that are parsed from the ANQP Venue Name Element,
so remove the code that parses and internally exposes these
fields.

Note: The Venue Name Duples in Venue Name ANQP element are
exposed on the ScanResult public API, so keep the parsing code
for that field.

BUG: 30291919
TEST: Framework compiles successfully.

Change-Id: I7c20daec9e5c9fe41253fb322c2cfce231846701
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
8f14e9784bd8ca8e832fff86597a28755f7e668e 22-Apr-2016 Samuel Tan <samueltan@google.com> NetworkDetail: remove VDBG field

The VDBG is field us currently used as the DBG field is
in other files: as a static, compile-time flag that
determines whether certain messages are logged. The DBG
field, on the other hand, is currently defined but not used.

Replace the uses of VDBG with DBG, and remove the VDBG field,
so that NetworkDetail will only have a single compile-time
debug flag that is consistent with those used in other WiFi
framework classes.

BUG: 28321397
Change-Id: I0b32f47e50e8add7e889ac72e7c9c259802bf083
TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.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/hotspot2/NetworkDetail.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/hotspot2/NetworkDetail.java
2e814680f4dd27a5f825afab189843582235cedc 24-Jan-2016 Jan Nordqvist <jannq@google.com> New System APIs for Passpoint r2 app.

Change-Id: If23e6ab432e871a407cbff94292673524c6d72bd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.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/hotspot2/NetworkDetail.java
1d5cd3938f9191184cd9aea3059a3b62bf3a0372 22-Jul-2015 Jan Nordqvist <jannq@google.com> Hotspot 2.0 relase 2 first cut.

Policy provisioning.
API methods.
Timers for policy and remediation.
Icon and friendly name checking.
Channel bindings for EST.

Change-Id: Ifa7125743ea93d7d4329cb53fd70c99b9b06fffe
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
be24c9af85b8a6e02b24582418a4608e14396f2a 23-Jun-2015 Jan Nordqvist <jannq@google.com> Fixed ArrayIndexOutOfBounds and some more sanity in NetworkDetail.

Bug: 20304261
Change-Id: I4951b5274d148b1c4848363f915d278fbaa1f7c9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
866c5b061e6e762f2627e3467afc0fe6f29c2668 12-Jun-2015 Jan Nordqvist <jannq@google.com> Separated auth checking from SP matching.

Bug: 21729565

Change-Id: Ia0617efaf32f4dc9dddc6059322265520f2d5c3a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
c85fd892c72e7d15f7e092f29f6cf095b46783a0 09-Jun-2015 Vinit Deshpande <vinitd@google.com> am 5bee0e4..7ec7de9 from mirror-m-wireless-internal-release

7ec7de9 Fixed PLMN ANQP parsing and added Runtime guard on parsing.
54fcb6c Prevent repeating EAP connection forever

Change-Id: I3006e488d5c422330f4cc2aee0d366351ecc36e1
5bee0e4616e2f8025d60cbfe3eec3e274a68a452 06-Jun-2015 Jan Nordqvist <jannq@google.com> ANQP caching cleaned up.

Disabling all HS2.0 logic with no SPs.

Bug: 21306404
Bug: 21660552

Change-Id: I080e99b5e41ead0b718c9e14514fba3108f19ac9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
347a9779b10304865e478af01ab95871c7614b29 14-May-2015 Vinit Deshpande <vinitd@google.com> am d7cbebf..6111ff7 from mirror-m-wireless-internal-release

6111ff7 minor fix for warning
e026d53 Added cert path validation for CA cert.
9a64375 Changed SSID consistency check to deal with hidden SSIDs (logging only).
1c03d75 Changed log tag, and fixed a NPE.
7d5357a Disable PDBG in WifiStateMachine

Change-Id: I0100a9e48f383266487c43426a55509cf8868f47
9a64375bfb3431ef8d4ec1f2e97349c106c9c5f0 29-Apr-2015 Jan Nordqvist <jannq@google.com> Changed SSID consistency check to deal with hidden SSIDs (logging only).

Change-Id: I80ef72d6a209571643b49c9fd144144e333f6486
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
1c03d75c73b9f5fa24a795a0d546f4f56b82ab9b 27-Apr-2015 Jan Nordqvist <jannq@google.com> Changed log tag, and fixed a NPE.

Change-Id: I216a9df2397427a1175ea930c501f47cd843b742
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
6aef95a3cfa0b825ff93c45e95f89cc8c5c85164 11-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge commit '70deeca' into merge_work

Change-Id: I77fdf057818f0bc2742e923e71b248648e152e1a
d33dc0d01f16ef7c338c3e3c82eaefa9e914ff83 03-Apr-2015 Jan Nordqvist <jannq@google.com> Refined SSID parsing in NetworkDetail.

Change-Id: Iaf5d796df472a501ce188755061600b255181c46
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
a1edc185d46d85e04930a5e12b465de9fea64afe 19-Mar-2015 Jan Nordqvist <jannq@google.com> Various fixes for Passpoint.

A couple of fixes in AnqpCache, better logging.

Fixed BufferUnderdflowException in NetworkDetail.

Bug: 19888749

Modifications to support WiFi config app.

Rework to fit config builder into apps framework.

API for WiFi config app, 3GPP matching, BufferUnderflowException bug fix and some other fixes.

Fixed a log statement.

Clean up.

Change-Id: I763d47b9c7943a8aa4c94afd2678ccea2dd915cc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
c1072acda7dc8b9d7bc4a9bb0b1177b14ecaf276 27-Mar-2015 xinhe <xinhe@google.com> remove wifi beacon parsing debug log

Bug:19771472
Change-Id: I3b51390d9c825520b6eddea452620f6e07be69ab
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
f9f7c4ceed78d380a78c2d79a2af3d0cf473e065 25-Mar-2015 Prerepa Viswanadham <dham@google.com> Fix build after m-wireless-internal-release merge

Change-Id: I79ad5b380c06d2096c19328c4f4258abe110c8d8
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
e9418ca9dd1975f84260e491a041cac87381693c 24-Mar-2015 Prerepa Viswanadham <dham@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge

Change-Id: Id9033b0a7d6bd3c8ecab1648fc8c67feae18c41c
ac5ef7ed57cc198486d4c411f39ca89192ed6395 19-Mar-2015 Alan Viverette <alanv@google.com> Hide NetworkDetail logspam behind debug flag

Bug: 19771472
Change-Id: I2ea9f6e040bc094fc331dcf46a5af84bc28d0f87
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
398823d45a240ff90ff2ffab3ff4a8b8646f24c9 19-Mar-2015 Jan Nordqvist <jannq@google.com> Fixed bug in IE parser.

Change-Id: I607081f2a651a7859b53f4b5cdda46c48e1e6480
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
d3fb9cbb12d013dd70e672ace5c41ab18a3679a0 18-Mar-2015 Vinit Deshpande <vinitd@google.com> Connect to passpoint end-to-end

Change-Id: I9bdec486b2a5963ce8858ad1ed322f6d62e6349f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
fea443b1b8807443544dfdb29a9c237b3ccf964a 17-Mar-2015 Jan Nordqvist <jannq@google.com> Tightened up and moved IE parse syntax checking.

Change-Id: I5e764dfb4f4d2d83466ee9659da86679bed403e7

Fixed up previous check in.

Change-Id: I8ef944b23d3cb6c8c426377442890bc366593e47
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
207af567531a0813a9c8651d28bc4bda0ea22088 16-Mar-2015 xinhe <xinhe@google.com> remove wifi beacon parsing debug log

Bug:19771472
Change-Id: Ibb56afdb8edbd25396ac4ab51d685a39f1df9c1f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
73185809f4a44a8ee272afe3e5253496aeb966ce 13-Mar-2015 Lorenzo Colitti <lorenzo@google.com> Don't crash the system when an element is too long.

Change-Id: I09b5ed2713ea470dc410f7f2d9cc84413843023c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
243931f3474f6235cfcf5c1a55fa2f192ee264ae 02-Mar-2015 xinhe <xinhe@google.com> add 2 side RTT support on scan

Bug:19533713
Change-Id: I3076cba3c7c7d5f234caa7e35ab96dd3f7471aa2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
ef1567e413c9ed5f5c4fdb9e354861632f7b2f87 25-Feb-2015 Jan Nordqvist <jannq@google.com> HS20: Selection code moved to WifiAutoJoinController

Change-Id: Ic2f713758ec20f98f63d55b4a610e4dca07742fb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java
77f2b82a2e80af8da52c22d69a76def6d4209757 14-Feb-2015 Jan Nordqvist <jannq@google.com> Integrate passpoint with existing Wifi infrastructure

This change hooks passpoint with rest of the wifi infrastructure.

It includes changes related to passing ANQP and other passpoint
information along with scan results and various fixes to parsing
and selection logic.

Change-Id: Id15ef1aea65dedab3e8e3df0c8a7515974c94021
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/NetworkDetail.java