ath9k_htc: Add ethtool stats support.
authorBen Greear <greearb@candelatech.com>
Wed, 19 Jun 2013 21:02:15 +0000 (14:02 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Jun 2013 18:44:23 +0000 (14:44 -0400)
commit68185a4b37d8790196c7441cb3020cc489d9835f
treed04b9b9e38b434f9a1095bb2bf64779ae9f33296
parent156652bbedfbc0f3410759ccebe5c94edb7ce6c3
ath9k_htc: Add ethtool stats support.

This provides some of the same info found in
the ath9k_htc debugfs through the standard ethtool stats API.

This logic is only supported when ath9k_htc debugfs kernel
feature is enabled, since that is the only time stats
are actually gathered.

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