History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a6b9c1199f91790606acc70c771548f079fa8f0 06-Oct-2017 Ningyuan Wang <nywang@google.com> Catch Exception on creating NetworkDetail

Bug: 67482129
Test: compile, unit tests
Change-Id: I8d6806f750a8002a0a568bb2b84d1f18ba833594
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
a2dae3436431f3fe2ac79ad087fe62f6fcda8ad7 11-Aug-2017 Mehdi Alizadeh <mett@google.com> Adds definitions to collect wifi Pno metrics

Provide APIs from WifiMetrics to update PNO scan counters. Include these
metrics in dumpsys and update unit tests to verify deserialization of
newly added metrics.

Bug: 32842314
Test: Unit test and verify values in dumpsys
Change-Id: I536cd9081a8cfe70f044818e7febd08003ccc702
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
71c4c2a898a827a867564159ce78e41aedd2295b 10-Jul-2017 Sohani Rao <sohanirao@google.com> Introduce new API for retrieving PNO scan results

Create a seperation of code paths for retrieving scan results from
single scan vs those from a PNO scan. This enables the underlying
implementation to return PNO scan results from the interface that most
recently completed the scans while ensuring no changes to the way single
scan results are returned to the framework.

Bug: 63148974
Test: Unit tests, on-device test for connecting to a network found by
Offload HAL during Pno scans

Change-Id: I6002f6df05e40fe24ff12f4a49599343578873f4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
85c806c0d32bb30f421ebc372a59b2f3ea2dce41 06-Jul-2017 Sohani Rao <sohanirao@google.com> AIDL changes for Offload HAL metrics collection

Implement new APIs in IPnoScanEvent AIDL interface that report data
related to Offload HAL scan metrics.

Bug: 32842314
Test: Unit tests, on-device test for connecting to a network found by
Offload HAL during Pno scans

Change-Id: Id02dd045684b4e0f3fd95f58fb9793b0c8e8f3cb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
8f5c6f25e0b8266b3bae3540e854d67442bc60d2 10-Jul-2017 Sohani Rao <sohanirao@google.com> WificondControl: SSID field verification in scan result

SSID field of the scan result from wificond is being verified against
the SSID extracted from the IEs. When scan results are obtained from
Offload HAL, no IEs are available. Remove this check to avoid dropping
the scan results erroneously

Bug: 63148974
Test: Unit tests, on-device test for connecting to a network found by
Offload HAL during Pno scans

Change-Id: Ia5e6a85ba497ae3ac47729dddddf7ad45d263e55
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
4eef41ced6143fe7228cf1f06f8a1f45aa8a2b1f 20-Jul-2017 Peter Qiu <zqiu@google.com> Update ScanResult with carrier network info

Bug: 30988281
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: manual
Change-Id: I77cab53d71772bc9503dc5cdfab621a8b30804f6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
c4ad341e844e88a34be7ed4c3c9509fb72608b37 02-May-2017 Ningyuan Wang <nywang@google.com> Abort scan before connection

In the past, supplicant would abort any ongoing scan before
issuing a connection or roaming request.
For Android O we issue scans using wificond, so supplicant doesn't
know about ongoing scan issued by wificond.
As a result, we may have regression that connection request may be
delayed because device is waiting for ongoing scan to finish.
This patch adds back the logic at framework level, fixing the potential
regression.

Bug: 37743832
Test: compile, unit tests, integration test, manual test

Change-Id: I556c7561d39a9d0b91399d5b3348256bcf0943c8
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
8ce63761f263cc5190e87d6f5f8d0501e531168f 27-Mar-2017 Ningyuan Wang <nywang@google.com> Add try/catch blocks for incoming WificondControl params

Bug: 36608272
Test: compile, manual test that wifi connects and no error logs
Change-Id: I853d85813644fe74343c1bc322ad34ad6f1adf2b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
51493e199ebf1e1191ccf652f0081d229018a11f 21-Mar-2017 Ningyuan Wang <nywang@google.com> Separate single scan and sched scan result handling

Bug: 36479602
Test: compile, unit tests, integration test

