aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/572-ath9k_fix_tx_retry.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-25 18:34:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-09-25 18:34:54 +0000
commit2f21dedbbbc1539c6f03d8b9bc981e304aacfa07 (patch)
treea3c7f9625a15c3534d2a2da6f7460c1799c0ddc9 /package/mac80211/patches/572-ath9k_fix_tx_retry.patch
parent81fc839266035bd3f1b5d2404d1d61587b34ab8e (diff)
downloadupstream-2f21dedbbbc1539c6f03d8b9bc981e304aacfa07.tar.gz
upstream-2f21dedbbbc1539c6f03d8b9bc981e304aacfa07.tar.bz2
upstream-2f21dedbbbc1539c6f03d8b9bc981e304aacfa07.zip
ath9k: fix some tx aggregation issues - reduces the number of tx dma stop failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28301 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/572-ath9k_fix_tx_retry.patch')
-rw-r--r--package/mac80211/patches/572-ath9k_fix_tx_retry.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/572-ath9k_fix_tx_retry.patch b/package/mac80211/patches/572-ath9k_fix_tx_retry.patch
new file mode 100644
index 0000000000..755c3286e5
--- /dev/null
+++ b/package/mac80211/patches/572-ath9k_fix_tx_retry.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/ath/ath9k/xmit.c
++++ b/drivers/net/wireless/ath/ath9k/xmit.c
+@@ -484,7 +484,7 @@ static void ath_tx_complete_aggr(struct
+ */
+ txfail = 1;
+ } else if (fi->retries < ATH_MAX_SW_RETRIES) {
+- if (!(ts->ts_status & ATH9K_TXERR_FILT) ||
++ if (!(ts->ts_status & ATH9K_TXERR_FILT) &&
+ !an->sleeping)
+ ath_tx_set_retry(sc, txq, bf->bf_mpdu,
+ retries);