Skip to contentSkip to conversation

hardware queue

ath9k-devel ferran 1 participant 1 message Jul 27, 2015

lore
Share & tools
lore

ferran

author
#0 lore raw

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