Change-Id: I066619ca7c53cf7e8e53ce776c1b419201d522f1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
04c453c2e07efc30b99528926f205740226f1c7b 17-Feb-2017 Ningyuan Wang <nywang@google.com> Request Pno scan via wificond and re-enable pno scan

Bug: 32977707
Test: compile, unit tests, manual test, will do integration test

Change-Id: I3b7d5020aa695120a047a2d228fc6be5760e2343
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
bb1a2db286601be78d36c9fe747e779d40cd7d6c 24-Feb-2017 Ningyuan Wang <nywang@google.com> Allow wificond scanner to use blocking binder call

Bug: 35726133
Test: compile, manual test

Change-Id: I51d8782251ecc1aaa47cfd55d93195af890c648a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
70a9b25ee5d051660b8aeb15ffa97d36a181741d 16-Feb-2017 Ningyuan Wang <nywang@google.com> Plumb through scan result/failure notification

Bug: 34715459
Bug: 33398008
Test: compile, unit tests, integration tests

Change-Id: I10726aac7c186ea277c9a169b37e1900e8420b71
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
e6d7f23569585f8f0fb02adbef992d3f1430db44 15-Feb-2017 Ningyuan Wang <nywang@google.com> Request single shot scan via wificond

Bug: 34715459
Bug: 33398008
Test: compile, unit tests, integration tests

Change-Id: Ie44ae50d9d498bd164bd407259f013dd367e4ed2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
512ba9008e5b9ab4019647eb036c303a6bb9e0ce 23-Feb-2017 Ningyuan Wang <nywang@google.com> More logging for WificondControl

Bug: None
Change-Id: Ia5ea3d53a7ba1484db79d286970a44e5331e9ecc
Test: compile
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
2e5959fc746d48ab49f731cdbbb2b9fea6704e2a 17-Feb-2017 Ningyuan Wang <nywang@google.com> Plumb through enableVerboseLogging() to WificondControl

Bug: 35439153
Change-Id: Ieb5afe5409c9cda337f0ab3e4e0899a99c4c559d
Test: compile, unit tests, manual tests
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
755bbe962c20d37491dd9264ad3497bf27e33602 13-Feb-2017 Ningyuan Wang <nywang@google.com> Initialize WifiSsid from a byte array

Bug: 35318006
Test: compile, unit tests
Change-Id: Ib23b549af3056111c3c8ae6faaafb5d027cfa9d9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
f4b53ff21ce0aa25131222d0cd15cc4a5e8c0c4f 11-Feb-2017 Ningyuan Wang <nywang@google.com> Use NativeUtil methods for WificondControl

Bug: 35154749
Test: compile, unit tests, manual tests

Change-Id: Idc9e7569b3c86b409646be5edb9f16060619f167
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
8631700c2c81784d8fb02d38a304cf6609f67c14 31-Jan-2017 Ningyuan Wang <nywang@google.com> Move getScanResult to WificondControl

This allow WifiNative to fetch the latest scan results from wificond
instead of supplicnat.

This should not impact framework behavior because both wificond and
supplicnat fetch scan results from kernel via nl80211.

Bug: 34715459
Test: compile, unit tests, manual tests, integration test

Change-Id: I21ab3d15399318240fba8e76dfd5afc638954bed
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
d45b46b01f8562219468291bdc19363f0540ced0 27-Jan-2017 Ningyuan Wang <nywang@google.com> Move signal poll and getPktCounters to WificondControl

Bug: 34715459
Test: compile, unit tests, manual tests, cts test

Change-Id: Idbed255d86b83c6bfb725db7af89117546ca3358
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java
70603901b67c48202ecbb1818e59d487bbcceeda 26-Jan-2017 Ningyuan Wang <nywang@google.com> Create new class WificondControl

This creates a new class WificondControl.
WificondControl provides methods for WifiNative to send control commands to
wificond.
This also moves driver reload, disable/enable supplicant, and interface
cleanup from WifiStateMachine to WifiNative and WificondControl.
This also adds corresponding unit tests for changes above.

Bug: 34715459
Bug: 34776808
Test: compile, unit tests, manual tests, integration test.

Change-Id: I5a5436ae54e7dcd1f2f2f7c780a6f0bdce79ffc2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WificondControl.java