Message ID | 1563204876-10746-1-git-send-email-milehu@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 6dd081e75062379a6b0238ad5e08572290adcff4 |
Delegated to: | Kalle Valo |
Headers | show |
Series | ath11k: fix duplicate rx packets in co-exist monitor mode | expand |
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
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;
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(+)