Date: Fri, 20 Mar 2015 20:58:08 -0700 From: Adrian Chadd <adrian@freebsd.org> To: lsrz2006@sina.com Cc: freebsd-wireless <freebsd-wireless@freebsd.org> Subject: Re: athsurvey can't run with AR9380 and AR9285 card Message-ID: <CAJ-VmomugSAv28qQqbzUBW-sgo7SuXr6mwzOR=YH0ojVeeeHWg@mail.gmail.com> In-Reply-To: <20150321035234.D61A94062F@webmail.sinamail.sina.com.cn> References: <20150321035234.D61A94062F@webmail.sinamail.sina.com.cn>
next in thread | previous in thread | raw e-mail | index | archive | help
I still haven't finished adding the freebsd diagnostic API to the AR9300 HA= l. I'll see what I can do about it this weekend. -a On 20 March 2015 at 20:52, <lsrz2006@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 t= he dev/ath/debuggin in freebsd wiki: https://wiki.freebsd.org/dev/ath%284%2= 9/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=3D0x028000 card=3D0x3112168c chip=3D0x00301= 68c rev=3D0x01 hdr=3D0x00 > vendor =3D 'Atheros Communications Inc.' > device =3D 'AR9300 Wireless LAN adaptor' > class =3D network > ath1@pci0:2:0:0: class=3D0x028000 card=3D0x3040103c chip=3D0x002b1= 68c rev=3D0x01 hdr=3D0x00 > vendor =3D 'Atheros Communications Inc.' > device =3D '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-unsubscribe@freebsd.or= g"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomugSAv28qQqbzUBW-sgo7SuXr6mwzOR=YH0ojVeeeHWg>