]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: adaptive sched scan dwell times
authorEyal Shapira <eyal@wizery.com>
Mon, 19 Mar 2012 10:06:28 +0000 (12:06 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 10 Apr 2012 09:47:24 +0000 (12:47 +0300)
commit468b7fce2a4b73c270f2b7f7cf67e9237606d36c
tree5180a881af3ad918e9989176b1bf4d8a1cd20aa3
parent87b9e005269baee0d387ca2931cf3e838b063af5
wl12xx: adaptive sched scan dwell times

Set the dwell times for sched scan according to the number
of probe requests which are going to be transmitted.
This should fix the too short dwell time problem which
prevented some of the probe requests from being transmitted
in cases of high number of SSIDs (10+) to be actively sched scanned.
However, in the common case of having up to 1-2 SSIDs that
require active scan, the dwell time would be kept to a minimum
which should conserve power. This is important as sched scan
also runs periodically while the host is suspended and there's
great importance to keep power consumption as low as possible.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
[fixed a couple of new strict checkpatch warnings]
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/conf.h
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/scan.c