diff options
author | Toke Høiland-Jørgensen <toke@toke.dk> | 2016-09-12 16:55:43 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-09-13 09:20:16 +0300 |
commit | 8d51dbb8c7fb5412f0935c20f66e27d2c63ef4a0 (patch) | |
tree | 7df8c29f5beab637b79d31a9cd4d6775e900d5c5 /net/mac80211/ieee80211_i.h | |
parent | 53f249747d5ec6434415a6895b5690bf4f1d5d7d (diff) | |
download | linux-8d51dbb8c7fb5412f0935c20f66e27d2c63ef4a0.tar.xz |
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 75761686a98b..c71c73594790 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -818,6 +818,7 @@ struct txq_info { struct fq_tin tin; struct fq_flow def_flow; struct codel_vars def_cvars; + struct codel_stats cstats; unsigned long flags; /* keep last! */ @@ -1117,7 +1118,6 @@ struct ieee80211_local { struct fq fq; struct codel_vars *cvars; struct codel_params cparams; - struct codel_stats cstats; const struct ieee80211_ops *ops; |