wlcore: add probe request templates for sched and one-shot scans
authorYoni Divinsky <yoni.divinsky@ti.com>
Wed, 27 Jun 2012 10:01:44 +0000 (13:01 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Jul 2012 16:10:13 +0000 (12:10 -0400)
commit3df74f46d88e39a032eb2cc3f2a571b66082acba
treed560ff361fe7b009ebfdcc24d34cbe3378869ac2
parentb034fd6f4fa272569324bb3f29af5ca7cf1e23c3
wlcore: add probe request templates for sched and one-shot scans

The driver configures the firmware template for probe requests during
the scan process.  If the same template is used for one-shot and sched
scans they will override each other when running scans simultaneously.

This fix works only on firmwares later than X.3.9.2.112 for single
role and X.3.9.2.23 for multi-role.

[Some cleaning-up and renaming of the quirk to something smaller --
Luca.]

Signed-off-by: Yoni Divinsky <yoni.divinsky@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl12xx/main.c
drivers/net/wireless/ti/wlcore/cmd.c
drivers/net/wireless/ti/wlcore/cmd.h
drivers/net/wireless/ti/wlcore/init.c
drivers/net/wireless/ti/wlcore/scan.c
drivers/net/wireless/ti/wlcore/wlcore.h