Skip to contentSkip to conversation

ath11k: fix duplicate rx packets in co-exist monitor mode

PATCH In review Miles Hu 2 participants 2 messages Jul 15, 2019 – Jul 17, 2019 Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore

Miles Hu

author
#0 lore raw

PATCH 1/1 ath11k: fix duplicate rx packets in co-exist monitor mode

Add SKIP_MONITOR flag to rx data packets so mac80211 can skip them. Monitor ring already push same packets up.

---
 drivers/net/wireless/ath/ath11k/dp_rx.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/ath11k/dp_rx.c +1 -0
index b9c0eca..04ad2db 100644
@@ -2093,6 +2093,7 @@ static void ath11k_dp_rx_pre_deliver_amsdu(struct ath11k *ar,
 		} else {
 			rxs->flag |= RX_FLAG_ALLOW_SAME_PN;
 		}
+		rxs->flag |= RX_FLAG_SKIP_MONITOR;
 
 		status = IEEE80211_SKB_RXCB(msdu);
 		*status = *rxs;
Signature · 7 lines
2.7.4


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#1 lore raw
Quoted 4 lines · Miles Hu

Add SKIP_MONITOR flag to rx data packets so mac80211 can skip them. Monitor ring already push same packets up.

Patch applied to ath11k-bringup branch of ath.git, thanks.

6dd081e75062 ath11k: fix duplicate rx packets in co-exist monitor mode

Signature · 9 lines
https://patchwork.kernel.org/patch/11044487/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k