Allow SCAN command to specify scan_ssid=1 SSIDs
authorLi Jianyun <jianyunl@qti.qualcomm.com>
Tue, 1 Jul 2014 15:22:56 +0000 (23:22 +0800)
committerJouni Malinen <j@w1.fi>
Wed, 2 Jul 2014 09:52:08 +0000 (12:52 +0300)
commit6891f0e6f4e85408c3bf3be99eb85f767e5a7766
tree9fd0e9e78cc3f6f2d04516b2366f6586aca2ac34
parent18389abcca13e32b1eaf1d252a54f22bb1a1bea7
Allow SCAN command to specify scan_ssid=1 SSIDs

The new "scan_id=<comma separated list of network ids>" parameter can
now be used to specify a list of network ids that have scan_ssid=1 to
indicate active scanning of the SSID. This adds the listed SSIDs to the
scan command to allow manual scan requests to perform active scans for
hidden SSIDs. For example, "SCAN scan_id=1,7,11" would run a scan with
the SSID fetched from the configured network blocks 1, 7, and 11
(assuming those are set with scan_ssid=1). The SSIDs will be included
even from network blocks that are currently disabled.

The maximum number of SSIDs added to the request is limited by the
driver support. If more than supported values are specified, the command
will fail (returns "FAIL").

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/scan.c
wpa_supplicant/wpa_supplicant_i.h