android_kernel_xiaomi_sdm845/drivers/net/wireless/ath
Jouni Malinen f0214843ba ath9k: Fix PCI FATAL interrupts by restoring RETRY_TIMEOUT disabling
An earlier commit, 'ath9k: remove dummy PCI "retry timeout" fix', removed
code that was documented to disable RETRY_TIMEOUT register (PCI reg
0x41) since it was claimed to be a no-op. However, it turns out that
there are some combinations of hosts and ath9k-supported cards for
which this is not a no-op (reg 0x41 has value 0x80, not 0) and this
code (or something similar) is needed. In such cases, the driver may
be next to unusable due to very frequent PCI FATAL interrupts from the
card.

Reverting the earlier commit, i.e., restoring the RETRY_TIMEOUT
disabling, seems to resolve the issue. Since the removal of this code
was not based on any known issue and was purely a cleanup change, the
safest option here is to just revert that commit. Should there be
desire to clean this up in the future, the change will need to be
tested with a more complete coverage of cards and host systems.

http://bugzilla.kernel.org/show_bug.cgi?id=13483

Cc: stable@kernel.org
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-06-19 11:50:17 -04:00
..
ar9170 ar9170: xmit code revamp 2009-06-10 13:27:54 -04:00
ath5k ath5k: fix mesh beaconing 2009-06-15 15:05:53 -04:00
ath9k ath9k: Fix PCI FATAL interrupts by restoring RETRY_TIMEOUT disabling 2009-06-19 11:50:17 -04:00
Kconfig atheros: put atheros wireless drivers into ath/ 2009-04-22 16:54:38 -04:00
main.c ath: add module information 2009-04-22 16:54:47 -04:00
Makefile ath: add module information 2009-04-22 16:54:47 -04:00
regd_common.h
regd.c ath: make regulatory parsing more verbose on debug 2009-06-03 14:06:15 -04:00
regd.h cfg80211: clean up includes 2009-04-22 16:57:17 -04:00