[PATCH v3 0/9] replace minstrel with minstrel_ht

Felix Fietkau
2021-01-15T12:04:00Z

The legacy minstrel code is essentially unmaintained and receives only very
little testing. In order to bring the significant algorithm improvements from
minstrel_ht to legacy clients, this patch adds support for OFDM rates to
minstrel_ht and removes the fallback to the legacy codepath.
This also makes it work much better on hardware with rate selection constraints,
e.g. mt76.

Changes in v3:
- add cover letter
- fix uninitialized stack variable
- add extra patch to fix significant rounding error in tpt calculation

Changes in v2:
- fix using legacy-rates overhead in tpt calculation

Felix Fietkau (9):
mac80211: minstrel_ht: clean up CCK code
mac80211: minstrel_ht: add support for OFDM rates on non-HT clients
mac80211: remove legacy minstrel rate control
mac80211: minstrel_ht: remove old ewma based rate average code
mac80211: minstrel_ht: improve ampdu length estimation
mac80211: minstrel_ht: improve sample rate selection
mac80211: minstrel_ht: fix max probability rate selection
mac80211: minstrel_ht: increase stats update interval
mac80211: minstrel_ht: fix rounding error in throughput calculation

net/mac80211/Makefile | 2 -
net/mac80211/rc80211_minstrel.c | 574 ---------------------
net/mac80211/rc80211_minstrel.h | 184 -------
net/mac80211/rc80211_minstrel_debugfs.c | 172 ------
net/mac80211/rc80211_minstrel_ht.c | 560 +++++++++++++-------
net/mac80211/rc80211_minstrel_ht.h | 96 +++-
net/mac80211/rc80211_minstrel_ht_debugfs.c | 57 +-
7 files changed, 482 insertions(+), 1163 deletions(-)
delete mode 100644 net/mac80211/rc80211_minstrel.c
delete mode 100644 net/mac80211/rc80211_minstrel.h
delete mode 100644 net/mac80211/rc80211_minstrel_debugfs.c

--
2.28.0