From patchwork Tue Nov 23 01:23: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: 348721 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 oAN1NDrL014757 for ; Tue, 23 Nov 2010 01:23:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932443Ab0KWBXL (ORCPT ); Mon, 22 Nov 2010 20:23:11 -0500 Received: from mail.atheros.com ([12.19.149.2]:60495 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932440Ab0KWBXK (ORCPT ); Mon, 22 Nov 2010 20:23:10 -0500 Received: from mail.atheros.com ([10.10.20.105]) by sidewinder.atheros.com for ; Mon, 22 Nov 2010 17:22:57 -0800 Received: from tux (10.10.11.69) by SC1EXHC-01.global.atheros.com (10.10.20.111) with Microsoft SMTP Server (TLS) id 8.2.213.0; Mon, 22 Nov 2010 17:23:08 -0800 Received: by tux (sSMTP sendmail emulation); Mon, 22 Nov 2010 17:23:07 -0800 From: "Luis R. Rodriguez" To: CC: , "Luis R. Rodriguez" , Matt Smith , Senthil Balasubramanian Subject: [PATCH 2/3] ath9k: avoid aggregation for VO traffic Date: Mon, 22 Nov 2010 17:23:02 -0800 Message-ID: <1290475383-26911-2-git-send-email-lrodriguez@atheros.com> X-Mailer: git-send-email 1.7.3.2.90.gd4c43 In-Reply-To: <1290475383-26911-1-git-send-email-lrodriguez@atheros.com> References: <1290475383-26911-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 01:23:13 +0000 (UTC) diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c index 33bb33b..f1c1a93 100644 --- a/drivers/net/wireless/ath/ath9k/rc.c +++ b/drivers/net/wireless/ath/ath9k/rc.c @@ -1363,7 +1363,8 @@ static void ath_tx_status(void *priv, struct ieee80211_supported_band *sband, /* Check if aggregation has to be enabled for this tid */ if (conf_is_ht(&sc->hw->conf) && !(skb->protocol == cpu_to_be16(ETH_P_PAE))) { - if (ieee80211_is_data_qos(fc)) { + if (ieee80211_is_data_qos(fc) && + (ieee802_1d_to_ac[skb->priority] != IEEE80211_AC_VO)) { u8 *qc, tid; struct ath_node *an;