mac80211: remove an obsolete patch that is no longer doing anything useful
[openwrt/staging/wigyori.git] / package / kernel / mac80211 / patches / subsys / 310-mac80211-reduce-packet-loss-event-false-positives.patch
index 85094389a8283889dacdd99aa41e6b384408b38c..62f2419dd34c7c82517be4da951d932b6a579950 100644 (file)
@@ -35,7 +35,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
                unsigned long last_ack;
 --- a/net/mac80211/status.c
 +++ b/net/mac80211/status.c
-@@ -749,12 +749,16 @@ static void ieee80211_report_used_skb(st
+@@ -757,12 +757,16 @@ static void ieee80211_report_used_skb(st
   *  - current throughput (higher value for higher tpt)?
   */
  #define STA_LOST_PKT_THRESHOLD        50
@@ -52,7 +52,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        /* If driver relies on its own algorithm for station kickout, skip
         * mac80211 packet loss mechanism.
         */
-@@ -767,21 +771,20 @@ static void ieee80211_lost_packet(struct
+@@ -775,21 +779,20 @@ static void ieee80211_lost_packet(struct
                return;
  
        sta->status_stats.lost_packets++;
@@ -81,7 +81,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
                return;
  
        cfg80211_cqm_pktloss_notify(sta->sdata->dev, sta->sta.addr,
-@@ -1034,9 +1037,7 @@ static void __ieee80211_tx_status(struct
+@@ -1042,9 +1045,7 @@ static void __ieee80211_tx_status(struct
                                        sta->status_stats.lost_packets = 0;
  
                                /* Track when last TDLS packet was ACKed */
@@ -92,7 +92,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
                        } else if (noack_success) {
                                /* nothing to do here, do not account as lost */
                        } else {
-@@ -1169,9 +1170,8 @@ void ieee80211_tx_status_ext(struct ieee
+@@ -1177,9 +1178,8 @@ void ieee80211_tx_status_ext(struct ieee
                        if (sta->status_stats.lost_packets)
                                sta->status_stats.lost_packets = 0;
  
@@ -104,7 +104,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
                } else if (test_sta_flag(sta, WLAN_STA_PS_STA)) {
                        return;
                } else if (noack_success) {
-@@ -1260,8 +1260,7 @@ void ieee80211_tx_status_8023(struct iee
+@@ -1268,8 +1268,7 @@ void ieee80211_tx_status_8023(struct iee
                        if (sta->status_stats.lost_packets)
                                sta->status_stats.lost_packets = 0;