ath10k: firmware crash after setting promiscous mode

José Núñez jose.nunez at cttc.cat
Thu Jul 2 12:40:20 PDT 2015


Solved the firmware crash issue by using latest ath10k development release from backports (I was using latest stable backports release) and kept 636 firmware. 

Promisc flag is not propagated in this version since it contains patch df1404650ccb ("mac80211: remove support for IFF_PROMISC").

Firmware crashes after setting iface in promiscuous mode no longer happening neither in IBSS nor AP mode.

Thanks a lot for your help!
Jose

On Jul 2, 2015, at 3:57 PM, Ben Greear wrote:

> On 07/02/2015 05:10 AM, Michal Kazior wrote:
>> 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
>>> 1f927b1a-d148-45ce-83f8-df3ba23fb473)
>>> [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: [00]: 0x4100016C 0x00000000
>>> 0x009C4521 0x00000000
>>> [14940.117646] ath10k_pci 0000:0c:00.0: [04]: 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[1]. Ben has added
>> IBSS support recently and since it's 10.1 based it has a working
>> monitor vdev support.
>> 
>> [1]: http://www.candelatech.com/ath10k.php
> 
> Make sure you get the beta build for best IBSS support:
> 
> http://www.candelatech.com/downloads/ath10k-fw-beta/
> 
> Thanks,
> Ben
> 
>> 
>> 
>> Michał
>> 
>> _______________________________________________
>> ath10k mailing list
>> ath10k at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/ath10k
>> 
> 
> 
> -- 
> Ben Greear <greearb at candelatech.com>
> Candela Technologies Inc  http://www.candelatech.com
> 
> 
> _______________________________________________
> ath10k mailing list
> ath10k at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k




More information about the ath10k mailing list