From: Matti Laakso <malaakso@elisanet.fi>
To: ath10k@lists.infradead.org
Subject: Re: Re: [RFTv2 2/5] ath10k: fix wmi-htc tx credit starvation
Date: Wed, 04 Feb 2015 12:57:17 +0200 [thread overview]
Message-ID: <54D1FB0D.7020103@elisanet.fi> (raw)
In-Reply-To: <CA+BoTQnXPMT3xQ=kmV5hdXgffZUB=tBvVnsawvzLATajPzoYsg@mail.gmail.com>
> On 29 January 2015 at 02:32, YanBo <dreamfly281 at gmail.com <http://lists.infradead.org/mailman/listinfo/ath10k>> wrote:
> >/ Hi Michal,
> />/
> />/ What the conclusion about this patch, it looks like this patch not be
> />/ merged into ath10K due to introduce some unstable issue, I'v got
> />/ another issue that when move the station enter hibernate mode. the AP
> />/ will continue report message like before
> />/ [ 3958.681293] ath10k_pci 0000:01:00.0: Spurious quick kickout for STA
> />/ 00:03:7f:40:04:5b
> />/ [ 3959.681449] ath10k_pci 0000:01:00.0: Spurious quick kickout for STA
> />/ 00:03:7f:40:04:5b
> />/ [ 3960.681696] ath10k_pci 0000:01:00.0: Spurious quick kickout for STA
> />/ 00:03:7f:40:04:5b
> />/ [ 3961.681877] ath10k_pci 0000:01:00.0: Spurious quick kickout for STA
> />/ 00:03:7f:40:04:5b
> />/ [ 3962.682080] ath10k_pci 0000:01:00.0: Spurious quick kickout for STA
> />/ 00:03:7f:40:04:5b
> />/ [ 3963.682361] ath10k_pci 0000:01:00.0: Spurious quick kickout for STA
> />/ 00:03:7f:40:04:5b
> />/ [ 3964.682550] ath10k_pci 0000:01:00.0: Spurious quick kickout for STA
> />/ 00:03:7f:40:04:5b
> />/ [ 3965.682743] ath10k_pci 0000:01:00.0: Spurious quick kickout for STA
> />/ 00:03:7f:40:04:5b
> /
> The spurious STA kickout alone is most likely an aftermath of HTX Tx
> credit starvation when client was detected as inactive by hostapd and
> was subsequently disassociated. However due to starvation
> wmi-peer-delete was never sent to firmware so fw thinks the peer is
> still there.
>
> I suppose fw should be restarted when ath10k is unable to submit a
> configuration command like wmi-peer-delete. It doesn't make sense to
> continue since fw-host state loses coherency and weird things can
> start to happen (spurious sta kickout is the best known example).
>
Hi Michał,
We've received some bug reports in OpenWrt (ath10k is from last
November, firmware-3.bin_10.2-00082-4-2) about a similar issue (see e.g.
https://dev.openwrt.org/ticket/18794 ), where spurious sta kickouts are
reported, eventually leading to "number of peers exceeded" and the
inability to connect more clients. After this happens a network restart
usually causes an ath10k firmware crash. The clients that cause this are
always mobile devices which regularly go in and out of the AP range. In
my case this usually starts to happen after a couple of days' uptime.
Do you think this is the same issue? Is there something I could do to
help eventually fix this?
Matti
> >/ and there are also error message like this be happened at early time:
> />/
> />/
> />/ [ 1316.883053] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0
> />/
> />/ [ 1316.912357] ath10k_pci 0000:01:00.0: failed to transmit management
> />/ frame via WMI: -11
> />/
> />/ [ 1316.985476] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0
> />/
> />/ I suspect it is triggered as you mentioned because the HTC Tx credits
> />/ are drained
> />/ to 0 and no other commands can be submitted, if the answer is yes,
> />/ I'd hear your suggestion about whether this patch still worth to be
> />/ continue improve to solve such kinds of issue.
> /
> Yep, looks like the starvation issue.
>
> The problem with the patch is it creates ugly latencies. This has been
> reported by Avery[1] (he used/uses this patch internally for his
> purposes).
>
> Ideally mgmt frames should be sent via HTT. 10.2 is capable of sending
> raw frames via HTT so it might be possible to utilize that and forgo
> WMI mgmt tx for 10.2+. I did a proof-of-concept for raw tx on 10.2
> some time ago [2] but I'm haven't tested how it interacts with
> powersave buffering.
>
>
> [1]:http://thread.gmane.org/gmane.linux.drivers.ath10k.devel/638
> [2]:http://thread.gmane.org/gmane.linux.drivers.ath10k.devel/246
>
>
> Michał
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
next prev parent reply other threads:[~2015-02-04 10:57 UTC|newest]
Thread overview: 90+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-04 11:37 [RFT 0/4] ath10k: fix flushing and tx stalls Michal Kazior
2014-04-04 11:37 ` Michal Kazior
2014-04-04 11:37 ` [RFT 1/4] ath10k: fix wmi-htc tx credit starvation Michal Kazior
2014-04-04 11:37 ` Michal Kazior
2014-04-04 11:37 ` [RFT 2/4] ath10k: rework peer accounting Michal Kazior
2014-04-04 11:37 ` Michal Kazior
2014-04-04 11:37 ` [RFT 3/4] ath10k: wait for mgmt tx when flushing too Michal Kazior
2014-04-04 11:37 ` Michal Kazior
2014-04-04 11:37 ` [RFT 4/4] ath10k: improve tx flushing Michal Kazior
2014-04-04 11:37 ` Michal Kazior
2014-04-08 6:58 ` Kalle Valo
2014-04-08 6:58 ` Kalle Valo
2014-04-04 14:49 ` [RFT 0/4] ath10k: fix flushing and tx stalls Ben Greear
2014-04-04 14:49 ` Ben Greear
2014-04-04 18:31 ` Dave Taht
2014-04-04 18:31 ` Dave Taht
2014-04-07 9:06 ` Michal Kazior
2014-04-07 9:06 ` Michal Kazior
2014-04-07 0:30 ` Ben Greear
2014-04-07 0:30 ` Ben Greear
2014-04-07 1:05 ` Ben Greear
2014-04-07 1:05 ` Ben Greear
2014-04-07 9:11 ` Michal Kazior
2014-04-07 9:11 ` Michal Kazior
2014-04-08 2:31 ` Ben Greear
2014-04-08 2:31 ` Ben Greear
2014-04-08 5:51 ` Michal Kazior
2014-04-08 5:51 ` Michal Kazior
2014-04-08 16:02 ` Ben Greear
2014-04-08 16:02 ` Ben Greear
2014-04-09 6:25 ` Michal Kazior
2014-04-09 6:25 ` Michal Kazior
2014-04-09 17:34 ` Ben Greear
2014-04-09 17:34 ` Ben Greear
2014-04-09 19:29 ` Ben Greear
2014-04-09 19:29 ` Ben Greear
2014-04-10 3:45 ` Kalle Valo
2014-04-10 3:45 ` Kalle Valo
2014-04-09 10:48 ` [RFTv2 0/5] ath10k: " Michal Kazior
2014-04-09 10:48 ` Michal Kazior
2014-04-09 10:48 ` [RFTv2 1/5] ath10k: always request htc tx replenishment Michal Kazior
2014-04-09 10:48 ` Michal Kazior
2014-04-09 10:48 ` [RFTv2 2/5] ath10k: fix wmi-htc tx credit starvation Michal Kazior
2014-04-09 10:48 ` Michal Kazior
2015-01-29 1:32 ` YanBo
2015-01-29 1:32 ` YanBo
2015-01-29 7:57 ` Michal Kazior
2015-01-29 7:57 ` Michal Kazior
2015-01-29 16:50 ` Ben Greear
2015-01-29 16:50 ` Ben Greear
2015-02-04 10:57 ` Matti Laakso [this message]
[not found] ` <54D1FA8F.6030804@elisanet.fi>
2015-02-04 11:27 ` Michal Kazior
2014-04-09 10:48 ` [RFTv2 3/5] ath10k: rework peer accounting Michal Kazior
2014-04-09 10:48 ` Michal Kazior
2014-04-10 6:50 ` Kalle Valo
2014-04-10 6:50 ` Kalle Valo
2014-04-10 6:56 ` Michal Kazior
2014-04-10 6:56 ` Michal Kazior
2014-04-10 6:59 ` Kalle Valo
2014-04-10 6:59 ` Kalle Valo
2014-04-10 7:11 ` Michal Kazior
2014-04-10 7:11 ` Michal Kazior
2014-04-10 7:18 ` Kalle Valo
2014-04-10 7:18 ` Kalle Valo
2014-04-10 7:43 ` Michal Kazior
2014-04-10 7:43 ` Michal Kazior
2014-04-11 6:22 ` Kalle Valo
2014-04-11 6:22 ` Kalle Valo
2014-04-11 6:31 ` Kalle Valo
2014-04-11 6:31 ` Kalle Valo
2014-04-11 4:59 ` Ben Greear
2014-04-11 4:59 ` Ben Greear
2014-04-09 10:48 ` [RFTv2 4/5] ath10k: wait for mgmt tx when flushing too Michal Kazior
2014-04-09 10:48 ` Michal Kazior
2014-05-13 20:09 ` Ben Greear
2014-05-15 7:24 ` Michal Kazior
2014-05-15 10:26 ` Kalle Valo
2014-05-15 13:05 ` Ben Greear
2014-04-09 10:48 ` [RFTv2 5/5] ath10k: improve tx flushing Michal Kazior
2014-04-09 10:48 ` Michal Kazior
2014-04-09 21:46 ` [RFTv2 0/5] ath10k: ath10k: fix flushing and tx stalls Ben Greear
2014-04-09 21:46 ` Ben Greear
2014-04-09 23:58 ` Ben Greear
2014-04-09 23:58 ` Ben Greear
2014-04-10 5:10 ` Michal Kazior
2014-04-10 5:10 ` Michal Kazior
2014-04-10 5:26 ` Ben Greear
2014-04-10 5:26 ` Ben Greear
2014-04-10 8:50 ` Michal Kazior
2014-04-10 8:50 ` Michal Kazior
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=54D1FB0D.7020103@elisanet.fi \
--to=malaakso@elisanet.fi \
--cc=ath10k@lists.infradead.org \
/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.