[OpenWrt-Devel] Monitoring Downlink Queue

Michael Richardson mcr at sandelman.ca
Thu Jan 28 17:20:11 EST 2016


Nimantha Baranasuriya <nimanthab at gmail.com> wrote:
    > Thanks, Javier for the quick response.

    > I was thinking of tapping into OpenWRT where the code would process outgoing
    > frames and queue them to be transmitted to the clients for which they

The point of telling you that it's a linux system is to say that there isn't
anyu "OpenWRT where the code would process".  It's the Linux kernel.

tc would let you introduce new qdisc's and you could perhaps create some
counters, but it will likely be before the hardware TX queue.
(if BQL / fq_codel are doing their thing, the hardware TX queue will be very
short... but maybe that's what you are trying to determine)

I suggest that you probably need to get into the ath9k driver, and add some
counters, or perhaps you'll find counters that are already there.




    > destined. Do you think I am better off using a tool like tc
    > (http://linux.die.net/man/8/tc) rather than doing the former?



    > -Nimantha

    > On Jan 28, 2016, at 10:47 PM, Javier Domingo Cansino
    > <javierdo1 at gmail.com> wrote:



    > That is a linux thing, I mean, you need to know how to do that in
    > standard linux. Openwrt is just a normal linux system. The only
    > difference is that you are provided with a toolchain to generate
    > customized images.





    > On Thu, Jan 28, 2016 at 5:10 PM Nimantha Baranasuriya
    > <nimanthab at gmail.com> wrote:

    > Hi,

    > I am new to OpenWRT and I am working on a research project for which
    > I need to monitor and log the number of frames in the downlink queue
    > of the WiFi interface of the router every so often. Can someone
    > please help me to get this done?

    > Thank you,
    > Nimantha
    > _______________________________________________
    > openwrt-devel mailing list
    > openwrt-devel at lists.openwrt.org
    > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



    > _______________________________________________
    > openwrt-devel mailing list
    > openwrt-devel at lists.openwrt.org
    > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     mcr at sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list