summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/Kconfig
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-03 15:17:03 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-03-07 13:51:38 -0500
commit5baec7422c8c8f70c62b9493acf31d4854b09070 (patch)
tree79d9ed2bddab4b13a421bf62184d957a4942994c /drivers/net/wireless/ath/ath9k/Kconfig
parent9c083af8683808e486c20ca1f36da520d82e5981 (diff)
ath9k: make MAC sample statistics optional
They're more expensive than some of the other debug options and only used in very rare situations, so it sometimes makes sense to disable them while leaving in debugfs support. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/Kconfig')
-rw-r--r--drivers/net/wireless/ath/ath9k/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/Kconfig b/drivers/net/wireless/ath/ath9k/Kconfig
index 595a272aa96e..e507e78398f3 100644
--- a/drivers/net/wireless/ath/ath9k/Kconfig
+++ b/drivers/net/wireless/ath/ath9k/Kconfig
@@ -81,6 +81,14 @@ config ATH9K_DFS_CERTIFIED
developed. At this point enabling this option won't do anything
except increase code size.
+config ATH9K_MAC_DEBUG
+ bool "Atheros MAC statistics"
+ depends on ATH9K_DEBUGFS
+ default y
+ ---help---
+ This option enables collection of statistics for Rx/Tx status
+ data and some other MAC related statistics
+
config ATH9K_RATE_CONTROL
bool "Atheros ath9k rate control"
depends on ATH9K