summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath5k/ath5k.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-05 20:05:48 +0400
committerJohn W. Linville <linville@tuxdriver.com>2008-10-07 02:14:57 +0400
commit2f7fe87034298d94301315ba4bb65c7284c709d0 (patch)
treee8583ae3686a243405b77d4ef6498bc4199ca3a2 /drivers/net/wireless/ath5k/ath5k.h
parent870abdf67170daa9f1022e55a35c469239fcc74c (diff)
downloadlinux-2f7fe87034298d94301315ba4bb65c7284c709d0.tar.xz
ath5k: implement multi-rate retry support, fix tx status reporting
Clean up the tx status reporting, fix retry counters (short retries are virtual collisions, not actual retries). Implement multi-rate retry support. This also fixes strong throughput fluctuations with rc80211_pid Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath5k/ath5k.h')
-rw-r--r--drivers/net/wireless/ath5k/ath5k.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath5k/ath5k.h b/drivers/net/wireless/ath5k/ath5k.h
index 7134c40d6a69..53ea439aff48 100644
--- a/drivers/net/wireless/ath5k/ath5k.h
+++ b/drivers/net/wireless/ath5k/ath5k.h
@@ -431,7 +431,9 @@ struct ath5k_tx_status {
u16 ts_seqnum;
u16 ts_tstamp;
u8 ts_status;
- u8 ts_rate;
+ u8 ts_rate[4];
+ u8 ts_retry[4];
+ u8 ts_final_idx;
s8 ts_rssi;
u8 ts_shortretry;
u8 ts_longretry;