Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mac80211: fix rx reordering with non explicit / psmp ack policy

When the QoS ack policy was set to non explicit / psmp ack, frames are treated
as not being part of a BA session, which causes extra latency on reordering.
Fix this by only bypassing reordering for packets with no-ack policy

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20220420105038.36443-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Felix Fietkau and committed by
Johannes Berg
5e469ed9 bb300130

+1 -2
+1 -2
net/mac80211/rx.c
··· 1405 1405 goto dont_reorder; 1406 1406 1407 1407 /* not part of a BA session */ 1408 - if (ack_policy != IEEE80211_QOS_CTL_ACK_POLICY_BLOCKACK && 1409 - ack_policy != IEEE80211_QOS_CTL_ACK_POLICY_NORMAL) 1408 + if (ack_policy == IEEE80211_QOS_CTL_ACK_POLICY_NOACK) 1410 1409 goto dont_reorder; 1411 1410 1412 1411 /* new, potentially un-ordered, ampdu frame - process it */