[Make-wifi-fast] [PATCH v2 0/2] Implement Airtime-based Queue Limit (AQL)

Kan Yan kyan at google.com
Mon Oct 7 00:31:18 EDT 2019


This patch series implements Airtime-based Queue Limit (AQL) in the mac80211 and Ath10k driver. It is based on an earlier version from the ChromiumOS tree[0].

This version has been tested with QCA9884 platform with 4.14 kernel. Tests show AQL is able to reduce latency by an order of magnitude in a congested environment without negative impact on the throughput.

[0] https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1703105/7

Kan Yan (2):
  mac80211: Implement Airtime-based Queue Limit (AQL)
  ath10k: Enable Airtime-based Queue Limit (AQL)

 drivers/net/wireless/ath/ath10k/htt_rx.c |  1 +
 drivers/net/wireless/ath/ath10k/mac.c    |  8 ++-
 drivers/net/wireless/ath/ath10k/txrx.c   | 13 +++-
 include/net/cfg80211.h                   |  7 +++
 include/net/mac80211.h                   | 29 +++++++++
 net/mac80211/debugfs.c                   | 78 ++++++++++++++++++++++++
 net/mac80211/debugfs_sta.c               | 44 +++++++++----
 net/mac80211/ieee80211_i.h               |  4 ++
 net/mac80211/main.c                      |  8 ++-
 net/mac80211/sta_info.c                  | 20 ++++++
 net/mac80211/sta_info.h                  |  4 ++
 net/mac80211/tx.c                        | 58 +++++++++++++++---
 12 files changed, 247 insertions(+), 27 deletions(-)

-- 
Changes from v1:
 - Fix checkpatch error.
 - Keep iterate the list of active_txq until an eligible txq's deficit become non-negative in ieee80211_next_txq(), instead of break the loop after one iteration.
 - Enforce the AQL limit in ath10k's pulling mode in ath10k_htt_rx_tx_fetch_ind()


More information about the Make-wifi-fast mailing list