aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_wext.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-02-12 19:49:57 (GMT)
committerJouni Malinen <j@w1.fi>2009-02-12 20:05:32 (GMT)
commit80bc75f13549c5208c39598c14f26ec501d085fb (patch)
tree0023eacefe6efc251007ba49b87c14058859bee4 /src/drivers/driver_wext.c
parent97865538ba250730841727a42b7beccd9f7af414 (diff)
downloadhostap-80bc75f13549c5208c39598c14f26ec501d085fb.zip
hostap-80bc75f13549c5208c39598c14f26ec501d085fb.tar.gz
hostap-80bc75f13549c5208c39598c14f26ec501d085fb.tar.bz2
New driver capability info: max number of scan SSIDs
The driver wrappers can now inform wpa_supplicant how many SSIDs can be used in a single scan request (i.e., send multiple Probe Requests per channel). This value is not yet used, but it can eventually be used to allow a new scan command to specify multiple SSIDs to speed up scan_ssid=1 operations. In addition, a warning could be printed if scan_ssid=1 is used with a driver that does not support it (max_scan_ssids=0).
Diffstat (limited to 'src/drivers/driver_wext.c')
-rw-r--r--src/drivers/driver_wext.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/driver_wext.c b/src/drivers/driver_wext.c
index 8c2daa8..bc2137b 100644
--- a/src/drivers/driver_wext.c
+++ b/src/drivers/driver_wext.c
@@ -1608,6 +1608,7 @@ static int wpa_driver_wext_get_range(void *priv)
drv->capa.enc |= WPA_DRIVER_CAPA_ENC_CCMP;
if (range->enc_capa & IW_ENC_CAPA_4WAY_HANDSHAKE)
drv->capa.flags |= WPA_DRIVER_FLAGS_4WAY_HANDSHAKE;
+ drv->capa.max_scan_ssids = 1;
wpa_printf(MSG_DEBUG, " capabilities: key_mgmt 0x%x enc 0x%x "
"flags 0x%x",