wl12xx: add support for multiple SSIDs in sched_scan
authorLuciano Coelho <coelho@ti.com>
Tue, 23 Aug 2011 15:34:44 +0000 (18:34 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 25 Aug 2011 07:24:29 +0000 (10:24 +0300)
commitf952079a19c69843f4da2f7e0da008192421c6ce
tree06cbe22ff43bae74bc8bb2426df1387bb1384ce5
parent05dba3550603b9dc8609b5ea7c3ffba4e3bb97f2
wl12xx: add support for multiple SSIDs in sched_scan

The wl12xx firmwares support multiple SSIDs in a single sched_scan
run.  This patch implements support for it.

We use three different types os sched_scan: FILTER_ANY (ie. not
filtering, only wildcard SSID in the probe_reqs); FILTER_LIST (ie. send out
probe_reqs with the specified SSIDs and only report if they are
found); and FILTER_DISABLED (ie. send out probe_reqs with the
specified SSIDs, but report anything found).

Since we still don't have proper filter support in nl80211/cfg80211
yet, we cannot use filters when the wildcard SSID is used.  Thus, we
will not filter anything if the wildcard SSID is specified.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/scan.c