]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix interrupt storm
authorVasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Mon, 2 Mar 2015 12:15:28 +0000 (17:45 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 7 Mar 2015 08:03:43 +0000 (10:03 +0200)
commit66f548a0981c738103e8a21f98e0e68a00f1d9d7
treeff2b17c59c28bb7f0ba84129f1fed16ca3cbc2f1
parentaa8d301076b3f5e3c1ceed88ada362c14f79985c
ath10k: fix interrupt storm

Promiscuous mode is enabled when wlan interface is added to
bridge. ath10k creates a monitor mode when promiscuous mode
is enabled. When monitor vdev is running along with other
vdev(s) there is a huge number of interrupts generated
especially in noisy condition. Fix this by not enabling
promiscuous(monitor) mode when already a vdev is running.
As disabling promiscuous mode may have issues with 4-address
bridging in STA mode, the change is done specific to non-sta/ibss
mode types. This does not change the support of virtual interface of
type monitor along with other vdevs of any type.

This could fix management frame drop in fw due to unavailable
buffers because in monitor mode device receives everything seen
on the air. In noisy condition, disabling monitor mode helps assoc
go through without any issue.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c