* ath10k: firmware crash after setting promiscous mode
@ 2015-07-02 11:18 "Jose Núñez-Martínez (CTTC)"
2015-07-02 12:10 ` Michal Kazior
0 siblings, 1 reply; 4+ messages in thread
From: "Jose Núñez-Martínez (CTTC)" @ 2015-07-02 11:18 UTC (permalink / raw)
To: ath10k@lists.infradead.org
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:
[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
[14940.117650] ath10k_pci 0000:0c:00.0: [08]: 0x001F1294 0x00000000
0x0040CC94 0x00000020
[14940.117655] ath10k_pci 0000:0c:00.0: [12]: 0x00000000 0x00000000
0x00958360 0x0095836B
[14940.117660] ath10k_pci 0000:0c:00.0: [16]: 0x809A0978 0x0040AD94
0x00439304 0x0040D074
[14940.117664] ath10k_pci 0000:0c:00.0: [20]: 0x0000FFFF 0x00000000
0x0042E704 0x00000000
[14940.117669] ath10k_pci 0000:0c:00.0: [24]: 0x809A0978 0x0040AD94
0x00439304 0x7C4A5357
[14940.117674] ath10k_pci 0000:0c:00.0: [28]: 0x809AD1A2 0x0040ADE4
0x00439304 0x0043F68C
[14940.117678] ath10k_pci 0000:0c:00.0: [32]: 0x809B01DA 0x00000000
0x00410110 0x0041937C
[14940.117685] ath10k_pci 0000:0c:00.0: [36]: 0x00000000 0x00000000
0x00000000 0x00000000
[14940.117690] ath10k_pci 0000:0c:00.0: [40]: 0x00000000 0x00000000
0x00000000 0x00412700
[14940.117694] ath10k_pci 0000:0c:00.0: [44]: 0x00439BB8 0x00000000
0x00000000 0x00400000
[14940.117699] ath10k_pci 0000:0c:00.0: [48]: 0x809AE0B4 0x0040AE04
0x00400000 0x0043F68C
[14940.117703] ath10k_pci 0000:0c:00.0: [52]: 0x00000001 0x00000000
0x004231F0 0x00400000
[14940.117707] ath10k_pci 0000:0c:00.0: [56]: 0x809AE17E 0x0040AE44
0x0040FE6C 0x0040D310
Thanks,
Jose
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ath10k: firmware crash after setting promiscous mode
2015-07-02 11:18 ath10k: firmware crash after setting promiscous mode "Jose Núñez-Martínez (CTTC)"
@ 2015-07-02 12:10 ` Michal Kazior
2015-07-02 13:57 ` Ben Greear
0 siblings, 1 reply; 4+ messages in thread
From: Michal Kazior @ 2015-07-02 12:10 UTC (permalink / raw)
To: Jose Núñez-Martínez (CTTC); +Cc: ath10k@lists.infradead.org
On 2 July 2015 at 13:18, "Jose Núñez-Martínez (CTTC)"
<jose.nunez@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
Michał
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ath10k: firmware crash after setting promiscous mode
2015-07-02 12:10 ` Michal Kazior
@ 2015-07-02 13:57 ` Ben Greear
2015-07-02 19:40 ` José Núñez
0 siblings, 1 reply; 4+ messages in thread
From: Ben Greear @ 2015-07-02 13:57 UTC (permalink / raw)
To: Michal Kazior
Cc: "Jose Núñez-Martínez (CTTC)",
ath10k@lists.infradead.org
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@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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k
>
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ath10k: firmware crash after setting promiscous mode
2015-07-02 13:57 ` Ben Greear
@ 2015-07-02 19:40 ` José Núñez
0 siblings, 0 replies; 4+ messages in thread
From: José Núñez @ 2015-07-02 19:40 UTC (permalink / raw)
To: Ben Greear; +Cc: Michal Kazior, ath10k@lists.infradead.org
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@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@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/ath10k
>>
>
>
> --
> Ben Greear <greearb@candelatech.com>
> Candela Technologies Inc http://www.candelatech.com
>
>
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-07-02 19:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-02 11:18 ath10k: firmware crash after setting promiscous mode "Jose Núñez-Martínez (CTTC)"
2015-07-02 12:10 ` Michal Kazior
2015-07-02 13:57 ` Ben Greear
2015-07-02 19:40 ` José Núñez
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.