Re: ath10k wake_tx_queue issues

2018-05-17 Thread Niklas Cassel
On Wed, May 16, 2018 at 07:28:21PM +0200, Erik Stromdahl wrote: > Hello Niklas > > Quick question: > Are you using my patch: "ath10k: add htt_tx num_pending window"? Nope, but I definitely think that your patch should be merged, since the current code can lock/unlock/lock a lot of times for no

Re: ath10k wake_tx_queue issues

2018-05-16 Thread Erik Stromdahl
Hello Niklas Quick question: Are you using my patch: "ath10k: add htt_tx num_pending window"? I assume (from your logs below) that you are not... See more comments below. I guess the best way to describe this is to show my ftrace buffer: ksoftirqd/2-21[002] .ns474.711744:

Re: ath10k wake_tx_queue issues

2018-05-16 Thread Toke Høiland-Jørgensen
Niklas Cassel writes: > [ .. snip .. ] >> > Sure, the regular way ath10k_mac_op_wake_tx_queue is called is via >> > ieee80211_subif_start_xmit => __ieee80211_subif_start_xmit => >> > ieee80211_xmit_fast >> > => ieee80211_queue_skb => drv_wake_tx_queue. >> > >> > But I

Re: ath10k wake_tx_queue issues

2018-05-16 Thread Alexander Wetzel
Hello, This sounds exactly like the issue I just submitted a patch for. Can you test https://patchwork.kernel.org/patch/10399613/ if that solves the issue? Am 15.05.2018 um 22:31 schrieb Niklas Cassel: > On Tue, May 15, 2018 at 04:13:48PM +0200, Toke Høiland-Jørgensen wrote: >> [ Adding Felix

Re: ath10k wake_tx_queue issues

2018-05-15 Thread Niklas Cassel
On Tue, May 15, 2018 at 04:13:48PM +0200, Toke Høiland-Jørgensen wrote: > [ Adding Felix ] > > > Niklas Cassel writes: > > > Hello mac80211 and ath10k people > > > > Using ath10k, TX stops working when running iperf > > > > [ 3] 0.0- 1.0 sec 2.00 MBytes 16.8

Re: ath10k wake_tx_queue issues

2018-05-15 Thread Toke Høiland-Jørgensen
[ Adding Felix ] Niklas Cassel writes: > Hello mac80211 and ath10k people > > Using ath10k, TX stops working when running iperf > > [ 3] 0.0- 1.0 sec 2.00 MBytes 16.8 Mbits/sec > [ 3] 1.0- 2.0 sec 3.12 MBytes 26.2 Mbits/sec > [ 3] 2.0- 3.0 sec 3.25 MBytes

Re: ath10k wake_tx_queue issues

2018-05-15 Thread Ben Greear
On 05/15/2018 06:45 AM, Niklas Cassel wrote: Hello mac80211 and ath10k people Using ath10k, TX stops working when running iperf What kernel and firmware and ath10k hardware are you using? Does the same thing happen on older kernels? I had some issues with ath9k having some sort of tx-hang,