I believe that if I could understand how the Automate Channel Selection gets it's statistics, I would be able to know if mu channel is iddle or not, and also measure that amount of time, any help or documentation on that?

Érico V. Porto


On Fri, Jul 8, 2011 at 1:31 PM, Érico Porto <ericoporto2008@gmail.com> wrote:
Any help on how to use the NL80211_CMD_GET_SURVEY would be helpful! Think this will get me the data I am looking for. 

Érico V. Porto



On Thu, Jul 7, 2011 at 10:40 AM, Érico Porto <ericoporto2008@gmail.com> wrote:
Hello,

I want to look at my channel from my mac for an amount of time X and measure the idle time Y, so I can use the ratio Y/X to do some maths... Do you guys know an easy way of doing this in a madwifi router? I have full ssh access.

I tried looking at the /sys/bus/pci/drivers/ath_pci/0000:00:11.0/net:ath0/statistics , but even though I was seeing other networks at the same channel I was - with iwlist ath0 scan - I was at 0 in all rx statistics... Perhaps I need to make the interface transparent in some way.

thanks

Érico V. Porto