diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-05-31 23:07:29 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-05-31 23:07:29 +0000 |
commit | 41a169115b56cee08ba5ac0c85275c91b3193830 (patch) | |
tree | 1ffea61d08109f2e715cc106b9501c4628a366fb /package/mac80211/patches/540-ath9k_debugfs_show_xretry.patch | |
parent | 33fdc21d40a34383418958d2a6842b187e2897a6 (diff) | |
download | mtk-20170518-41a169115b56cee08ba5ac0c85275c91b3193830.zip mtk-20170518-41a169115b56cee08ba5ac0c85275c91b3193830.tar.gz mtk-20170518-41a169115b56cee08ba5ac0c85275c91b3193830.tar.bz2 |
mac80211: update to wireless-testing 2011-05-27
SVN-Revision: 27071
Diffstat (limited to 'package/mac80211/patches/540-ath9k_debugfs_show_xretry.patch')
-rw-r--r-- | package/mac80211/patches/540-ath9k_debugfs_show_xretry.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/package/mac80211/patches/540-ath9k_debugfs_show_xretry.patch b/package/mac80211/patches/540-ath9k_debugfs_show_xretry.patch deleted file mode 100644 index ca6ef3b..0000000 --- a/package/mac80211/patches/540-ath9k_debugfs_show_xretry.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/drivers/net/wireless/ath/ath9k/debug.c -+++ b/drivers/net/wireless/ath/ath9k/debug.c -@@ -548,6 +548,7 @@ static ssize_t read_file_xmit(struct fil - - PR("MPDUs Queued: ", queued); - PR("MPDUs Completed: ", completed); -+ PR("MPDUs XRetried: ", xretries); - PR("Aggregates: ", a_aggr); - PR("AMPDUs Queued HW:", a_queued_hw); - PR("AMPDUs Queued SW:", a_queued_sw); -@@ -803,7 +804,10 @@ void ath_debug_stat_tx(struct ath_softc - else - TX_STAT_INC(qnum, a_completed); - } else { -- TX_STAT_INC(qnum, completed); -+ if (bf_isxretried(bf)) -+ TX_STAT_INC(qnum, xretries); -+ else -+ TX_STAT_INC(qnum, completed); - } - - if (ts->ts_status & ATH9K_TXERR_FIFO) ---- a/drivers/net/wireless/ath/ath9k/debug.h -+++ b/drivers/net/wireless/ath/ath9k/debug.h -@@ -116,6 +116,7 @@ struct ath_tx_stats { - u32 tx_bytes_all; - u32 queued; - u32 completed; -+ u32 xretries; - u32 a_aggr; - u32 a_queued_hw; - u32 a_queued_sw; |