summaryrefslogtreecommitdiffstats
path: root/service/java/com/android/server/wifi/scanner/NoBandChannelHelper.java
Commit message (Collapse)AuthorAgeFilesLines
* Rename ChannelHelper.getSupplicantScanFreqs()Ningyuan Wang2017-05-231-4/+4
| | | | | | | | | | | | | We no longer use supplicant for scanning, so we need to rename this helper function. Since this helper function is not specifically for supplicant, this CL just removes the 'Supplicant' part in its name. This also fixes a few comments related to supplicant. Bug: 36031295 Test: compile, unit tests, manual tests Change-Id: Iabbf20e07b52ea015db227984511affaa055f205
* Add a flag to indicate if a ScanData is for a scan for all channelsMitchell Wills2016-09-121-0/+5
| | | | | | | BUG=30897947 Change-Id: I989a25dd3df3f473090b76b4e3cb798a2d513490 (cherry picked from commit 4e1f32efceee1db37bfb1e2624b434dbfb055686)
* BackgroundScanScheduler: Optimize bucketsRoshan Pius2016-04-131-0/+41
| | | | | | | | | | | | | | 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
* Update scan band channels when neededMitchell Wills2016-03-011-2/+0
| | | | | | | | The involves adding an ability to channel helper to trigger a channel list update. Bug: 27381346 Change-Id: I7908018ff8136b9ce7880d5090bbe9e6fb63405d
* Add final bits of required functionality for ChannelHelperMitchell Wills2016-02-161-0/+23
| | | | | | | | Add support for getting the list of available channels for a band if available. Add support for estimating the duration of a scan. Change-Id: I8abe6d857400775f72969abd4b15e8763ec772c5
* Add more functionality to ChannelHelperMitchell Wills2016-02-101-0/+35
| | | | | | | | Check if a channel is in a ScanSettings Add channels to accumulator from native settings Add unit tests for non-abstract ChannelHelper methods Change-Id: I86b5194b2a5c852fd25041a363f42caa202dfa7a
* Add scan channel helper abstractionMitchell Wills2016-02-081-0/+80
This will allow code to easily function without worrying about the differences in the amount of information known about scan channels. Currently this abstraction will only support merging channels, but more functionality will be added as needed. Eventually this will replace all functionality in WifiChannelHelper. Change-Id: Ic41501204fa4ff4470491055f4204ad9a88000d4