]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfefbe511a28a868edeaa7a8bf8a95613a8da68e8
tree7df8c29f5beab637b79d31a9cd4d6775e900d5c5
parentd1d3b86d84b3be6ff25aef9fea9f7afcda15f52e
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