ath10k: support ethtool stats
authorBen Greear <greearb@candelatech.com>
Mon, 29 Sep 2014 11:41:46 +0000 (14:41 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 1 Oct 2014 08:18:20 +0000 (11:18 +0300)
commit6cddcc7ac215a3e988ec2cbf303fb0a39220dc3b
tree9e7948670140e7573420e45668a5a22767c685f1
parentf51dbe737441b758628be4763d0c3bcad4fe000f
ath10k: support ethtool stats

Add support for reading firmware stats through the ethtool
API.  This may be easier for applications to manipulate
compared to parsing a text based debugfs file.

kvalo: remove unneeded ifdefs, call ath10k_debug_fw_stats_request() and added
simple error handling

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c
drivers/net/wireless/ath/ath10k/debug.h
drivers/net/wireless/ath/ath10k/mac.c