From mboxrd@z Thu Jan 1 00:00:00 1970 From: ferran Date: Mon, 27 Jul 2015 20:20:52 +0200 Subject: [ath9k-devel] hardware queue Message-ID: <55B67684.3040706@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi there, I am monitoring the debugfs ath9k_htc/queue file to detect high use of an AR9271 wifi dongle. When I inject traffic through it, I see that Best-Effort queue gets constantly filled and emptied, while the other queues remain empty. My problem is that the value "Data BE endpoint" keeps going down to zero, and it makes a false-negative for my watchdog. I also could code a simple memory system, but before that I am trying to get the best data source. As a detail, I am polling debugfs every 100ms, but it doesn't look to update that fast. So, is there any way to get more accurate info on the occupancy of the queues? If not, my aim is to detect a full-load of the dongle, so any suggestions in this direction are more than welcome. Regards, Ferran