]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mac80211: avoid aggregation for VO traffic
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 23 Nov 2010 23:05:02 +0000 (15:05 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Nov 2010 21:19:36 +0000 (16:19 -0500)
This should help with latency issues which can happen when
using aggregation.

Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Matt Smith <matt.smith@atheros.com>
Cc: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rc80211_minstrel_ht.c

index 2d6f0259e0c694e5b18a76401519f447f1885e78..4ad7a362fcc159aa29bea2e4747476009cdd2a41 100644 (file)
@@ -371,6 +371,9 @@ minstrel_aggr_check(struct minstrel_priv *mp, struct ieee80211_sta *pubsta, stru
        if (likely(sta->ampdu_mlme.tid_tx[tid]))
                return;
 
+       if (skb_get_queue_mapping(skb) == IEEE80211_AC_VO)
+               return;
+
        ieee80211_start_tx_ba_session(pubsta, tid);
 }