History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/BackgroundScanScheduler.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6259b630ddb59b642729a2d2113d81ed8e33a0e3 12-Sep-2016 Roshan Pius <rpius@google.com> WifiScanningService: Change hidden/PNO scan params

Since networks are no longer configured in wpa_supplicant, network
IDs/priorities being passed around for hidden/PNO scanning does not make
any sense. Changing the wifi scanner interface to remove all
network ID/priority references.

For hidden networks, we'll now send a sorted array of <ssid> for
each network (similar to PNO). This should help wificond prioritize
networks when the size exceed the max supported by driver.
Also, since wpa_supplicant already supports sending a list of ssids for
scanning, plumb it all the way through.

NOTE:
1. The backend for all these scans will eventually be replaced by
wificond.
2. Hidden networks are no longer considered in bgscan requests. This was
anyway not workin in HalWifiScanner's gscan backed bgscan.

BUG: 29503772
TEST: Existing unit tests.
TEST: Successfully connected to a hidden network on device
Change-Id: Ie7783353d2eb87c2fd7b9a10f44e3e5df4cbc218
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/BackgroundScanScheduler.java
1b266ec1524c516a7ebf25b76801db86427ba68b 25-May-2016 Mitchell Wills <mwills@google.com> Update background scan bucket periods to align with minutes

Bug: 28320003
Change-Id: Ic551cc6d7fcaa94945d2768d7aa2cf705dd510fd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/BackgroundScanScheduler.java
6b838f693ae0635b8f513d14725e54efadc29977 16-May-2016 Mitchell Wills <mwills@google.com> Add scan bucket for 80s period scans

Change-Id: I87779468d37971c53c1c9cfd615e5ca2e7a65108
Fixes: 28793104
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/BackgroundScanScheduler.java
216eb45e7fb44a1ba8edc156d08b532a17219f66 08-Apr-2016 Roshan Pius <rpius@google.com> BackgroundScanScheduler: Optimize buckets

Optimize the buckets to ensure that the same channel is not scheduled
across multiple buckets. The settings are split if some of the channels
in the setting is already being scanned in lower time period bucket.
Also go thru each bucket and check if any of them don't fit into the
bucket specifications, if yes create split buckets with the same
time period. The split buckets will cumulatively contain all the channels
needed to be scanned in the original buckets.

BUG:28022609
Change-Id: Ie24bc3ec891965adad0ce6e855015be6ff5f0740
TEST: Compiles & unit-test passes
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/BackgroundScanScheduler.java
c4f23cbd6de85cbffcd91b398e51eff106ef08d4 26-Mar-2016 Mitchell Wills <mwills@google.com> Use buckets scanned field when delivering scan results

Fixes: 27506257
Change-Id: I224b78a89dfde54ef4f3dae37f1bb10d2a12b78e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/BackgroundScanScheduler.java
c9e6069eb941d282af213dc20b171877db6b567b 23-Mar-2016 Mitchell Wills <mwills@google.com> Pass buckets scanned from HAL to framework

Bug: 27506257
Change-Id: Ia57327e265317fd0d1ce09d238d9c1e9c55bf2b1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/BackgroundScanScheduler.java
4e54617758f86acef751bc8588257a58ed985b0f 22-Mar-2016 Mitchell Wills <mwills@google.com> Move scan filtering to a common utility class

This way single scans don't depend on the background scan scheduler

Bug: 27506257
Change-Id: I7130302b364cc86e3a8f1cd0a168e0068c29953b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/BackgroundScanScheduler.java
95984d1af44a00183a4b0e0ed61417583096ff90 17-Mar-2016 Mitchell Wills <mwills@google.com> Merge MultiClientScheduler and WifiScanningScheduler

And move them to the com.android.server.wifi.scanner package

Change-Id: Iceac6823f118017f577e316d8eacc77c3445b2a7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/BackgroundScanScheduler.java