]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb90bd9d14f866318497acee571f79e621a735d69
treee14df280f9cf84e6d630bb8a7848b6c4b59c16f6
parent499f42bb03a9bd8a23f73e7c3886f70f52e7edc5
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