summaryrefslogtreecommitdiff
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-01-31 14:12:39 +0300
committerJohannes Berg <johannes.berg@intel.com>2020-02-07 14:37:54 +0300
commit75e296e9b22aef6fa467523ace87ef623dac1fad (patch)
treefd90823f4adc314d90d298bbfed423296acb4b77 /net/mac80211/util.c
parentd6039a3416f7af37c04f22c411f120ad46f51663 (diff)
downloadlinux-75e296e9b22aef6fa467523ace87ef623dac1fad.tar.xz
mac80211: simplify and improve HT/VHT/HE disable code
Check early on that a device has support for QoS (at least 4 queues) when it supports HT/VHT/HE, so we don't have to check this while connecting. This lets us clean up the code there: move some of it into channel preparation to clean up a bit more, and then change the logic to only check the "wmm_used" flag. Additionally, disable HE consistently when VHT is disabled. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/20200131111300.891737-3-luca@coelho.fi Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/util.c')
0 files changed, 0 insertions, 0 deletions