From patchwork Tue Nov 23 23:05:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Rodriguez X-Patchwork-Id: 351151 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oANN5CrU017533 for ; Tue, 23 Nov 2010 23:05:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753824Ab0KWXFJ (ORCPT ); Tue, 23 Nov 2010 18:05:09 -0500 Received: from mail.atheros.com ([12.19.149.2]:19455 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752722Ab0KWXFI (ORCPT ); Tue, 23 Nov 2010 18:05:08 -0500 Received: from mail.atheros.com ([10.10.20.108]) by sidewinder.atheros.com for ; Tue, 23 Nov 2010 15:04:54 -0800 Received: from tux (10.10.11.84) by SC1EXHC-02.global.atheros.com (10.10.20.106) with Microsoft SMTP Server (TLS) id 8.2.213.0; Tue, 23 Nov 2010 15:05:06 -0800 Received: by tux (sSMTP sendmail emulation); Tue, 23 Nov 2010 15:05:05 -0800 From: "Luis R. Rodriguez" To: CC: , "Luis R. Rodriguez" , Felix Fietkau , Matt Smith , Senthil Balasubramanian Subject: [PATCH v3 2/2] mac80211: avoid aggregation for VO traffic Date: Tue, 23 Nov 2010 15:05:02 -0800 Message-ID: <1290553502-13199-2-git-send-email-lrodriguez@atheros.com> X-Mailer: git-send-email 1.7.3.2.90.gd4c43 In-Reply-To: <1290553502-13199-1-git-send-email-lrodriguez@atheros.com> References: <1290553502-13199-1-git-send-email-lrodriguez@atheros.com> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 23 Nov 2010 23:05:12 +0000 (UTC) diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c index 2d6f025..4ad7a36 100644 --- a/net/mac80211/rc80211_minstrel_ht.c +++ b/net/mac80211/rc80211_minstrel_ht.c @@ -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); }