It turns out that there are some issues with just enabling AQL for all
drivers; so instead, this series turns it into an NL80211_EXT_FEATURE
flag, and only enables it for ath10k.
Some coordination to make sure the mac80211 and the driver patch goes
into the same -rc would be good.
Toke Høiland-Jørgensen (2):
mac80211: Turn AQL into an NL80211_EXT_FEATURE
ath10k: Enable Airtime Queue Limits feature
drivers/net/wireless/ath/ath10k/mac.c | 1 +
include/uapi/linux/nl80211.h | 1 +
net/mac80211/debugfs_sta.c | 76 ++++++++++++++++++++-------
net/mac80211/main.c | 4 +-
net/mac80211/sta_info.c | 3 ++
net/mac80211/sta_info.h | 1 -
net/mac80211/tx.c | 4 +-
7 files changed, 66 insertions(+), 24 deletions(-)
--
2.24.0
Since AQL is now a feature flag drivers have to set for the feature to be
enabled, set this for ath10k.
Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
---
drivers/net/wireless/ath/ath10k/mac.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 83cc8778ca1e..978f0037ed52 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -8958,6 +8958,7 @@ int ath10k_mac_register(struct ath10k *ar)
wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS);
wiphy_ext_feature_set(ar->hw->wiphy,
NL80211_EXT_FEATURE_SET_SCAN_DWELL);
+ wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_AQL);
if (test_bit(WMI_SERVICE_TX_DATA_ACK_RSSI, ar->wmi.svc_map) ||
test_bit(WMI_SERVICE_HTT_MGMT_TX_COMP_VALID_FLAGS, ar->wmi.svc_map))
--
2.24.0