From: Johannes Berg <johannes@sipsolutions.net>
To: Tomas Winkler <tomasw@gmail.com>
Cc: Sujith <m.sujith@gmail.com>,
Sujith <Sujith.Manoharan@atheros.com>,
"linville@tuxdriver.com" <linville@tuxdriver.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
Luis Rodriguez <Luis.Rodriguez@atheros.com>
Subject: Re: [RFC] mac80211: Re-enable aggregation
Date: Wed, 22 Oct 2008 19:22:50 +0200 [thread overview]
Message-ID: <1224696170.30459.12.camel@johannes.berg> (raw)
In-Reply-To: <1ba2fa240810220459m1dcffd24k58cf6b72c688913c@mail.gmail.com> (sfid-20081022_135935_328975_B533AAA0)
[-- Attachment #1: Type: text/plain, Size: 2311 bytes --]
On Wed, 2008-10-22 at 13:59 +0200, Tomas Winkler wrote:
> It answers BA i n RX path and interpret BA in TX Scheduling
> retransmission of not acked frames is done in HW (not firmware) no
> need to requeue them. In corner case when retries are exhausted BA
> request is issued from mac80211 to advance RX side window.
Ok, but if we do both of that in mac80211, it wouldn't really matter
since we never see the relevant frames, right? Or we can add a flag to
ignore them.
> > Like I said, from what I can tell bcom is really similar, and I'd like
> > to not have to re-implement all this first. mac80211 used to have a more
> > push-model, which we've deviated from with the HT stuff you did, but for
> > most hardware the push-model is still appropriate, so imho we should try
> > to go to one even with HT and then see.
>
> Works for me. What I stumble upon is retransmission from within TX
> response path
> how this go together with context of regular TX path. Even in iwlwifi
> we need to be able to kick/start the internal aggregation queue?
Yeah, this is something we definitely need to work out. We haven't even
managed to decide yet how aggregated packets are given to the driver :)
I think for atheros and bcom a model where mac80211 decides pretty much
everything and hands the driver a list of skbs to aggregate would work
best, but then I think that wouldn't work with your hw at all.
> > We've since reworked rate
> > control to be able to cope with HT too, so mac80211 can have much more
> > information about what's going on and should be able to make many of the
> > necessary decisions.
>
> What to remind that iwl-agn-rs update rates scale out of band meaning
> TX packet doesn't bear the rate scale information. The reasoning
> behind is that appropriate rate is picked up when packet is ready to
> go on the air and not when it's somewhere deep in the queue.
> Otherwise it's regular multiretry algorithm.
Well, yeah, but the best thing we can do if we don't do it in firmware
is actually determining it at the point we stick the packet into the
queue. I wouldn't mind moving all iwl-agn rate scaling into the driver
and telling mac80211 that it doesn't need rate scaling, but I'm not
quite sure how this affects aggregation?
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2008-10-22 17:23 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-20 8:22 [RFC] mac80211: Re-enable aggregation Sujith
2008-10-20 8:31 ` Johannes Berg
2008-10-20 8:35 ` Luis R. Rodriguez
2008-10-20 8:45 ` Johannes Berg
2008-10-20 8:47 ` Sujith
2008-10-20 8:55 ` Luis R. Rodriguez
2008-10-20 8:57 ` Johannes Berg
2008-10-20 9:01 ` Luis R. Rodriguez
2008-10-20 9:04 ` Johannes Berg
2008-10-20 9:05 ` Luis R. Rodriguez
2008-10-20 9:11 ` Sujith
2008-10-20 8:57 ` Luis R. Rodriguez
2008-10-20 8:58 ` Sujith
2008-10-20 9:12 ` Johannes Berg
2008-10-20 9:31 ` Sujith
2008-10-20 9:38 ` Johannes Berg
2008-10-20 10:35 ` Sujith
2008-10-20 12:22 ` Johannes Berg
2008-10-20 18:03 ` Sujith
2008-10-20 21:46 ` Tomas Winkler
2008-10-21 6:46 ` Johannes Berg
2008-10-21 7:18 ` Sujith
2008-10-22 10:03 ` Johannes Berg
2008-10-22 11:59 ` Tomas Winkler
2008-10-22 17:22 ` Johannes Berg [this message]
2008-10-23 8:57 ` Sujith
2008-10-23 14:46 ` Johannes Berg
2008-10-27 14:25 ` Sujith
2008-10-27 15:04 ` Johannes Berg
2008-10-27 15:56 ` Tomas Winkler
2008-10-27 16:04 ` Johannes Berg
2008-10-28 14:24 ` Tomas Winkler
2008-10-22 10:00 ` Johannes Berg
2008-10-22 11:41 ` Tomas Winkler
2008-10-22 17:24 ` Johannes Berg
2008-10-23 9:31 ` Sujith
2008-10-23 14:45 ` Johannes Berg
2008-10-23 17:23 ` Luis R. Rodriguez
2008-10-23 18:31 ` Tomas Winkler
2008-10-23 20:18 ` Luis R. Rodriguez
2008-10-23 21:17 ` Tomas Winkler
2008-10-31 1:26 ` Luis R. Rodriguez
2008-10-27 14:11 ` Sujith
2008-10-27 15:07 ` Johannes Berg
2008-10-20 9:14 ` Luis R. Rodriguez
2008-10-20 9:24 ` Johannes Berg
2008-10-20 10:07 ` Sujith
2008-10-20 10:15 ` Johannes Berg
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=1224696170.30459.12.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=Luis.Rodriguez@atheros.com \
--cc=Sujith.Manoharan@atheros.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=m.sujith@gmail.com \
--cc=tomasw@gmail.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