All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Michal Kazior <michal.kazior@tieto.com>
Cc: "\"Jose Núñez-Martínez (CTTC)\"" <jose.nunez@cttc.cat>,
	"ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: ath10k: firmware crash after setting promiscous mode
Date: Thu, 02 Jul 2015 06:57:00 -0700	[thread overview]
Message-ID: <5595432C.9030202@candelatech.com> (raw)
In-Reply-To: <CA+BoTQnfaYsXKc8dpiR4r9pd=K88P8mTNB1pJetQgN-n2HkhYw@mail.gmail.com>

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

  reply	other threads:[~2015-07-02 13:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2015-07-02 19:40     ` José Núñez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5595432C.9030202@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=ath10k@lists.infradead.org \
    --cc=jose.nunez@cttc.cat \
    --cc=michal.kazior@tieto.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.