mac80211: fix spurious disconnect issues with disassoc_low_ack=1 (default)
authorFelix Fietkau <nbd@nbd.name>
Sat, 8 Aug 2020 17:28:07 +0000 (19:28 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sun, 9 Aug 2020 12:01:49 +0000 (14:01 +0200)
commiteff8c76aa02275a7b325e0fa93cc349380299fde
treefd1c147853658b55ff7902edf541e4d9ae57095c
parente81e625ca375d6dc3c885ec870ec15757ac76d72
mac80211: fix spurious disconnect issues with disassoc_low_ack=1 (default)

mac80211 reports a packet loss event to user space when 50 consecutive packets
were not acked. On a high throughput link with long aggregates and sudden
link changes, this can trigger way too easily.
Mitigate false positives by only triggering the event on a packet loss if
no ACK was received for at least a second

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/mac80211/patches/subsys/310-mac80211-reduce-packet-loss-event-false-positives.patch [new file with mode: 0644]