X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F551-ath9k_txq_schedule_multi.patch;fp=package%2Fmac80211%2Fpatches%2F551-ath9k_txq_schedule_multi.patch;h=5002c9bbbb9174ee036816c70438397052086501;hb=090e11142d42053215cc7985cf04f682dd106d8f;hp=0000000000000000000000000000000000000000;hpb=c4b72922ba889e50d9f75b5546743a7fdb408d34;p=openwrt-10.03%2F.git diff --git a/package/mac80211/patches/551-ath9k_txq_schedule_multi.patch b/package/mac80211/patches/551-ath9k_txq_schedule_multi.patch new file mode 100644 index 000000000..5002c9bbb --- /dev/null +++ b/package/mac80211/patches/551-ath9k_txq_schedule_multi.patch @@ -0,0 +1,29 @@ +--- a/drivers/net/wireless/ath/ath9k/xmit.c ++++ b/drivers/net/wireless/ath/ath9k/xmit.c +@@ -1224,12 +1224,14 @@ void ath_tx_cleanupq(struct ath_softc *s + void ath_txq_schedule(struct ath_softc *sc, struct ath_txq *txq) + { + struct ath_atx_ac *ac; +- struct ath_atx_tid *tid; ++ struct ath_atx_tid *tid, *last; + +- if (list_empty(&txq->axq_acq)) ++ if (list_empty(&txq->axq_acq) || ++ txq->axq_ampdu_depth >= ATH_AGGR_MIN_QDEPTH) + return; + + ac = list_first_entry(&txq->axq_acq, struct ath_atx_ac, list); ++ last = list_entry(ac->tid_q.prev, struct ath_atx_tid, list); + list_del(&ac->list); + ac->sched = false; + +@@ -1253,7 +1255,8 @@ void ath_txq_schedule(struct ath_softc * + if (!list_empty(&tid->buf_q)) + ath_tx_queue_tid(txq, tid); + +- break; ++ if (tid == last || txq->axq_ampdu_depth >= ATH_AGGR_MIN_QDEPTH) ++ break; + } while (!list_empty(&ac->tid_q)); + + if (!list_empty(&ac->tid_q)) {