diff options
author | John Crispin <john@phrozen.org> | 2020-02-11 15:26:04 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-02-14 11:59:35 +0300 |
commit | 1f6e0baa703d31002c312c3e423c108b04325df0 (patch) | |
tree | 2a5f85ddc2caa5afb8b0cf0c5191050d001edf37 /include/net/cfg80211.h | |
parent | 256db7423c31c873abe6fb780513dd7b5705a510 (diff) | |
download | linux-1f6e0baa703d31002c312c3e423c108b04325df0.tar.xz |
mac80211: allow setting queue_len for drivers not using wake_tx_queue
Currently a mac80211 driver can only set the txq_limit when using
wake_tx_queue. Not all drivers use wake_tx_queue. This patch adds a new
element to wiphy allowing a driver to set a custom tx_queue_len and the
code that will apply it in case it is set. The current default is
1000 which is too low for ath11k when doing HE rates.
Signed-off-by: John Crispin <john@phrozen.org>
Link: https://lore.kernel.org/r/20200211122605.13002-1-john@phrozen.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index ec0de3c43c61..992bf0de6b9b 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4739,6 +4739,8 @@ struct wiphy { u32 txq_memory_limit; u32 txq_quantum; + unsigned long tx_queue_len; + u8 support_mbssid:1, support_only_he_mbssid:1; |