mac80211: Re-structure aqm debugfs output and keep CoDel stats per txq
authorToke Høiland-Jørgensen <toke@toke.dk>
Mon, 12 Sep 2016 13:55:43 +0000 (15:55 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Sep 2016 06:20:16 +0000 (08:20 +0200)
commit8d51dbb8c7fb5412f0935c20f66e27d2c63ef4a0
tree7df8c29f5beab637b79d31a9cd4d6775e900d5c5
parent53f249747d5ec6434415a6895b5690bf4f1d5d7d
mac80211: Re-structure aqm debugfs output and keep CoDel stats per txq

Currently the 'aqm' stats in mac80211 only keeps overlimit drop stats,
not CoDel stats. This moves the CoDel stats into the txqi structure to
keep them per txq in order to show them in debugfs.

In addition, the aqm debugfs output is restructured by splitting it up
into three files: One global per phy, one per netdev and one per
station, in the appropriate directories. The files are all called aqm,
and are only created if the driver supports the wake_tx_queue op (rather
than emitting an error on open as previously).

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs.c
net/mac80211/debugfs_netdev.c
net/mac80211/debugfs_sta.c
net/mac80211/ieee80211_i.h
net/mac80211/tx.c