linux/drivers/net/wireless/ath/ath9k
Felix Fietkau 4fdec031b9 ath9k: fix BUG_ON triggered by PAE frames
When I initially stumbled upon sequence number problems with PAE frames
in ath9k, I submitted a patch to remove all special cases for PAE
frames and let them go through the normal transmit path.
Out of concern about crypto incompatibility issues, this change was
merged instead:

commit 6c8afef551
Author: Sujith <Sujith.Manoharan@atheros.com>
Date:   Tue Feb 9 10:07:00 2010 +0530

    ath9k: Fix sequence numbers for PAE frames

After a lot of testing, I'm able to reliably trigger a driver crash on
rekeying with current versions with this change in place.
It seems that the driver does not support sending out regular MPDUs with
the same TID while an A-MPDU session is active.
This leads to duplicate entries in the TID Tx buffer, which hits the
following BUG_ON in ath_tx_addto_baw():

    index  = ATH_BA_INDEX(tid->seq_start, bf->bf_seqno);
    cindex = (tid->baw_head + index) & (ATH_TID_MAX_BUFS - 1);

    BUG_ON(tid->tx_buf[cindex] != NULL);

I believe until we actually have a reproducible case of an
incompatibility with another AP using no PAE special cases, we should
simply get rid of this mess.

This patch completely fixes my crash issues in STA mode and makes it
stay connected without throughput drops or connectivity issues even
when the AP is configured to a very short group rekey interval.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-03-16 15:20:41 -04:00
..
ahb.c ath9k: fix access to freed data on unload 2010-02-01 15:40:09 -05:00
ani.c
ani.h
ath9k.h ath9k: Enable TIM timer interrupt only when needed. 2010-02-08 16:50:54 -05:00
beacon.c ath9k: fix beacon timer restart after a card reset 2010-02-19 15:52:50 -05:00
btcoex.c
btcoex.h ath9k: Fix wifi disconnection when collocated bt scan is active 2010-01-22 16:11:32 -05:00
calib.c
calib.h
common.c
common.h
debug.c ath9k: allocate string buffer in read_file_dma() by kmalloc() 2010-02-01 15:40:04 -05:00
debug.h ath9k: Add debugfs file for RX errors 2010-01-12 14:02:06 -05:00
eeprom.c
eeprom.h
eeprom_4k.c
eeprom_9287.c
eeprom_def.c
gpio.c ath9k: Fix wifi disconnection when collocated bt scan is active 2010-01-22 16:11:32 -05:00
hw.c ath9k: disable RIFS search for AR91xx based chips 2010-02-26 16:59:11 -05:00
hw.h ath9k: add support for 802.11n bonded out AR2427 2010-02-02 16:03:42 -05:00
init.c ath9k: Enable IEEE80211_HW_REPORTS_TX_ACK_STATUS flag for ath9k. 2010-02-09 14:10:05 -05:00
initvals.h
Kconfig
mac.c
mac.h ath9k: Add debugfs file for RX errors 2010-01-12 14:02:06 -05:00
main.c ath9k: convert to new station add/remove callbacks 2010-02-19 15:52:52 -05:00
Makefile ath9k: Add new file init.c 2010-01-12 14:02:05 -05:00
pci.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-04 08:58:14 -08:00
phy.c
phy.h ath9k: disable RIFS search for AR91xx based chips 2010-02-26 16:59:11 -05:00
rc.c mac80211: Fix HT rate control configuration 2010-03-03 15:39:21 -05:00
rc.h
recv.c ath: make gcc check format arguments of ath_print(), fix all misuses 2010-02-01 15:40:04 -05:00
reg.h ath9k: Fix wifi disconnection when collocated bt scan is active 2010-01-22 16:11:32 -05:00
virtual.c ath9k: Cleanup init/deinit routines 2010-01-12 14:02:05 -05:00
xmit.c ath9k: fix BUG_ON triggered by PAE frames 2010-03-16 15:20:41 -04:00