Allow channel list to be specified for SCAN command
authorJouni Malinen <j@w1.fi>
Wed, 25 Dec 2013 18:04:52 +0000 (20:04 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 26 Dec 2013 14:55:44 +0000 (16:55 +0200)
commitfee5234284345f7c27db7e726ed729b7317ee5b8
tree28da81b9d62f8b2141a99fa238e9e649ccfdc837
parent98eda9c26d8ed4f8fd8449da9cdc359418253df7
Allow channel list to be specified for SCAN command

The new freq=<frequency ranges> parameter to the SCAN command can be
used to request a scan to be performed on the specified set of channels
instead of on all channels. For example, "wpa_cli scan
freq=2400-2500,5180" would scan channels 1-14 and 36. Only the channels
that the driver indicates as enabled and that are within the specified
ranges are included in the request.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/scan.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h