mac80211 aggregation improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 29 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | mac80211: rewrite fragmentationnet/ net/ net/ +2 more | +175 | 5 replies | |
| 2/8 | mac80211: fix A-MPDU queue assignmentnet/ | +27 | 1 reply | |
| 3/8 | mac80211: rework the pending packets codenet/ net/ net/ +1 more | +97 | 2 replies | |
| 4/8 | mac80211: clean up __ieee80211_tx argsnet/ | +16 | 1 reply | |
| 5/8 | mac80211: unify and fix TX aggregation startdrivers/ include/ net/ | +30 | 3 replies | |
| 6/8 | mac80211: add skb length sanity checkingnet/ | +6 | 3 replies | |
| 7/8 | mac80211: fix aggregation to not require queue stopinclude/ net/ net/ +4 more | +221 | 9 replies | |
| 8/8 | mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifidrivers/ drivers/ drivers/ +14 more | +84 | 1 reply |
Reviews trailers per patch
5 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Luis R. Rodriguez |
|---|---|
| 1/8 | |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | |
| 7/8 | |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] mac80211 aggregation improvements
Hi,
Here's my patch set for improving aggregation, it contains
* mac80211: rewrite fragmentation
* mac80211: fix A-MPDU queue assignment
* mac80211: rework the pending packets code
* mac80211: clean up __ieee80211_tx args
* mac80211: unify and fix TX aggregation start
* mac80211: add skb length sanity checking
* mac80211: fix aggregation to not require queue stop
* mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi
The skb length sanity checking isn't strictly part of this series, but it would help debug things like the zd1211 problem Jouni fixed recently, and I wanted to do it after the third patch due to the amount of code changes in that.
The rest of the code changes fix/rework some things related to pending frames and fragmentation (to be able to work with that code for pending aggregation frames), clean up some aggregation code and finally remove a lot of the code that was necessary for trying to handle hardware aggregation queues in mac80211 -- the code for handling it in the driver is much simpler (because it can be less generic) too.
Despite adding new features, long comments and reworking things the diffstat thus looks fairly good with not many new code lines in total:
drivers/net/wireless/ath9k/main.c | 2 drivers/net/wireless/iwlwifi/iwl-3945.c | 2 drivers/net/wireless/iwlwifi/iwl-4965.c | 7 drivers/net/wireless/iwlwifi/iwl-5000.c | 7 drivers/net/wireless/iwlwifi/iwl-core.c | 3 drivers/net/wireless/iwlwifi/iwl-dev.h | 6 drivers/net/wireless/iwlwifi/iwl-helpers.h | 52 ++ drivers/net/wireless/iwlwifi/iwl-tx.c | 8 drivers/net/wireless/iwlwifi/iwl3945-base.c | 2 drivers/net/wireless/mac80211_hwsim.c | 1 include/net/mac80211.h | 22 net/mac80211/agg-tx.c | 243 ++++----- net/mac80211/ieee80211_i.h | 31 - net/mac80211/main.c | 13 net/mac80211/sta_info.c | 17 net/mac80211/sta_info.h | 4 net/mac80211/tx.c | 704 +++++++++++++++------------- net/mac80211/util.c | 97 +-- net/mac80211/wep.c | 21 net/mac80211/wpa.c | 28 - 20 files changed, 656 insertions(+), 614 deletions(-)
I've tested this with various Intel hardware, Sujith has also tested with ath9k hardware (thanks!)
johannes