mac80211: backport brcmfmac patchset with driver setting concept
[openwrt/svn-archive/archive.git] / package / kernel / mac80211 / patches / 301-ath9k-limit-retries-for-powersave-response-frames.patch
index 4faac0d82e361913ba734e939a2e598b2ba87422..a160dc4f02579801ba30873d4777101a059e6f79 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
 
 --- a/drivers/net/wireless/ath/ath9k/xmit.c
 +++ b/drivers/net/wireless/ath/ath9k/xmit.c
-@@ -147,10 +147,25 @@ static void ath_send_bar(struct ath_atx_
+@@ -136,10 +136,25 @@ static void ath_send_bar(struct ath_atx_
  }
  
  static void ath_set_rates(struct ieee80211_vif *vif, struct ieee80211_sta *sta,
@@ -40,7 +40,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
  }
  
  static void ath_txq_skb_done(struct ath_softc *sc, struct ath_txq *txq,
-@@ -1430,7 +1445,7 @@ ath_tx_form_burst(struct ath_softc *sc,
+@@ -1419,7 +1434,7 @@ ath_tx_form_burst(struct ath_softc *sc,
                if (tx_info->flags & IEEE80211_TX_CTL_AMPDU)
                        break;
  
@@ -49,7 +49,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
        } while (1);
  }
  
-@@ -1461,7 +1476,7 @@ static bool ath_tx_sched_aggr(struct ath
+@@ -1450,7 +1465,7 @@ static bool ath_tx_sched_aggr(struct ath
                return false;
        }
  
@@ -58,7 +58,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
        if (aggr)
                last = ath_tx_form_aggr(sc, txq, tid, &bf_q, bf,
                                        tid_q, &aggr_len);
-@@ -1653,7 +1668,7 @@ void ath9k_release_buffered_frames(struc
+@@ -1647,7 +1662,7 @@ void ath9k_release_buffered_frames(struc
  
                        __skb_unlink(bf->bf_mpdu, tid_q);
                        list_add_tail(&bf->list, &bf_q);
@@ -67,7 +67,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
                        if (bf_isampdu(bf)) {
                                ath_tx_addto_baw(sc, tid, bf);
                                bf->bf_state.bf_type &= ~BUF_AGGR;
-@@ -2318,7 +2333,7 @@ int ath_tx_start(struct ieee80211_hw *hw
+@@ -2293,7 +2308,7 @@ int ath_tx_start(struct ieee80211_hw *hw
        struct ath_txq *txq = txctl->txq;
        struct ath_atx_tid *tid = NULL;
        struct ath_buf *bf;
@@ -76,7 +76,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
        int q, ret;
  
        if (vif)
-@@ -2365,13 +2380,13 @@ int ath_tx_start(struct ieee80211_hw *hw
+@@ -2346,13 +2361,13 @@ int ath_tx_start(struct ieee80211_hw *hw
                if (!txctl->an)
                        txctl->an = &avp->mcast_node;
                queue = true;
@@ -92,7 +92,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
                ath_txq_unlock(sc, txq);
                txq = sc->tx.uapsdq;
                ath_txq_lock(sc, txq);
-@@ -2409,7 +2424,7 @@ int ath_tx_start(struct ieee80211_hw *hw
+@@ -2390,7 +2405,7 @@ int ath_tx_start(struct ieee80211_hw *hw
        if (txctl->paprd)
                bf->bf_state.bfs_paprd_timestamp = jiffies;
  
@@ -101,7 +101,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
        ath_tx_send_normal(sc, txq, tid, skb);
  
  out:
-@@ -2448,7 +2463,7 @@ void ath_tx_cabq(struct ieee80211_hw *hw
+@@ -2429,7 +2444,7 @@ void ath_tx_cabq(struct ieee80211_hw *hw
                        break;
  
                bf->bf_lastbf = bf;
@@ -110,7 +110,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
                ath_buf_set_rate(sc, bf, &info, fi->framelen, false);
                duration += info.rates[0].PktDuration;
                if (bf_tail)
-@@ -2968,7 +2983,7 @@ int ath9k_tx99_send(struct ath_softc *sc
+@@ -2932,7 +2947,7 @@ int ath9k_tx99_send(struct ath_softc *sc
                return -EINVAL;
        }