1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-15 13:30:36 +02:00
openwrt-xburst/package/mac80211/patches/580-ath9k_fix_aggr_retries.patch
nbd f5de36237b ath9k: fix software retry counter tracking - should fix 802.11n stability issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 18:28:19 +00:00

17 lines
567 B
Diff

--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -250,11 +250,11 @@ static void ath_tid_drain(struct ath_sof
static void ath_tx_set_retry(struct ath_softc *sc, struct ath_txq *txq,
struct sk_buff *skb)
{
- struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb);
+ struct ath_frame_info *fi = get_frame_info(skb);
struct ieee80211_hdr *hdr;
TX_STAT_INC(txq->axq_qnum, a_retries);
- if (tx_info->control.rates[4].count++ > 0)
+ if (fi->retries++ > 0)
return;
hdr = (struct ieee80211_hdr *)skb->data;