* [PATCH] ath11k: fix duplicate rx packets in co-exist monitor mode
@ 2019-07-15 15:34 Miles Hu
2019-07-17 12:27 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Miles Hu @ 2019-07-15 15:34 UTC (permalink / raw)
To: ath11k; +Cc: Miles Hu
Add SKIP_MONITOR flag to rx data packets so mac80211 can skip them. Monitor ring already push same packets up.
Signed-off-by: Miles Hu <milehu@codeaurora.org>
---
drivers/net/wireless/ath/ath11k/dp_rx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c
index b9c0eca..04ad2db 100644
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c
@@ -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;
--
2.7.4
_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ath11k: fix duplicate rx packets in co-exist monitor mode
2019-07-15 15:34 [PATCH] ath11k: fix duplicate rx packets in co-exist monitor mode Miles Hu
@ 2019-07-17 12:27 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2019-07-17 12:27 UTC (permalink / raw)
To: Miles Hu; +Cc: ath11k
Miles Hu <milehu@codeaurora.org> wrote:
> Add SKIP_MONITOR flag to rx data packets so mac80211 can skip them. Monitor ring already push same packets up.
>
> Signed-off-by: Miles Hu <milehu@codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Patch applied to ath11k-bringup branch of ath.git, thanks.
6dd081e75062 ath11k: fix duplicate rx packets in co-exist monitor mode
--
https://patchwork.kernel.org/patch/11044487/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-17 12:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-15 15:34 [PATCH] ath11k: fix duplicate rx packets in co-exist monitor mode Miles Hu
2019-07-17 12:27 ` Kalle Valo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.