Skip to content

Commit 890030d

Browse files
nbd168jmberg-intel
authored andcommitted
mac80211: don't handle filtered frames within a BA session
When running a BA session, the driver (or the hardware) already takes care of retransmitting failed frames, since it has to keep the receiver reorder window in sync. Adding another layer of retransmit around that does not improve anything. In fact, it can only lead to some strong reordering with huge latency. Cc: [email protected] Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
1 parent 8fbcfeb commit 890030d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

net/mac80211/status.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ static void ieee80211_handle_filtered_frame(struct ieee80211_local *local,
5151
struct ieee80211_hdr *hdr = (void *)skb->data;
5252
int ac;
5353

54-
if (info->flags & IEEE80211_TX_CTL_NO_PS_BUFFER) {
54+
if (info->flags & (IEEE80211_TX_CTL_NO_PS_BUFFER |
55+
IEEE80211_TX_CTL_AMPDU)) {
5556
ieee80211_free_txskb(&local->hw, skb);
5657
return;
5758
}

0 commit comments

Comments
 (0)