ath6kl: implement ethtool stats
authorBen Greear <greearb@candelatech.com>
Thu, 22 Oct 2015 16:07:39 +0000 (09:07 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 29 Oct 2015 11:07:00 +0000 (13:07 +0200)
commit13eff5311382cb109725363026cdb4717714bf65
tree008a4efd3481144c78ea957f7475cee0bbe4b1e8
parent0370248379579aa0274c8f14f2d9af1f32388104
ath6kl: implement ethtool stats

This supports a way to get target stats through normal
ethtool stats API.

For instance:
# ethtool -S wlan1
NIC statistics:
     tx_pkts_nic: 353
     tx_bytes_nic: 25142
     rx_pkts_nic: 6
     rx_bytes_nic: 996
     d_tx_ucast_pkts: 89
     d_tx_bcast_pkts: 264
     d_tx_ucast_bytes: 3020
     d_tx_bcast_bytes: 22122
...

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