Get hardware queue length for wireless interface in linux kernel
Mohan, Nitinder
nitinder.mohan at helsinki.fi
Mon May 15 11:40:41 EDT 2017
Hi,
I am a Ph.D. student working on a bufferbloat resistant scheduler for Multi-Path TCP. I was unsure of which list my question would be more suitable in so I am sending this in both make-wifi-fast and bloat-dev list.
While implementing the scheduler in linux kernel, I was unable to get the current number of bytes in hardware queue for wlan interface. As currently, linux does not employ BQL for wifi devices, I could not get this value from dql->num_queued defined in dynamic_queue_limits.h. I also tried to get queue length from Queueing discipline structure i.e. qdisc->qstats.qlen defined in sch_generic.h yet it still gives me a zero value (I am getting zero values for other parameters in qstat as well so I am sure it is not because the queue length never becomes more than 0).
If you have any idea for getting queue length for wireless interfaces, please do reply. Any help would be highly appreciated.
Best Regards
Nitinder Mohan
Ph.D. student
Department of Computer Science
University of Helsinki
www.cs.helsinki.fi/~nmohan/<http://www.cs.helsinki.fi/u/nmohan/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.bufferbloat.net/pipermail/bloat-devel/attachments/20170515/21b24ee0/attachment.html>
More information about the Bloat-devel
mailing list