Skip to contentSkip to conversation

ath11k: fix no traffic problem 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 no traffic problem in co-exist monitor mode

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

---
 drivers/net/wireless/ath/ath11k/dp_rx.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/wireless/ath/ath11k/dp_rx.c +2 -0
index 9a1c247..b9c0eca 100644
@@ -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;
 
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

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

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

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

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

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


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