Re: [OpenWrt-Devel] Monitoring Downlink Queue

2016-01-28 Thread Javier Domingo Cansino
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 
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@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Monitoring Downlink Queue

2016-01-28 Thread Nimantha Baranasuriya
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@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Monitoring Downlink Queue

2016-01-28 Thread Michael Richardson
Nimantha Baranasuriya  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
>  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
>  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@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



> ___
> openwrt-devel mailing list
> openwrt-devel@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  [
] m...@sandelman.ca  http://www.sandelman.ca/|   ruby on rails[
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Monitoring Downlink Queue

2016-01-28 Thread Nimantha Baranasuriya
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 are 
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  
> 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  > 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@lists.openwrt.org 
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel 
> 

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel