All of lore.kernel.org
 help / color / mirror / Atom feed
From: Helmut Schaa <helmut.schaa@googlemail.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Emmanuel Grumbach <egrumbach@gmail.com>, linux-wireless@vger.kernel.org
Subject: Re: Aggregation problem with rt2800 AP and Intel 5100 STA
Date: Fri, 25 Mar 2011 13:55:55 +0100	[thread overview]
Message-ID: <201103251355.55824.helmut.schaa@googlemail.com> (raw)
In-Reply-To: <1301052224.3827.2.camel@jlt3.sipsolutions.net>

Am Freitag, 25. März 2011 schrieb Johannes Berg:
> On Fri, 2011-03-25 at 12:08 +0100, Helmut Schaa wrote:
> > So, if a frame failed because the STA entered PS state it will be added
> > to the filtered frames queue and no BAR will get generated.
> 
> Right. Of course, if the device could help and the driver would set
> IEEE80211_TX_STAT_TX_FILTERED this would be better since then the frames
> wouldn't even be on the air...

Yeah, unfortunately ralink devices don't seem capable of handling that
in hw/fw :(
 
> FWIW, since Intel hw uses special queues for aggregation the ucode just
> stops those queues when the station goes to sleep. Caused me some grey
> hair in fact since I had naively expected it to reject those frames too.
> 
> > However, if this was the case mac80211 should send out all filtered frames
> > after the STA wakes up again, which does not happen in the situation
> > above (3106 and 3107 got lost) :(
> 
> Yeah, that's in fact strange. Unless they timed out?

Hmm, right, maybe I should enable mac80211 PS debugging to see if frames
time out or get dropped from the buffer ...

> > Generating the BAR also for filtered frames might improve the situation but
> > looks more like a workaround to me.
> 
> Agree.
> 
> > Still debugging the rt2800 tx status reporting.
> 
> Maybe it's not reporting the right status for all frames?

So far the tx status as returned by the device look correct. I printed the
sequence numbers of failed AMPDU subframes and had a second device capturing
the traffic and compared them.

But I noticed that there still appear holes from time to time that cause the
strange Intel driver stuck problem (which is really really strange and IMHO
the driver has a problem too). And it is not necessarily PS related.

Johannes, what happens if a frame gets dropped on its way though the tx path
after getting a seqnr assigned? That would cause a hole in the sequence number
series without the chance to get a IEEE80211_TX_STAT_AMPDU_NO_BACK tx status.

Helmut

  reply	other threads:[~2011-03-25 12:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-23 22:58 Aggregation problem with rt2800 AP and Intel 5100 STA Helmut Schaa
2011-03-24  6:50 ` Emmanuel Grumbach
2011-03-24  7:36   ` Helmut Schaa
2011-03-24 13:09     ` Helmut Schaa
2011-03-24 13:19       ` Johannes Berg
2011-03-24 13:57         ` Helmut Schaa
2011-03-24 17:32           ` Johannes Berg
2011-03-24 20:38             ` Emmanuel Grumbach
2011-03-24 20:40               ` Johannes Berg
2011-03-24 20:41                 ` Johannes Berg
2011-03-24 20:48                   ` Emmanuel Grumbach
2011-03-25  8:25               ` Helmut Schaa
2011-03-25 11:08               ` Helmut Schaa
2011-03-25 11:23                 ` Johannes Berg
2011-03-25 12:55                   ` Helmut Schaa [this message]
2011-03-25 13:06                     ` Johannes Berg
2011-03-28 11:38                       ` Helmut Schaa

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=201103251355.55824.helmut.schaa@googlemail.com \
    --to=helmut.schaa@googlemail.com \
    --cc=egrumbach@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.