mac80211: fix rx reordering with non explicit / psmp ack policy
authorFelix Fietkau <nbd@nbd.name>
Wed, 20 Apr 2022 10:50:38 +0000 (12:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 May 2022 07:57:35 +0000 (09:57 +0200)
commit4bcc2ab96fce497ab9c7863dd051bdcf0a5018bf
treebaca0975c727c3c6d87bddd127b6b7ab70b4da5c
parente2c54b945864ec727c1590f6ac24a19b3866b76c
mac80211: fix rx reordering with non explicit / psmp ack policy

[ Upstream commit 5e469ed9764d4722c59562da13120bd2dc6834c5 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/rx.c