aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ar9170/ar9170.h
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@iki.fi>2010-02-07 10:21:00 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-02-08 16:50:59 -0500
commitd1ace8e57a4e3af78767684c6f6b5f8b88417abb (patch)
tree5b2b311286010fd76abd159055f4cdab6417a4f2 /drivers/net/wireless/ath/ar9170/ar9170.h
parentmwl8k: remove get_tx_stats() mac80211 op (diff)
downloadlinux-dev-d1ace8e57a4e3af78767684c6f6b5f8b88417abb.tar.xz
linux-dev-d1ace8e57a4e3af78767684c6f6b5f8b88417abb.zip
ar9170: remove get_tx_stats() mac80211 op
get_tx_stats() will be removed from mac80211. Because ar9170 uses ieee80211_tx_queue_stats internally, create a new identical struct ar9170_tx_queue_stats which the driver can use. Compile-tested only. Signed-off-by: Kalle Valo <kalle.valo@iki.fi> Tested-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ar9170/ar9170.h')
-rw-r--r--drivers/net/wireless/ath/ar9170/ar9170.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ar9170/ar9170.h b/drivers/net/wireless/ath/ar9170/ar9170.h
index b99a8c2053d8..8c8ce67971e9 100644
--- a/drivers/net/wireless/ath/ar9170/ar9170.h
+++ b/drivers/net/wireless/ath/ar9170/ar9170.h
@@ -144,6 +144,12 @@ struct ar9170_sta_tid {
bool active;
};
+struct ar9170_tx_queue_stats {
+ unsigned int len;
+ unsigned int limit;
+ unsigned int count;
+};
+
#define AR9170_QUEUE_TIMEOUT 64
#define AR9170_TX_TIMEOUT 8
#define AR9170_BA_TIMEOUT 4
@@ -211,7 +217,7 @@ struct ar9170 {
/* qos queue settings */
spinlock_t tx_stats_lock;
- struct ieee80211_tx_queue_stats tx_stats[5];
+ struct ar9170_tx_queue_stats tx_stats[5];
struct ieee80211_tx_queue_params edcf[5];
spinlock_t cmdlock;