* QCA6174 SDIO crashing after few days
@ 2018-01-25 19:11 Adam Porter
2018-01-26 9:35 ` Kalle Valo
0 siblings, 1 reply; 4+ messages in thread
From: Adam Porter @ 2018-01-25 19:11 UTC (permalink / raw)
To: ath10k
Firmware WLAN.RMH.4.1.1-00014-QCARMSWPZ-1
Using branch ath10k-pending-sdio-usb
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 do not see this issue when using qcacld.
I'm not sure how to begin debugging this issue, does anyone have any
advice or suggestions?
Thank you,
Adam
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: QCA6174 SDIO crashing after few days
2018-01-25 19:11 QCA6174 SDIO crashing after few days Adam Porter
@ 2018-01-26 9:35 ` Kalle Valo
2018-01-26 19:11 ` Adam Porter
0 siblings, 1 reply; 4+ messages in thread
From: Kalle Valo @ 2018-01-26 9:35 UTC (permalink / raw)
To: Adam Porter; +Cc: ath10k
Adam Porter <porter.adam@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'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?
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: QCA6174 SDIO crashing after few days
2018-01-26 9:35 ` Kalle Valo
@ 2018-01-26 19:11 ` Adam Porter
2018-02-08 20:52 ` Adam Porter
0 siblings, 1 reply; 4+ messages in thread
From: Adam Porter @ 2018-01-26 19:11 UTC (permalink / raw)
To: Kalle Valo; +Cc: ath10k
On Fri, Jan 26, 2018 at 1:35 AM, Kalle Valo <kvalo@codeaurora.org> wrote:
> Adam Porter <porter.adam@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
immediately.
Receiving data from client to AP doesn't seem to trigger this.
Not sure if this is related or some other issue.
Thank you,
Adam
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: QCA6174 SDIO crashing after few days
2018-01-26 19:11 ` Adam Porter
@ 2018-02-08 20:52 ` Adam Porter
0 siblings, 0 replies; 4+ messages in thread
From: Adam Porter @ 2018-02-08 20:52 UTC (permalink / raw)
To: Kalle Valo; +Cc: ath10k
Update to this issue, I can reliably reproduce a crash by using a
USB-Ethernet adapter.
Setup is: (c1) [ iperf client -> ethernet ] -----> (AP) [ usb-ethernet
(wan) -> wifi (lan) ] ----> (c2) [wifi -> iperf server]
This will bring down the module on the AP almost instantaneously.
_______________________________________________
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:[~2018-02-08 20:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-25 19:11 QCA6174 SDIO crashing after few days Adam Porter
2018-01-26 9:35 ` Kalle Valo
2018-01-26 19:11 ` Adam Porter
2018-02-08 20:52 ` Adam Porter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox