Subject: Re: ath driver and wep
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Sam Leffler <sam@errno.com>
List: current-users
Date: 10/01/2005 20:08:37
Sam Leffler wrote:

> I've got a useful 
> program called 80211debug (aka wlandebug) that lets you manipulate 
> things symbolically; e.g.
> 
> 80211debug will
> 
> turns on state debugging (to the console) for ath0 (the default device). 
>  I haven't located the tool in the netbsd code base (yet).

Wow, where did that come from?  Should've been

80211debug state

On freebsd the program is found in tools/tools/ath; e.g.

/usr/src/tools/tools/ath/80211debug -?
usage: /usr/src/tools/tools/ath/80211debug [-i device] [flags]
where flags are:
debug
dumppkts
crypto
input
xrate
elemid
node
assoc
auth
scan
output
state
power
dotx1
dot1xsm
radius
raddump
radkeys
wpa
acl
wme
superg
doth
inact
roam

You can specify flags directly, e.g.

80211debug scan+assoc

or add/subtract flags using + and -; e.g.

80211debug +auth-scan

to change the above to

80211debug assoc+auth

There's also a similar program called athdebug for debug bits in the ath 
driver.

	Sam