aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-01 16:11:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-01 16:11:33 +0000
commit594927d205889faf413749e0a006e582c5747b1a (patch)
tree18be7763159388664d1484e3a85870e929a2759a /package
parente65b1e368e3021c61b376ad994b5deee77aa0c77 (diff)
downloadupstream-594927d205889faf413749e0a006e582c5747b1a.tar.gz
upstream-594927d205889faf413749e0a006e582c5747b1a.tar.bz2
upstream-594927d205889faf413749e0a006e582c5747b1a.zip
ath9k: merge an upstream patch that provides a minor throughput improvement on ar9003
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27339 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/300-pending_work.patch12
1 files changed, 11 insertions, 1 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index 8e78e1fba3..0900596dc9 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -347,7 +347,17 @@
}
static u32 ath_lookup_rate(struct ath_softc *sc, struct ath_buf *bf,
-@@ -2169,7 +2166,9 @@ static void ath_tx_complete_poll_work(st
+@@ -664,7 +661,8 @@ static int ath_compute_num_delims(struct
+ * TODO - this could be improved to be dependent on the rate.
+ * The hardware can keep up at lower rates, but not higher rates
+ */
+- if (fi->keyix != ATH9K_TXKEYIX_INVALID)
++ if ((fi->keyix != ATH9K_TXKEYIX_INVALID) &&
++ !(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA))
+ ndelim += ATH_AGGR_ENCRYPTDELIM;
+
+ /*
+@@ -2169,7 +2167,9 @@ static void ath_tx_complete_poll_work(st
if (needreset) {
ath_dbg(ath9k_hw_common(sc->sc_ah), ATH_DBG_RESET,
"tx hung, resetting the chip\n");