TR : ath10k: firmware crash in station mode

Tim Harvey tharvey at gateworks.com
Fri May 23 23:29:43 PDT 2014


On Fri, May 23, 2014 at 9:03 AM, Ben Greear <greearb at candelatech.com> wrote:
> On 05/23/2014 08:36 AM, Yeoh Chun-Yeow wrote:
>> Based on my testing, due to firmware 636 is not able to support
>> standalone monitor mode, and bridge requires promiscuous mode, it
>> would crash. Then, I have tested with AP firmware and it works well.
>> But then, I have not up the node for long time.
>>
>> By the way, I am associating the AP before setting "iw dev wlan0 set
>> 4addr on" and bridge it.
>
> Well, if nothing else, you could try my firmware, with a small patch to
> make it work on standard kernels.  If you can crash it, send me the
> firmware crash message and I'll see if I can fix it.
>
> Current binary is non-commercial, but I will shortly have a free-for-whatever-use
> binary that has everything except the multiple-vif-to-same-ap-with-encryption
> feature.  Virtually no one except folks like us doing wifi testing equipment
> needs that feature....
>
> My firmware has been fairly well tested with my patched kernel and in
> station and AP mode.  I'm sure there are still bugs, but I will try
> to fix them, at least.
>
> http://www.candelatech.com/vsta.php
>
> Thanks,
> Ben
>

Ben,

I tried using your firmware on a 3.14 kernel without any luck. I don't
see any errors, but the sta never associates nor see's any ap on scan.
I followed http://www.candelatech.com/vsta.php step 4 and step 6 and
did this on OpenWrt, so the udev stuff doesn't apply.

What we really need here is for QCA to step up to the plate and fix
their firmware... or better yet open it up and let the community fix
what they can't! This is really holding ath10k and QCA988x back. We
have customers looking for alternatives after getting a rude awakening
to ath10k.

Kalle - Will QCA make some sort of statement as to what the plans are
with this firmware? Will there be updates? Will the features be merged
into a single firmware? Will it be opened up so that the community can
improve the product?

Regards,

Tim

>
>>
>> ----
>> Chun-Yeow
>>
>> On Fri, May 23, 2014 at 10:55 PM, Vu Hai NGUYEN
>> <vh.nguyen at actiasodielec.fr> wrote:
>>>> Yes, you can do it with firmware 10.1.467.2-1 but not firmware 999.999.0.636.
>>>
>>> They all crashed, but the 999 crashed sooner (even before associated with the AP) , I've posted it the logs before for Michal Kazior. Here is my old email:
>>> http://lists.infradead.org/pipermail/ath10k/2014-May/002042.html
>>>
>>>>> This is NULL dereference in firmware. I suspect it's an incomplete
>>>>> driver-firmware setup (i.e. some commands weren't issued or were
>>>>> invalid).
>>>
>>>>> Can you enable debug logs ( echo 0xffffff3f | sudo tee /sys/module/ath10k_core/parameters/debug_mask ) before you try to
>>>>> associate and post logs, please? I'd like to see command sequence sent
>>>>> to firmware before the crash happens.
>>>
>>>> I enable directly the debug_mask when I load the module "modprobe ath10k_core.ko debug_mask=0x0xffffff3f" (I thought it is the same thing like what you do, right?).
>>>> You can found de debug mess in the attached file (debug_10-1.txt). (line 3007: wlan0: associated and then in line 3008: ath10k: firmware crashed!)
>>>
>>>>> Can you post the crash logs (as noted above) when you try the 999
>>>>> branch too, please? It seems 999 crashes sooner than 10.1. It might be
>>>>> helpful to see the different crash points.
>>>
>>>> Yes it crashed sooner. There are no wlan0: associated in the debug message. (attached file: debug_999.txt).
>>>
>>>
>>> NGUYEN Vu Hai
>>> Acita-Sodielec
>>> Route de Mayres - B.P. 9
>>> 12100 St GEORGES DE LUZENCON
>>> FRANCE
>>>
>>
>> _______________________________________________
>> 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