diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-01-15 15:02:35 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-01-22 11:11:37 +0300 |
commit | a7844a53846017c34804b0a22bbda855cb08dd7c (patch) | |
tree | da0e2504bd298d7b55f3294dc1ec8badf0ea4537 /net/mac80211/rc80211_minstrel.h | |
parent | f84de063985a6f8e3adb0c0b409ca51452b4def0 (diff) | |
download | linux-a7844a53846017c34804b0a22bbda855cb08dd7c.tar.xz |
mac80211: minstrel_ht: add support for OFDM rates on non-HT clients
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.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20210115120242.89616-3-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel.h')
-rw-r--r-- | net/mac80211/rc80211_minstrel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/rc80211_minstrel.h b/net/mac80211/rc80211_minstrel.h index 86cd80b3ffde..1b6d859a81e2 100644 --- a/net/mac80211/rc80211_minstrel.h +++ b/net/mac80211/rc80211_minstrel.h @@ -152,6 +152,7 @@ struct minstrel_priv { unsigned int lookaround_rate_mrr; u8 cck_rates[4]; + u8 ofdm_rates[NUM_NL80211_BANDS][8]; #ifdef CONFIG_MAC80211_DEBUGFS /* |