linux/drivers/net/wireless/ath
Lorenzo Bianconi 7540184942 ath9k: fix an issue in ath_atx_tid paused flag management
I noticed a possible issue in the paused flag management of the
ath_atx_tid data structure. In particular, in a noisy environment and
under heavy load, I observed that the AGGR session establishment could
fail several times consecutively causing values of the paused flag
greater than one for this TID (ath_tx_pause_tid is called more than
once from ath_tx_aggr_start).

Considering that the session for this TID can not be established also
after the mac80211 stack calls the ieee80211_agg_tx_operational() since
the ath_tx_aggr_resume() lowers the paused flag only by one.

This patch also replaces some BUG_ON calls with WARN_ON, as even if
these unlikely conditions happen, it's not fatal enough to justify a
BUG_ON.

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-08-04 15:27:38 -04:00
..
ar9170 ar9170: add get_survey callback in order to get channel noise 2010-07-29 12:46:47 -04:00
ath5k ath5k: snprintf() returns largish values 2010-07-26 15:32:41 -04:00
ath9k ath9k: fix an issue in ath_atx_tid paused flag management 2010-08-04 15:27:38 -04:00
ath.h ath: Add buffered register write operations 2010-04-16 15:47:04 -04:00
debug.c atheros: add common debug printing 2009-10-07 16:39:29 -04:00
debug.h ath9k_htc: Support for AR9271 chipset. 2010-03-23 16:50:17 -04:00
hw.c Net: wireless: ath: fix macros coding style issue in hw.c 2010-04-06 16:51:04 -04:00
Kconfig ath9k_htc: Support for AR9271 chipset. 2010-03-23 16:50:17 -04:00
main.c
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 drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
regd.h ath: Updates for regulatory and country codes. 2009-10-27 16:50:04 -04:00