I still haven't finished adding the freebsd diagnostic API to the AR9300 HAl.

I'll see what I can do about it this weekend.


-a


On 20 March 2015 at 20:52,  <lsrz2...@sina.com> wrote:
> 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@wlan:/ # athsurvey -i ath0athsurvey: ioctl: ath0: Invalid argument
> root@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@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@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@wlan:/ # sysctl dev.ath.1.debugdev.ath.1.debug: 9223372036854775807
> root@wlan:/ # sysctl dev.ath.0.debugdev.ath.0.debug: 9223372036854775807
> root@wlan:/ # sysctl hw.ath.debug
> hw.ath.debug: 4294967295
>
>
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
_______________________________________________
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to