]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix firmware assert in monitor mode
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Wed, 2 Mar 2016 14:43:52 +0000 (20:13 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sun, 6 Mar 2016 14:31:13 +0000 (16:31 +0200)
commitf70a589fd1a402a2dee978a76a6c6d5df36b7d41
tree8fbb4ca508b295c74cf9360ee8e11dc1b5979322
parentf63d7e35fe5874cf9229bc9057b008b1a8c9d123
ath10k: fix firmware assert in monitor mode

commit df31395c220b ("ath10k: remove supported chain mask") had revealed
an issue on monitor mode. Configuring NSS upon monitor interface
creation is causing target assert in all qca9888x and qca6174 firmware.
Firmware assert issue can be reproduced by below sequence even after
reverting commit df31395c220b ("ath10k: remove supported chain mask").

ip link set wlan0 down
iw wlan0 set type monitor
iw phy0 set antenna 7
ip link set wlan0 up

This issue is originally reported on qca9888 with 10.1 firmware.

Fixes: 977c3bee5e ("ath10k: apply chainmask settings to vdev on creation")
Cc: stable@vger.kernel.org
Reported-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c