diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-08-29 07:50:07 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-09-01 17:01:56 +0200 |
commit | 91fb3ce56ba1a79a8368012cdcd161e861778b9a (patch) | |
tree | 8a2ea76a061c56a832d62a1799b6e4dd0ff698f1 /package/kernel/mac80211/patches/subsys/310-mac80211-reduce-packet-loss-event-false-positives.patch | |
parent | 2c14710c54befc69e70fff52240875b2bbf94cd1 (diff) | |
download | upstream-91fb3ce56ba1a79a8368012cdcd161e861778b9a.tar.gz upstream-91fb3ce56ba1a79a8368012cdcd161e861778b9a.tar.bz2 upstream-91fb3ce56ba1a79a8368012cdcd161e861778b9a.zip |
mac80211: remove an obsolete patch that is no longer doing anything useful
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211/patches/subsys/310-mac80211-reduce-packet-loss-event-false-positives.patch')
-rw-r--r-- | package/kernel/mac80211/patches/subsys/310-mac80211-reduce-packet-loss-event-false-positives.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/kernel/mac80211/patches/subsys/310-mac80211-reduce-packet-loss-event-false-positives.patch b/package/kernel/mac80211/patches/subsys/310-mac80211-reduce-packet-loss-event-false-positives.patch index 85094389a8..62f2419dd3 100644 --- a/package/kernel/mac80211/patches/subsys/310-mac80211-reduce-packet-loss-event-false-positives.patch +++ b/package/kernel/mac80211/patches/subsys/310-mac80211-reduce-packet-loss-event-false-positives.patch @@ -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; |