]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Support ethtool getstats api.
authorBen Greear <greearb@candelatech.com>
Tue, 15 May 2012 22:33:25 +0000 (15:33 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jun 2012 19:32:10 +0000 (15:32 -0400)
commit13ee2895345240e47b715d72191592d7cea1ca20
treee14df280f9cf84e6d630bb8a7848b6c4b59c16f6
parentfa9c7a7c8d7c3a4aebe9dd7e7119b7cca73e59b2
ath9k: Support ethtool getstats api.

This returns many of the values that formerly could
only be obtained from debugfs.  This should be an
improvement when trying to access these counters
programatically.  Currently this support is only
enabled when DEBUGFS is enabled because otherwise
these stats are not accumulated.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c