linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Aggregation problem with rt2800 AP and Intel 5100 STA
@ 2011-03-23 22:58 Helmut Schaa
  2011-03-24  6:50 ` Emmanuel Grumbach
  0 siblings, 1 reply; 17+ messages in thread
From: Helmut Schaa @ 2011-03-23 22:58 UTC (permalink / raw)
  To: users; +Cc: Jay Hung, Eddy Tsai, linux-wireless

Hi,

[CC'ing Jay and Eddy as they might be able to answer some questions
 regarding 11n aggregation on rt2800 devices]

I'm using rt2800pci as AP. 11n aggregation works just fine when using a
Intel 5100 client and transferring data in both directions on Linux. Also
my Intel 4965 works just fine.

However, using Windows Vita on the same machine (Intel 5100) the Intel
RX reorder buffer seems to get confused. At least I can see (I can also
provide a pcap if anyone is interested) that the Intel STA still BlockAcks
received AMPDUs but the frames never make it out of the driver. It seems
as if they are stuck in the Intel driver/firmware (Windows).

I first thought this might be due to an old windows driver but even after
updating it to the newest version I can still reproduce this issue.

After debugging some more I noticed that this issue seems to appear as
soon as some parts (or maybe all parts) of an AMPDU (rt2800pci -> Intel 5100
Windows STA) are not BlockAcked and need to be retried. However, as far as I
can see the whole aggregation stuff including retransmissions on failures
should be handled entirely in hardware (only the BA session setup/teardown is
done by the driver/mac80211).

According to 802.11n-2009 the BA originator could send a BlockAckReq if 
an AMPDU is not BlockAcked in time. However, I never see the hw sending a
BlockAckReq.

Jay, Eddy, does the hw ever send a BlockAckReq if it doesn't receive a
BlockAck for an AMPDU?

At least, I hacked rt2x00 to set IEEE80211_TX_STAT_AMPDU_NO_BACK for failed
aggregated frames such that mac80211 sends a BlockAckReq for this failed MPDU
and this indeed seems to improve the situation but doesn't fix it completely.

Anything else I could try? Any ideas?

Thanks,
Helmut

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-03-28 11:40 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-03-25 13:06                     ` Johannes Berg
2011-03-28 11:38                       ` Helmut Schaa

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).