From b379ca96bac437a7f331bd6a62486ca8a70bb9b5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 29 Aug 2012 08:16:34 +0000 Subject: [PATCH] ath9k: add fix to improve reliability of powersave clients git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33290 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/patches/300-pending_work.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch index 34a0ceca42..5cdf05c9af 100644 --- a/package/mac80211/patches/300-pending_work.patch +++ b/package/mac80211/patches/300-pending_work.patch @@ -3486,6 +3486,15 @@ /*********************/ /* Aggregation logic */ /*********************/ +@@ -593,7 +568,7 @@ static void ath_tx_complete_aggr(struct + if (!an->sleeping) { + ath_tx_queue_tid(txq, tid); + +- if (ts->ts_status & ATH9K_TXERR_FILT) ++ if (ts->ts_status & (ATH9K_TXERR_FILT | ATH9K_TXERR_XRETRY)) + tid->ac->clear_ps_filter = true; + } + } @@ -614,10 +589,8 @@ static void ath_tx_complete_aggr(struct rcu_read_unlock();