summaryrefslogtreecommitdiff
path: root/net/mac80211/Kconfig
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-04-22 21:47:28 +0300
committerJohannes Berg <johannes.berg@intel.com>2015-05-05 15:21:54 +0300
commitc206ca670974cefec7ac3732db5c8156e8081a8d (patch)
treecb6ad01eea07abdd42ec4ba7433ba876c9cd1f57 /net/mac80211/Kconfig
parentf1160434c7658af3f7b0926b88df49a66cb3c3e0 (diff)
downloadlinux-c206ca670974cefec7ac3732db5c8156e8081a8d.tar.xz
mac80211: move dot11 counters under MAC80211_DEBUG_COUNTERS
Since these counters can only be read through debugfs, there's very little point in maintaining them all the time. However, even just making them depend on debugfs is pointless - they're not normally used. Additionally a number of them aren't even concurrency safe. Move them under MAC80211_DEBUG_COUNTERS so they're normally not even compiled in. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/Kconfig')
-rw-r--r--net/mac80211/Kconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig
index 5f698d4ec53b..086de496a4c1 100644
--- a/net/mac80211/Kconfig
+++ b/net/mac80211/Kconfig
@@ -302,7 +302,11 @@ config MAC80211_DEBUG_COUNTERS
---help---
Selecting this option causes mac80211 to keep additional
and very verbose statistics about TX and RX handler use
- and show them in debugfs.
+ as well as a few selected dot11 counters. These will be
+ exposed in debugfs.
+
+ Note that some of the counters are not concurrency safe
+ and may thus not always be accurate.
If unsure, say N.