diff mbox

[6/7] mt76: set RX_FLAG_DUP_VALIDATED for A-MPDU reordered packets

Message ID 20180403195254.87700-6-nbd@nbd.name (mailing list archive)
State Accepted
Commit 18efed59fabc0d0f6dd9888b5f0e8102c8332685
Delegated to: Kalle Valo
Headers show

Commit Message

Felix Fietkau April 3, 2018, 7:52 p.m. UTC
Required for fast-rx and allows mac80211 to skip an unnnecessary check.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 drivers/net/wireless/mediatek/mt76/agg-rx.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/drivers/net/wireless/mediatek/mt76/agg-rx.c b/drivers/net/wireless/mediatek/mt76/agg-rx.c
index cbac42cb536c..6657ec8928de 100644
--- a/drivers/net/wireless/mediatek/mt76/agg-rx.c
+++ b/drivers/net/wireless/mediatek/mt76/agg-rx.c
@@ -169,6 +169,7 @@  void mt76_rx_aggr_reorder(struct sk_buff *skb, struct sk_buff_head *frames)
 	if (!tid)
 		return;
 
+	status->flag |= RX_FLAG_DUP_VALIDATED;
 	spin_lock_bh(&tid->lock);
 
 	if (tid->stopped)