Add support for specifying subset of enabled frequencies to scan
authorJouni Malinen <j@w1.fi>
Thu, 26 Mar 2009 19:55:01 +0000 (21:55 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 26 Mar 2009 19:55:01 +0000 (21:55 +0200)
commitd3a9822542166e7adec16e24622486ba90359ef5
tree526d571369969ab3a9be5b7cb4267da06eda1fa8
parent2d5b792d2b7e8940bd860348443b1e579c14c53a
Add support for specifying subset of enabled frequencies to scan

A new network block parameter, scan_freq, can be used to specify subset
of frequencies to scan. This can speed up scanning process considerably
if it is known that only a small subset of channels is actually used in
the network. A union of configured frequencies for all enabled network
blocks is used in scan requests.

Currently, only driver_nl80211.c has support for this functionality.

For example, following parameter marks 2.4 GHz channels 1, 6, 11 to be
scanned: scan_freq=2412 2437 2462
src/drivers/driver.h
src/drivers/driver_nl80211.c
wpa_supplicant/config.c
wpa_supplicant/config_ssid.h
wpa_supplicant/scan.c
wpa_supplicant/wpa_supplicant.conf