linux/drivers/net/wireless/iwlwifi/dvm
Johannes Berg b3a6d2e0e7 iwlwifi: limit dwell time more strictly
The dwell time for scanning is currently limited
so that it fits into the timings inside the ucode
when that is tracking DTIM/beacon periods for the
AP(s) it's connected to.

However, when it's connected to two APs, those
may be in lockstep, for example if they both have
a DTIM interval of 100 TU, then one could be 50
TU after the other, leaving only 50 TU free to
be used by scanning.

Since we can't know how far apart they are the
only option is to restrict to 1/2 of the minium
of the two APs.

In theory, it would be possible to not use 1/2 of
the minimum but take into account that if they
have different intervals then there will be a bit
more time since they can't be in lockstep, but as
they will have 100 TU intervals in practice that
complex calculation will probably just result in
hard-to-find bugs.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2012-06-25 14:53:43 +02:00
..
agn.h iwlwifi: increase scan timeout 2012-06-21 10:01:38 +02:00
calib.c
calib.h
commands.h iwlwifi: configure the queues from the op_mode 2012-06-25 09:37:58 +02:00
debugfs.c
dev.h iwlwifi: configure the queues from the op_mode 2012-06-25 09:37:58 +02:00
devices.c iwlwifi: disable early power Off reset for all NICs 2012-06-18 13:47:06 +02:00
led.c
led.h
lib.c iwlwifi: remove sku field from hw_params 2012-06-20 08:42:21 +02:00
mac80211.c iwlwifi: limit mac_change_interface to BSS context 2012-06-21 10:01:43 +02:00
main.c iwlwifi: configure the queues from the op_mode 2012-06-25 09:37:58 +02:00
Makefile
power.c
power.h
rs.c
rs.h
rx.c
rxon.c
scan.c iwlwifi: limit dwell time more strictly 2012-06-25 14:53:43 +02:00
sta.c
testmode.c
tt.c
tt.h
tx.c iwlwifi: WARN only once when we have trouble in reclaim 2012-06-13 09:02:09 +02:00
ucode.c iwlwifi: configure the queues from the op_mode 2012-06-25 09:37:58 +02:00