# cd /usr/src/tools/tools/ath/ # ls athctrl.sh athdebug athstats Makefile # less Makefile # $FreeBSD: src/tools/tools/ath/Makefile,v 1.5.2.1 2006/01/31 20:48:19 sam Exp $ SUBDIR= athstats athdebug .include # make ===> athstats (all) Warning: Object directory not changed from original /usr/src/tools/tools/ath/athstats cc -O -pipe -march=athlon-xp -c athstats.c cc -O -pipe -march=athlon-xp -o athstats athstats.o ===> athdebug (all) Warning: Object directory not changed from original /usr/src/tools/tools/ath/athdebug cc -O -pipe -march=athlon-xp -c athdebug.c cc -O -pipe -march=athlon-xp -o athdebug athdebug.o # make install ===> athstats (install) install -C -s -o root -g wheel -m 555 athstats /usr/local/bin ===> athdebug (install) install -C -s -o root -g wheel -m 555 athdebug /usr/local/bin # rehash # athstats -i ath1 4122 tx management frames 20 tx frames discarded prior to association 6 tx stopped 'cuz no xmit buffer 29 tx failed 'cuz FIFO underrun 322 tx failed 'cuz bogus xmit rate 2926 tx frames with rts enabled 127 rx management frames 36119 beacon setup failed 'cuz no mbuf 8475 beacons transmitted 140 periodic calibration failures 2 tx used alternate antenna Antenna profile: [2] tx 2638 rx 129 [3] tx 1473 rx 0 # athdebug -i ath1 dev.ath.1.debug: 0x0 # sysctl dev.ath.1.debug=1 dev.ath.1.debug: 0 -> 1 # athdebug -i ath1 dev.ath.1.debug: 0x1 # athdebug -i ath1 dev.ath.1.debug: 0x1 #