kernel-ark/drivers/net/wireless/ath
Felix Fietkau d8728ee919 ath9k: fix beacon timer restart after a card reset
In AP mode, ath_beacon_config_ap only restarts the timer if a TSF
restart is requested. Apparently this was added, because this function
unconditionally sets the flag for TSF reset.

The problem with this is, that ath9k_hw_reset() clobbers the timer
registers (specified in the initvals), thus effectively disabling the
SWBA interrupt whenever a card reset without TSF reset is issued
(happens in a few places in the code).

This patch fixes ath_beacon_config_ap to only issue the TSF reset flag
when necessary, but reinitialize the timer unconditionally. Tests show,
that this is enough to keep the SWBA interrupt going after a call to
ath_reset()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-02-19 15:52:50 -05:00
..
ar9170 ar9170: remove get_tx_stats() mac80211 op 2010-02-08 16:50:59 -05:00
ath5k ath5k: use correct packet type when transmitting 2010-02-10 16:15:22 -05:00
ath9k ath9k: fix beacon timer restart after a card reset 2010-02-19 15:52:50 -05:00
ath.h ath9k: fix access to freed data on unload 2010-02-01 15:40:09 -05:00
debug.c atheros: add common debug printing 2009-10-07 16:39:29 -04:00
debug.h ath: make gcc check format arguments of ath_print(), fix all misuses 2010-02-01 15:40:04 -05:00
hw.c atheros: define shared bssidmask setting 2009-10-07 16:39:28 -04:00
Kconfig wireless: remove WLAN_80211 and WLAN_PRE80211 from Kconfig 2009-10-30 16:50:35 -04:00
main.c ath: add common ath_rxbuf_alloc() and make ath9k use it 2009-08-14 09:14:05 -04:00
Makefile ath9k: move hw code to its own module 2009-10-07 16:39:41 -04:00
reg.h atheros: define shared bssidmask setting 2009-10-07 16:39:28 -04:00
regd_common.h ath: Updates for regulatory and country codes. 2009-10-27 16:50:04 -04:00
regd.c ath: fix WARN_ON with Polish (Poland) Contry code 2010-02-08 16:51:02 -05:00
regd.h ath: Updates for regulatory and country codes. 2009-10-27 16:50:04 -04:00