Re: [ath9k-devel] [PATCH] ath9k_htc: add adaptive usb receive flow control to repair soft lockup with monitor mode

2015-02-11 Thread Yuwei Zheng
On 三, 2015-02-11 at 11:20 +0200, Kalle Valo wrote: > Yuwei Zheng writes: > > > The ath9k_hif_usb_rx_cb function excute on the interrupt context, and > > ath9k_rx_tasklet excute > > on the soft irq context. In other words, the ath9k_hif_usb_rx_cb have more &

[ath9k-devel] [PATCHv2] ath9k_htc: add adaptive usb receive flow control to repair soft lockup with monitor mode

2015-02-11 Thread Yuwei Zheng
message in the ath9k_hif_usb_rx_cb function may trigger this bug quickly. Signed-off-by: Yuwei Zheng --- Changes since v1: - Add aurfc_active flag to stop delayed submit while ath9k_hif_usb_dealloc_rx_urbs called. - Add spinlock aurfc_lock to protect aurfc_delayed_work and aurfc_active. - Add

[ath9k-devel] [PATCH] ath9k_htc: add adaptive usb receive flow control to repair soft lockup with monitor mode

2015-02-10 Thread Yuwei Zheng
message in the ath9k_hif_usb_rx_cb function may trigger this bug quickly. Signed-off-by: Yuwei Zheng --- drivers/net/wireless/ath/ath9k/hif_usb.c | 78 +++--- drivers/net/wireless/ath/ath9k/hif_usb.h | 13 + drivers/net/wireless/ath/ath9k/htc.h | 19

Re: [ath9k-devel] [PATCH] ath9k_htc: add adaptive usb receive flow control to repair soft lockup with monitor mode

2015-02-09 Thread Yuwei Zheng
format. The check result is total: 0 errors, 0 warnings, 1 checks, 310 lines checked > > > Am 06.02.2015 um 11:46 schrieb yuweizh...@139.com: > > From: Yuwei Zheng > > > > In the environment with heavy wifi traffic, set the ar9271 into monitor > > mode, will &

Re: [ath9k-devel] [PATCH] Repair soft lockup with monitor mode of ath9k_htc card

2015-01-30 Thread Yuwei Zheng
You mean tasklet_schedule ? The normal tasklet does not support delayed schedule. um, I will try normal timer or delayed workqueue later. On 五, 2015-01-30 at 11:55 +0100, Oleksij Rempel wrote: > Am 29.01.2015 um 00:14 schrieb yuweizh...@139.com: > > From: Yuwei Zheng > &