diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-11-20 09:29:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-11-20 09:29:42 +0000 |
commit | 19694044e8741a6581efc4209c35daad72d10b75 (patch) | |
tree | 0eaa950539a91636b2cc66a3c5d5dab8b027b906 /package/mac80211/patches/541-ath9k_sw_retry_reduce.patch | |
parent | c893863d31306320fb1efad0db21bea822ccfba9 (diff) | |
download | mtk-20170518-19694044e8741a6581efc4209c35daad72d10b75.zip mtk-20170518-19694044e8741a6581efc4209c35daad72d10b75.tar.gz mtk-20170518-19694044e8741a6581efc4209c35daad72d10b75.tar.bz2 |
ath9k: merge a pending aggregation fix
SVN-Revision: 29273
Diffstat (limited to 'package/mac80211/patches/541-ath9k_sw_retry_reduce.patch')
-rw-r--r-- | package/mac80211/patches/541-ath9k_sw_retry_reduce.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/mac80211/patches/541-ath9k_sw_retry_reduce.patch b/package/mac80211/patches/541-ath9k_sw_retry_reduce.patch index 79f138d..d83b663 100644 --- a/package/mac80211/patches/541-ath9k_sw_retry_reduce.patch +++ b/package/mac80211/patches/541-ath9k_sw_retry_reduce.patch @@ -1,6 +1,6 @@ --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c -@@ -259,14 +259,17 @@ static void ath_tid_drain(struct ath_sof +@@ -264,14 +264,17 @@ static void ath_tid_drain(struct ath_sof } static void ath_tx_set_retry(struct ath_softc *sc, struct ath_txq *txq, @@ -20,7 +20,7 @@ return; hdr = (struct ieee80211_hdr *)skb->data; -@@ -382,6 +385,7 @@ static void ath_tx_complete_aggr(struct +@@ -387,6 +390,7 @@ static void ath_tx_complete_aggr(struct int nframes; u8 tidno; bool flush = !!(ts->ts_status & ATH9K_TX_FLUSH); @@ -28,7 +28,7 @@ skb = bf->bf_mpdu; hdr = (struct ieee80211_hdr *)skb->data; -@@ -390,6 +394,10 @@ static void ath_tx_complete_aggr(struct +@@ -395,6 +399,10 @@ static void ath_tx_complete_aggr(struct memcpy(rates, tx_info->control.rates, sizeof(rates)); @@ -39,7 +39,7 @@ rcu_read_lock(); sta = ieee80211_find_sta_by_ifaddr(hw, hdr->addr1, hdr->addr2); -@@ -476,7 +484,8 @@ static void ath_tx_complete_aggr(struct +@@ -481,7 +489,8 @@ static void ath_tx_complete_aggr(struct txpending = 1; } else if (fi->retries < ATH_MAX_SW_RETRIES) { if (txok || !an->sleeping) |