diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-09-12 00:48:03 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-09-23 11:35:44 -0400 |
commit | 990b86f4f9c54f83085d4136498ac44719b17654 (patch) | |
tree | 08e71a5293f53c1d8aec45be80d99ba1a1d41872 /drivers/net/wireless/b43/b43.h | |
parent | 176e9f6a4cf4b1bf66d18243ede0938a35c81541 (diff) | |
download | blackbird-op-linux-990b86f4f9c54f83085d4136498ac44719b17654.tar.gz blackbird-op-linux-990b86f4f9c54f83085d4136498ac44719b17654.zip |
b43: Add optional verbose runtime statistics
This adds support for verbose runtime statistics.
It defaults to off and must be enabled in debugfs, if desired.
The first measurement may be incorrect, because statistics are not cleared
after they got enabled through debugfs.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/b43.h')
-rw-r--r-- | drivers/net/wireless/b43/b43.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index 89ccf0d50f33..fa1549a03c71 100644 --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h @@ -817,6 +817,10 @@ struct b43_wldev { /* Debugging stuff follows. */ #ifdef CONFIG_B43_DEBUG struct b43_dfsentry *dfsentry; + unsigned int irq_count; + unsigned int irq_bit_count[32]; + unsigned int tx_count; + unsigned int rx_count; #endif }; |