wlcore: increase scan dwell times if no activity
authorEyal Shapira <eyal@wizery.com>
Sat, 8 Dec 2012 00:58:23 +0000 (02:58 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Dec 2012 08:25:39 +0000 (10:25 +0200)
commit5d3a160365306c4161b7064d482c26a85829f170
treea75e43ac714c63d23e0f36edb030138155fdfa48
parentf4d02007cdd56c59bdb9362c699875cb2d02c0fe
wlcore: increase scan dwell times if no activity

There's a limit on scan dwell times of max 30ms in order
to avoid degrading voip traffic which could be going on
while scanning. However these dwell times increase the
chance of missing out on nearby APs leading to partial
scan results. Allow configuration of longer dwell times
in case there no active interface (i.e. no STA associated
or AP up).

[Arik - count started vifs using an in-driver function]

[Fixed some new checkpatch warnings regarding comments in the
networking subsystem. -- Luca]

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl12xx/main.c
drivers/net/wireless/ti/wl18xx/main.c
drivers/net/wireless/ti/wlcore/conf.h
drivers/net/wireless/ti/wlcore/scan.c