projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d90038
)
ath9k: Report rx-crc-errors in ethtool stats.
author
Ben Greear
<greearb@candelatech.com>
Mon, 4 Mar 2013 23:31:17 +0000
(15:31 -0800)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 6 Mar 2013 21:29:03 +0000
(16:29 -0500)
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/debug.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/debug.c
b/drivers/net/wireless/ath/ath9k/debug.c
index daae4d09a80ad55ad73dfb13c837023fae2418d1..67a2a4b3b8836000ab20700d53d50939c3148ee7 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/debug.c
+++ b/
drivers/net/wireless/ath/ath9k/debug.c
@@
-1912,6
+1912,7
@@
static const char ath9k_gstrings_stats[][ETH_GSTRING_LEN] = {
AMKSTR(d_tx_desc_cfg_err),
AMKSTR(d_tx_data_underrun),
AMKSTR(d_tx_delim_underrun),
+ "d_rx_crc_err",
"d_rx_decrypt_crc_err",
"d_rx_phy_err",
"d_rx_mic_err",
@@
-1992,6
+1993,7
@@
void ath9k_get_et_stats(struct ieee80211_hw *hw,
AWDATA(data_underrun);
AWDATA(delim_underrun);
+ AWDATA_RX(crc_err);
AWDATA_RX(decrypt_crc_err);
AWDATA_RX(phy_err);
AWDATA_RX(mic_err);