public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Friedrich.Beckmann@infineon.com
Cc: tomasw@gmail.com, linux-wireless@vger.kernel.org, j@w1.fi
Subject: RE: mac80211 aggregation (was: iwlwifi aggregation info)
Date: Thu, 07 Aug 2008 14:31:37 +0200	[thread overview]
Message-ID: <1218112297.23048.161.camel@johannes.berg> (raw)
In-Reply-To: <8469FC7DDCBE054D9653D8506E1FF0F001F1FE2164@mucse406.eu.infineon.com>

[-- Attachment #1: Type: text/plain, Size: 2021 bytes --]

On Thu, 2008-08-07 at 14:21 +0200, Friedrich.Beckmann@infineon.com
wrote:

> The aggregation is introduced in 802.11n and A-MPDU aggregation
> always comes together with block acknowledgement. The reason is that
> the component frames of an A-MPDU aggregate are individually subject
> to retransmission but not the aggregate itself.

Sure, but for the purpose of the discussion the actual aggregation
doesn't matter much, and the block-ack was introduced by 11e

> Block Acknowlegment allows to have a configurable number of
> outstanding packets (up to 128) which you can transmit before
> you require an acknowledgement. Therefore you also have to
> keep the packets for which you do not have already an
> acknowledgement. This is similar to TCP windows.

Sure, I can read 11e too :)

> The AC has first hand only to do with the access priority to the
> air, but as a consequence the order of packets is only guaranteed
> within each AC. So each AC needs an individual TID and as a result an
> individual sequence number counter in order to do
> the duplicate detection.

This is a bit confusing to me, I don't think each AC has a TID, rather
more than one TIDs map into a single AC.

> The atheros way is for sure possible but it comes with some constraints
> in building the aggregates.
> 
> a) You can not dynamically adapt the A-MPDU to the remaining TXOP.
> b) You need to start a retransmission process of the aggregate packets in
>    the AC queue immediatly, because otherwise you cannot release the
>    buffers.

I wouldn't be so sure about either of these, Atheros hardware has an
elaborate scheme for suppressing frames and asking software to requeue
them to the hardware at a later time. I suspect they can use it here to
adapt the A-MPDU to the TXOP and suppress the remaining MPDUs if they
need to, and tell the driver which of the aggregate packets needs to be
retried later. I suppose that would need fairly shallow DMA queues, but
that's doable.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2008-08-07 12:32 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-29 11:32 iwlwifi aggregation info Johannes Berg
2008-07-29 11:36 ` Johannes Berg
2008-07-29 12:25   ` Tomas Winkler
2008-07-29 12:27     ` Johannes Berg
2008-07-29 12:35       ` Tomas Winkler
2008-07-29 12:53         ` Johannes Berg
2008-07-29 13:04           ` Tomas Winkler
2008-07-29 13:07             ` Johannes Berg
2008-07-29 13:18               ` Tomas Winkler
2008-07-29 13:23                 ` Johannes Berg
2008-07-29 13:43                   ` Tomas Winkler
2008-07-29 13:46                     ` Johannes Berg
2008-07-29 14:06                       ` Tomas Winkler
2008-07-29 14:21                         ` Johannes Berg
2008-07-29 15:55                           ` Tomas Winkler
2008-07-30  9:53                             ` Johannes Berg
2008-07-30 11:03                               ` Friedrich.Beckmann
2008-07-30 13:19                                 ` Johannes Berg
2008-07-30 13:45                                   ` Tomas Winkler
2008-07-30 13:50                                     ` Johannes Berg
2008-07-30 13:59                                       ` Tomas Winkler
2008-07-30 15:19                                         ` Johannes Berg
2008-07-30 16:08                                           ` Tomas Winkler
2008-07-31 13:05                                             ` Johannes Berg
2008-07-31 18:14                                               ` Tomas Winkler
2008-07-31 18:23                                                 ` Johannes Berg
2008-07-31 19:16                                                   ` Tomas Winkler
2008-08-01 12:09                                                     ` Johannes Berg
2008-08-01 12:40                                                       ` Tomas Winkler
2008-08-01 12:54                                                         ` Johannes Berg
2008-08-06 21:45                                                           ` Johannes Berg
2008-08-06 22:05                                                             ` Tomas Winkler
2008-08-06 22:31                                                           ` Tomas Winkler
2008-08-07 11:13                                                             ` mac80211 aggregation (was: iwlwifi aggregation info) Johannes Berg
2008-08-07 12:21                                                               ` Friedrich.Beckmann
2008-08-07 12:31                                                                 ` Johannes Berg [this message]
2008-08-07 13:00                                                                   ` Friedrich.Beckmann
2008-07-30 12:01                               ` iwlwifi aggregation info Tomas Winkler

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=1218112297.23048.161.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=Friedrich.Beckmann@infineon.com \
    --cc=j@w1.fi \
    --cc=linux-wireless@vger.kernel.org \
    --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