ATH11K Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ath11k: fix no traffic problem in co-exist monitor mode
@ 2019-07-15 15:33 Miles Hu
  2019-07-17 12:24 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Miles Hu @ 2019-07-15 15:33 UTC (permalink / raw)
  To: ath11k; +Cc: Miles Hu

Clear monitor flag in CB for regular data packet to avoid drop in mac80211.

Signed-off-by: Miles Hu <milehu@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/dp_rx.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c
index 9a1c247..b9c0eca 100644
--- a/drivers/net/wireless/ath/ath11k/dp_rx.c
+++ b/drivers/net/wireless/ath/ath11k/dp_rx.c
@@ -3915,6 +3915,7 @@ static int ath11k_dp_rx_mon_deliver(struct ath11k *ar, u32 mac_id,
 
 	header = mon_skb;
 
+	rxs->flag = 0;
 	do {
 		skb_next = mon_skb->next;
 		if (!skb_next)
@@ -3936,6 +3937,7 @@ static int ath11k_dp_rx_mon_deliver(struct ath11k *ar, u32 mac_id,
 		ath11k_dp_rx_deliver_msdu(ar, napi, mon_skb);
 		mon_skb = skb_next;
 	} while (mon_skb && (mon_skb != tail_msdu));
+	rxs->flag = 0;
 
 	return 0;
 
-- 
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 no traffic problem in co-exist monitor mode
  2019-07-15 15:33 [PATCH] ath11k: fix no traffic problem in co-exist monitor mode Miles Hu
@ 2019-07-17 12:24 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2019-07-17 12:24 UTC (permalink / raw)
  To: Miles Hu; +Cc: ath11k

Miles Hu <milehu@codeaurora.org> wrote:

> Clear monitor flag in CB for regular data packet to avoid drop in mac80211.
> 
> 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.

fe59026f2695 ath11k: fix no traffic problem in co-exist monitor mode

-- 
https://patchwork.kernel.org/patch/11044483/

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:24 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:33 [PATCH] ath11k: fix no traffic problem in co-exist monitor mode Miles Hu
2019-07-17 12:24 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox