ath10k: firmware crash after setting promiscous mode
michal.kazior at tieto.com
Thu Jul 2 05:10:58 PDT 2015
On 2 July 2015 at 13:18, "Jose Núñez-Martínez (CTTC)"
<jose.nunez at cttc.cat> wrote:
> Hi all,
> I'm trying to use an ath10k in IBSS mode with 2 wireless cards based on
> qca988x . I'd like to be able to put the wireless cards in promiscuous mode
> (ifconfig wlanX promisc). When I put the wireless cards in promiscuous mode,
> the firmware crashes. Has anyone tried this?
> Kernel is 4.1 and firmware is 999.999.0.636. Please find below the ath10k
> crash info:
That's weird. I believe promisc flag is no longer propagated by
mac80211 to its drivers (e.g. ath10k).
> [14940.115607] ath10k_pci 0000:0c:00.0: firmware crashed! (uuid
> [14940.115626] ath10k_pci 0000:0c:00.0: qca988x hw2.0 (0x4100016c,
> 0x043202ff) fw 999.999.0.636 api 4 htt 2.1 wmi 1 cal otp max_sta 16
> [14940.115632] ath10k_pci 0000:0c:00.0: debug 0 debugfs 1 tracing 1 dfs 0
> testmode 0
> [14940.117633] ath10k_pci 0000:0c:00.0: firmware register dump:
> [14940.117640] ath10k_pci 0000:0c:00.0: : 0x4100016C 0x00000000
> 0x009C4521 0x00000000
> [14940.117646] ath10k_pci 0000:0c:00.0: : 0x009C4521 0x00060330
> 0x00000019 0x00955A00
If you look through the list you'll find similar reports with the same
register dump values.
Firmware 999.999.0.636 has broken monitor vdev support in firmware and
often crashes when one tries to use it (which is implied by promisc
mode in older kernels or a running monitor vif).
You might be interested in using CT firmware branch. Ben has added
IBSS support recently and since it's 10.1 based it has a working
monitor vdev support.
More information about the ath10k