diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-04-20 12:50:38 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-05-04 11:33:23 +0200 |
commit | 5e469ed9764d4722c59562da13120bd2dc6834c5 (patch) | |
tree | 7b8dc40a6b7733d38cf926b030d867b7eb96bd5b /net/mac80211/rx.c | |
parent | bb300130e47fcefbe938f06dbacaef0312e28416 (diff) | |
download | linux-5e469ed9764d4722c59562da13120bd2dc6834c5.tar.bz2 |
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>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index beb6b92eb780..88d797fa82ff 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -1405,8 +1405,7 @@ static void ieee80211_rx_reorder_ampdu(struct ieee80211_rx_data *rx, goto dont_reorder; /* not part of a BA session */ - if (ack_policy != IEEE80211_QOS_CTL_ACK_POLICY_BLOCKACK && - ack_policy != IEEE80211_QOS_CTL_ACK_POLICY_NORMAL) + if (ack_policy == IEEE80211_QOS_CTL_ACK_POLICY_NOACK) goto dont_reorder; /* new, potentially un-ordered, ampdu frame - process it */ |