mac80211: Always show airtime debugfs file when TXQs are enabled
authorToke Høiland-Jørgensen <toke@redhat.com>
Tue, 10 Dec 2019 14:34:17 +0000 (15:34 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Dec 2019 09:54:07 +0000 (10:54 +0100)
commit9bcb084f0b648d032efdbb8226fe33663f8fca79
treee3e019c48665b1954dd7d63699c789cbd3c75033
parent6989310f5d4327e8595664954edd40a7f99ddd0d
mac80211: Always show airtime debugfs file when TXQs are enabled

The AQL statistics are displayed in the 'airtime' station debugfs file, but
that file was only shown if a driver has enabled the airtime fairness
feature flag. Since AQL can be enabled without airtime fairness, let's
expose the airtime file whenever TXQs are enabled, so the AQL data can be
read.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/r/20191210143417.142964-1-toke@redhat.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs_sta.c