<div dir="ltr">Hi,<div>Thanks for the reply!  I've also emailed the ath10k and linux-wireless list and waiting to hear back suggestions. </div><div>In the meantime can you educate me how the aqm queue interacts with wifi driver? Is that the driver pulls from the queue from time to time, instead of aqm pushes to the network interface? How often or what triggers the driver to pull?</div><div>I hope I can verify that if you can point me to the code to check that :)</div><div>And, for the queue itself, how long it's supposed to drop packets and clean up? It seems that when it's full, it notifies back-pressure to the socket instead of simply dropping the packets from the head or the tail of the queue?</div><div><br></div><div>Many thanks!</div><div>Joshua</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 12, 2019 at 2:18 AM Toke Høiland-Jørgensen <<a href="mailto:toke@redhat.com">toke@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Joshua Zhao <<a href="mailto:swzhao@gmail.com" target="_blank">swzhao@gmail.com</a>> writes:<br>
<br>
> Hi,<br>
> I run into a weird symptom that occasionally the aqm tx queue can get stuck<br>
> for quite long time (maybe around 30min).  What happened is that we're<br>
> sending a low bandwidth UDP traffic from the host to multiple peers over a<br>
> WiFi radio simultaneously. We're running opensource mac80211 + ath10k<br>
> driver. Very occasionally when there are temporary issues causing trouble<br>
> on the host sending to one of the peers, the queue to all peers can get<br>
> stuck and stay stuck for quite long (even though the link trouble had been<br>
> gone or TX had been stopped). Only after quite a while, then the queue<br>
> cleans up.<br>
<br>
This sorta sounds like a driver bug where the queue doesn't get<br>
restarted after the issue is resolved? I'd suggest you email the ath10k<br>
(<a href="mailto:ath10k@lists.infradead.org" target="_blank">ath10k@lists.infradead.org</a> - maybe cc <a href="mailto:linux-wireless@vger.kernel.org" target="_blank">linux-wireless@vger.kernel.org</a><br>
and this list) with a description of the issue that triggers this bug,<br>
as well as system details (hardware model, firmware version and kernel<br>
version).<br>
<br>
-Toke<br>
</blockquote></div>