]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: allow setting queue_len for drivers not using wake_tx_queue
authorJohn Crispin <john@phrozen.org>
Tue, 11 Feb 2020 12:26:04 +0000 (13:26 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 14 Feb 2020 08:59:35 +0000 (09:59 +0100)
commit44ef9d5098d1b06a564ad9bec499281dbf10233f
tree2a5f85ddc2caa5afb8b0cf0c5191050d001edf37
parent894aee1f9fe469e46a8849eebce257d48d23a14e
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>
include/net/cfg80211.h
net/mac80211/iface.c