ath10k: Firmware crash after removing VAP
Ben Greear
greearb at candelatech.com
Thu Jul 18 10:25:10 EDT 2013
On 07/17/2013 10:37 PM, Michal Kazior wrote:
> On 18 July 2013 07:21, Ben Greear <greearb at candelatech.com> wrote:
>> On 07/17/2013 10:12 PM, Michal Kazior wrote:
>>>
>>> Hi Ben,
>>>
>>> On 17 July 2013 23:20, Ben Greear <greearb at candelatech.com> wrote:
>>>>
>>>> I had vap1 on an ath10k NIC, and wlan2 also existed. I deleted
>>>> the vap1, and very shortly afterwords, the firmware crashed:
>>>>
>>>> ath10k: firmware crashed!
>>>> ath10k: hardware name qca988x hw2.0 version 0x4100016c
>>>> ath10k: firmware version: 1.0.0.636
>>>> ath10k: target register Dump Location: 0x00401930
>>>> ath10k: target Register Dump
>>>> ath10k: [00]: 0x4100016C 0x00000000 0x0098EEF0 0x00000000
>>>> ath10k: [04]: 0x00000000 0x00000000 0x00000000 0x00000000
>>>> ath10k: [08]: 0x00000000 0x00000000 0x00000000 0x00000000
>>>> ath10k: [12]: 0x00000000 0x00000000 0x00000000 0x00000000
>>>> ath10k: [16]: 0x00000000 0x00000000 0x00000000 0x0098EEF0
>>>> ath10k: [20]: 0x00000000 0x00401930 0x00000000 0x00000000
>>>> ath10k: [24]: 0x00000000 0x00000000 0x00000000 0x00000000
>>>> ath10k: [28]: 0x00000000 0x00000000 0x00000000 0x00000000
>>>> ath10k: [32]: 0x00000000 0x00000000 0x00000000 0x00000000
>>>> ath10k: [36]: 0x00000000 0x00000000 0x00000000 0x00000000
>>>> ath10k: [40]: 0x00000000 0x00000000 0x00000000 0x00000000
>>>> ath10k: [44]: 0x00000000 0x00000000 0x00000000 0x00000000
>>>> ath10k: [48]: 0x00000000 0x00000000 0x00000000 0x00000000
>>>> ath10k: [52]: 0x00000000 0x00000000 0x00000000 0x00000000
>>>> ath10k: [56]: 0x00000000 0x00000000 0x00000000 0x00000000
>>>
>>>
>>> This dump looks suspicious. Are you using vanilla kernel or do you
>>> have a ath regulatory hack patch from OpenWRT applied? If so the
>>> channel scan list is not sent to the firmware and this will cause
>>> firmware to crash.
>>
>>
>> I had some of my own patches in the 3.11 kernel. I tried the vanilla ath
>> kernel from github and it crashes when adding a second station.
>>
>> Can you (or whoever has firmware access) get something resembling a
>> stack trace from the firmware dump to see where it's crashing?
>
> I don't have access to the firmware to do such a thing.
>
>
>> Has anyone been able to successfully use more than one station with
>> ath10k so far?
>
> Well, it works for me on ath branch.
>
> I'm able to successfully associate 2 STA interfaces or a couple of AP
> interfaces through hostapd's multi bssid support.
>
> One thing you should know - it's impossible to associate with two
> ath10k STA interfaces to the same AP. This is a firmware limitation
> and I'm guessing you're trying to do that because 'Failed to add peer'
> is visible in your other logs.
I was trying to associate to the same AP. Looks like the firmware
is just too brittle at present...
Thanks,
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the ath10k
mailing list