android_kernel_motorola_sm6225/drivers/net/wireless/iwlwifi
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
..
dvm iwlwifi: limit dwell time more strictly 2012-06-25 14:53:43 +02:00
pcie iwlwifi: configure the queues from the op_mode 2012-06-25 09:37:58 +02:00
iwl-agn-hw.h iwlwifi: move OTP defines 2012-04-23 14:30:01 -07:00
iwl-config.h iwlwifi: fix typo 'IWL_WATCHHDOG_DISABLED' 2012-06-06 13:24:36 +02:00
iwl-csr.h iwlwifi: configure the SKU in the HW 2012-06-06 13:22:30 +02:00
iwl-debug.c iwlwifi: implement dynamic opmode loading 2012-06-05 15:32:13 -04:00
iwl-debug.h iwlwifi: refactor EEPROM reading/parsing 2012-06-06 13:24:19 +02:00
iwl-devtrace.c iwlwifi: implement dynamic opmode loading 2012-06-05 15:32:13 -04:00
iwl-devtrace.h iwlwifi: use __get_str in tracing 2012-06-25 09:38:34 +02:00
iwl-drv.c iwlwifi: use request_module instead of _nowait 2012-06-13 09:02:03 +02:00
iwl-drv.h iwlwifi: move driver defines to iwl-drv.h 2012-04-23 14:29:02 -07:00
iwl-eeprom-parse.c iwlwifi: fix 11n_disable EEPROM refactoring regression 2012-06-20 08:41:26 +02:00
iwl-eeprom-parse.h iwlwifi: refactor EEPROM reading/parsing 2012-06-06 13:24:19 +02:00
iwl-eeprom-read.c iwlwifi: refactor EEPROM reading/parsing 2012-06-06 13:24:19 +02:00
iwl-eeprom-read.h iwlwifi: refactor EEPROM reading/parsing 2012-06-06 13:24:19 +02:00
iwl-fh.h iwlwifi: print more info when a queue is stuck 2012-06-13 09:01:02 +02:00
iwl-fw-file.h iwlwifi: remove uCode alternatives mechanism 2012-04-16 14:34:44 -07:00
iwl-fw.h iwlwifi: include net/mac80211.h to avoid compiler error 2012-04-23 14:21:53 -07:00
iwl-io.c iwlwifi: iwl_{read,write}_targ_mem_words takes dwords 2012-06-13 09:01:01 +02:00
iwl-io.h iwlwifi: iwl_{read,write}_targ_mem_words takes dwords 2012-06-13 09:01:01 +02:00
iwl-modparams.h iwlwifi: remove the iwl_shared reference 2012-05-08 21:53:44 -04:00
iwl-notif-wait.c iwlwifi: don't disable interrupt in iwl_abort_notification_waits 2012-06-18 10:46:37 +02:00
iwl-notif-wait.h iwlwifi: extend notification wait 2012-04-09 16:37:15 -04:00
iwl-op-mode.h iwlwifi: comment context requirements of the op_mode 2012-06-18 10:46:17 +02:00
iwl-prph.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2012-06-12 14:11:13 -04:00
iwl-test.c iwlwifi: iwl_{read,write}_targ_mem_words takes dwords 2012-06-13 09:01:01 +02:00
iwl-test.h iwlwifi: decouple testmode and iwl-test 2012-06-11 11:41:18 +02:00
iwl-testmode.h iwlwifi: refactor testmode 2012-06-11 11:37:21 +02:00
iwl-trans.h iwlwifi: configure the queues from the op_mode 2012-06-25 09:37:58 +02:00
Kconfig iwlwifi: implement dynamic opmode loading 2012-06-05 15:32:13 -04:00
Makefile iwlwifi: Fix Makefile build order for built-in driver 2012-06-13 09:01:05 +02:00