]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e1ffc56df4fa47e83f5d856a02c1e702da34612
tree008a4efd3481144c78ea957f7475cee0bbe4b1e8
parent24e62521fcf2e18ea44105afe0b6733a2d022b42
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