ath11k: fix duplicate rx packets in co-exist monitor mode
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.
Signed-off-by Miles Hu <[email protected]>
--- drivers/net/wireless/ath/ath11k/dp_rx.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/ath11k/dp_rx.c +1 -0
@@ -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
Quoted 4 lines · Miles Hu
Add
SKIP_MONITORflag to rx data packets so mac80211 can skip them. Monitor ring already push same packets up.Signed-off-by Miles Hu <[email protected]>Signed-off-by Kalle Valo <[email protected]>
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