Subject: Re: preliminary port of some ath tools
To: Sam Leffler <sam@errno.com>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 10/23/2005 22:20:00
In message <435C433A.3060502@errno.com>, Sam Leffler writes:
>Steven M. Bellovin wrote:
>> I've ported a few of the FreeBSD tools for ath and 802.11 monitoring.
>> Testing thus far has been minimal.  You can find them at
>> http://www.machshav.com/~smb/ath-tools/.  I have not attempted
>> to figure out where they should fit in our source tree, nor do the
>> #include files reflect any location in the tree.  My testing was
>> done on 3.99.9 from about a month ago.
>> 
>> 80211debug has a problem with its sysctls; I neither know what
>> it's trying to accomplish nor do I know what a % in sysctlbyname means
>> in that version of FreeBSD.  (I can probably figure it out now that
>> I'm back online, but I did my work on a airplane...)  80211stats
>> has lots of undefined symbols, and I haven't found where, if anywhere,
>> NetBSD keeps its equivalents.  It's possible that 'ifconfig -v'
>> subsumes it.
>
>This is probably the backpointer from the wlan sysctl tree to the 
>device.  That is net80211 instances have a separate sysctl hierarchy 
>distinct from the underyling device for future compatibility with vap's 
>(where you can have multiple instances per-device).

So I'd assumed, but it wasn't clear to me which node you eventually 
wanted to get at.  When I run sysctl -a|egrep '802|ath|wlan' |grep debug
I get

net.link.ieee80211.debug = 0
net.link.ieee80211.rssadapt.debug = 0
net.link.ieee80211.vap0.debug = 0
hw.ath.debug = 0
hw.ath0.debug = 0

Which is being tweaked here?

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb