public class KnownBandsChannelHelper extends ChannelHelper
Modifier and Type | Class and Description |
---|---|
class |
KnownBandsChannelHelper.KnownBandsChannelCollection
ChannelCollection that merges channels so that the optimal schedule will be generated.
|
ChannelHelper.ChannelCollection
NO_CHANNELS, SCAN_PERIOD_PER_CHANNEL_MS
Constructor and Description |
---|
KnownBandsChannelHelper() |
Modifier and Type | Method and Description |
---|---|
KnownBandsChannelHelper.KnownBandsChannelCollection |
createChannelCollection()
Create a new collection that can be used to store channels
|
int |
estimateScanDuration(WifiScanner.ScanSettings settings)
Estimates the duration that the chip will spend scanning with the given settings
|
WifiScanner.ChannelSpec[] |
getAvailableScanChannels(int band)
Get the channels that are available for scanning on the supplied band.
|
protected void |
setBandChannels(int[] channels2G,
int[] channels5G,
int[] channelsDfs) |
boolean |
settingsContainChannel(WifiScanner.ScanSettings settings,
int channel)
Return true if the specified channel is expected for a scan with the given settings
|
toString, toString, updateChannels
protected void setBandChannels(int[] channels2G, int[] channels5G, int[] channelsDfs)
public WifiScanner.ChannelSpec[] getAvailableScanChannels(int band)
ChannelHelper
getAvailableScanChannels
in class ChannelHelper
public int estimateScanDuration(WifiScanner.ScanSettings settings)
ChannelHelper
estimateScanDuration
in class ChannelHelper
public boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel)
ChannelHelper
settingsContainChannel
in class ChannelHelper
public KnownBandsChannelHelper.KnownBandsChannelCollection createChannelCollection()
ChannelHelper
createChannelCollection
in class ChannelHelper