From: Johannes Berg <johannes@sipsolutions.net>
To: "Luis R. Rodriguez" <lrodriguez@atheros.com>
Cc: <linux-wireless@vger.kernel.org>,
Matt Smith <matt.smith@atheros.com>,
Senthil Balasubramanian <senthilkumar@atheros.com>
Subject: Re: [RFC] mac80211: disable aggregatin for voice traffic
Date: Fri, 19 Nov 2010 02:21:24 +0100 [thread overview]
Message-ID: <8e66f390eb4591841e22b8f5f2188e5d@localhost> (raw)
In-Reply-To: <1290129534-21785-1-git-send-email-lrodriguez@atheros.com>
On Thu, 18 Nov 2010 17:18:54 -0800, "Luis R. Rodriguez"
<lrodriguez@atheros.com> wrote:
> This should help with latency issues which can happen when
> using aggregation.
>
> Cc: Matt Smith <matt.smith@atheros.com>
> Cc: Senthil Balasubramanian <senthilkumar@atheros.com>
> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
> ---
>
> We discussed this a while ago but never to around to it.
>
> net/mac80211/tx.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
> index e694836..405ddc9 100644
> --- a/net/mac80211/tx.c
> +++ b/net/mac80211/tx.c
> @@ -1225,7 +1225,8 @@ ieee80211_tx_prepare(struct ieee80211_sub_if_data
> *sdata,
> tx->sta = sta_info_get(sdata, hdr->addr1);
>
> if (tx->sta && ieee80211_is_data_qos(hdr->frame_control) &&
> - (local->hw.flags & IEEE80211_HW_AMPDU_AGGREGATION)) {
> + (local->hw.flags & IEEE80211_HW_AMPDU_AGGREGATION) &&
> + (ieee802_1d_to_ac[skb->priority] != IEEE80211_AC_VO)) {
wtf? total NACK. You're setting up an aggregation session and then not
using it? That's totally deluded ... just don't set up the session!!
johannes
next prev parent reply other threads:[~2010-11-19 1:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-19 1:18 [RFC] mac80211: disable aggregatin for voice traffic Luis R. Rodriguez
2010-11-19 1:21 ` Johannes Berg [this message]
2010-11-19 1:23 ` Luis R. Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8e66f390eb4591841e22b8f5f2188e5d@localhost \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=lrodriguez@atheros.com \
--cc=matt.smith@atheros.com \
--cc=senthilkumar@atheros.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox