athsurvey can't run with AR9380 and AR9285 card

lsrz2006 at sina.com lsrz2006 at sina.com
Sat Mar 21 03:52:44 UTC 2015


Hello everyone.
I have a box with two wlan card, one is AR9380 and another is AR9285. The athsurvey is normal in AR9285, but has an ioctl error in AR9380.I follow the dev/ath/debuggin in freebsd wiki: https://wiki.freebsd.org/dev/ath%284%29/Debugging,  does I have some mistakes?

root at wlan:/ # athsurvey -i ath0athsurvey: ioctl: ath0: Invalid argument
root at wlan:/ # athsurvey -i ath1         min                   avg                   max
  tx%  rx%  bc%  ec%    tx%  rx%  bc%  ec%    tx%  rx%  bc%  ec%
( 0.0  0.0  0.0 95.7) ( 0.9  0.1  1.0 99.0) ( 4.0  0.7  4.3 100.0)
( 0.0  0.0  0.0 96.8) ( 0.8  0.2  1.0 99.0) ( 3.1  2.6  3.2 100.0)
( 0.0  0.0  0.0 87.3) ( 1.2  0.2  1.4 98.6) (12.5  2.6 12.8 100.0)
( 0.0  0.0  0.0 87.3) ( 1.2  0.2  1.4 98.5) (12.5  2.6 12.8 100.0)


ath0 at pci0:1:0:0:        class=0x028000 card=0x3112168c chip=0x0030168c rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR9300 Wireless LAN adaptor'
    class      = network
ath1 at pci0:2:0:0:        class=0x028000 card=0x3040103c chip=0x002b168c rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR9285 Wireless Network Adapter (PCI-Express)'


root at wlan:/ # sysctl dev.ath.1.debugdev.ath.1.debug: 9223372036854775807
root at wlan:/ # sysctl dev.ath.0.debugdev.ath.0.debug: 9223372036854775807
root at wlan:/ # sysctl hw.ath.debug
hw.ath.debug: 4294967295




More information about the freebsd-wireless mailing list