QCA6174 SDIO crashing after few days

Adam Porter porter.adam at gmail.com
Fri Jan 26 11:11:44 PST 2018

On Fri, Jan 26, 2018 at 1:35 AM, Kalle Valo <kvalo at codeaurora.org> wrote:
> Adam Porter <porter.adam at gmail.com> writes:
>> Firmware WLAN.RMH.4.1.1-00014-QCARMSWPZ-1
>> Using branch ath10k-pending-sdio-usb
> What commit id? BTW, I'm planning to add a tag everytime I rebase that
> branch so that it's easier to find older commits and identify what
> version is used.

I apologize for not having the specific id; I scrubbed the git info
when I added the code to my build system.
I grabbed the code when the branch was first published before any rebase.

>> I'm using this module as an access point. After a while of uptime, it
>> appears that all communication with the module ceases. Hostapd goes to
>> disassociate clients due to inactivity, then I see in the log the
>> resulting failures:
>> [94216.098042] ath10k_sdio mmc0:0001:1: failed to install key for vdev
>> 0 peer c8:21:58:10:b3:b4: -110
>> [94219.170075] ath10k_sdio mmc0:0001:1: failed to install key for vdev
>> 0 peer b8:27:eb:f2:52:22: -110
>> [94219.191719] ath10k_sdio mmc0:0001:1: cipher 0 is not supported
>> [94219.207948] ath10k_sdio mmc0:0001:1: failed to remove peer wep key 0: -95
>> [94219.222155] ath10k_sdio mmc0:0001:1: failed to clear all peer wep
>> keys for vdev 0: -95
>> [94219.237937] ath10k_sdio mmc0:0001:1: failed to disassociate
>> station: c8:21:58:10:b3:b4 vdev 0: -95
>> It seems that I can reproduce this issue faster by connecting more
>> clients and pushing a lot of throughput. So perhaps this is a resource
>> leak in the firmware?
> I would blame ath10k first :) Can you estimate how much data needs to be
> transferred before this happens?

It varies wildly. I've entered this state after 24 hours of pinging
google, but on another test
it took more than 48 hours with tens of gigabytes of data transferred.
In general though, the more data being transmitted from AP to clients
the more likely
this issue will appear.

During debugging I found that having ATH10K_DBG_SDIO_DUMP enabled when
using iperf to send data from AP to client triggers this state almost
Receiving data from client to AP doesn't seem to trigger this.
Not sure if this is related or some other issue.

Thank you,

More information about the ath10k mailing list