[RFC/RFT 0/2] mac80211/ath10k: fix Rx reordering
michal.kazior at tieto.com
Fri Jun 27 02:06:53 PDT 2014
I'm posting these 2 patches together in a single
patchset for easier review/testing for now. Once
review goes well I can split up the patchset and
send patches separately if it is desired so.
Recently Denton pointed out ath10k fails to
perform Rx reordering and this causes performance
issues in some cases.
Due to ath10k design I had to come up with a patch
for mac80211 to allow Rx reordering offloading via
existing Rx BA sessions code.
I've tested this pretty lightly so far. With the
patchset `iperf -u` reports 0* out-of-order
frames. Without the patch I'm seeing 400+ per
second (the particular number isn't relevant as it
depends on throughput and environment). It seems
to improve single-threaded TCP performance as
well. All test traffic is station -> ath10k AP.
* There are a few out-of-rder frames in the first
second after Rx tid is set up. I suspect this is
because ath10k is forced to start Rx BA sesion
with an arbitrary start_seq_num.
Note: This is based on https://github.com/kvalo/ath
Michal Kazior (2):
mac80211: add support for Rx reordering offloading
ath10k: fix Rx aggregation reordering
drivers/net/wireless/ath/ath10k/htt_rx.c | 92 +++++++++++++++++++++++++-
drivers/net/wireless/ath/ath10k/mac.c | 30 +++++++++
drivers/net/wireless/ath/ath10k/txrx.c | 3 +-
drivers/net/wireless/ath/ath10k/txrx.h | 1 +
include/net/mac80211.h | 40 ++++++++++++
net/mac80211/agg-rx.c | 108 ++++++++++++++++++++++++-------
net/mac80211/ieee80211_i.h | 16 +++++
net/mac80211/iface.c | 25 +++++++
8 files changed, 287 insertions(+), 28 deletions(-)
More information about the ath10k