From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Luis Rodriguez <Luis.Rodriguez@Atheros.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
Matt Smith <Matt.Smith@Atheros.com>,
Senthilkumar Balasubramanian
<Senthilkumar.Balasubramanian@Atheros.com>
Subject: Re: [RFC] mac80211: disable aggregatin for voice traffic
Date: Thu, 18 Nov 2010 17:23:52 -0800 [thread overview]
Message-ID: <20101119012352.GN3426@tux> (raw)
In-Reply-To: <8e66f390eb4591841e22b8f5f2188e5d@localhost>
On Thu, Nov 18, 2010 at 05:21:24PM -0800, Johannes Berg wrote:
> 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!!
:) thanks for the kind review.
Luis
prev parent reply other threads:[~2010-11-19 1:23 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
2010-11-19 1:23 ` Luis R. Rodriguez [this message]
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=20101119012352.GN3426@tux \
--to=lrodriguez@atheros.com \
--cc=Luis.Rodriguez@Atheros.com \
--cc=Matt.Smith@Atheros.com \
--cc=Senthilkumar.Balasubramanian@Atheros.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).