From owner-freebsd-wireless@FreeBSD.ORG Sat Mar 21 03:58:09 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB5B8323 for ; Sat, 21 Mar 2015 03:58:09 +0000 (UTC) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FFCBC0D for ; Sat, 21 Mar 2015 03:58:09 +0000 (UTC) Received: by ignm3 with SMTP id m3so2945313ign.0 for ; Fri, 20 Mar 2015 20:58:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=2isVrOtL1bowdN3r0NxBxQ2Gdbfc/w4Qhju4JIzzVgY=; b=ZsYfnJOTZvWjSxQwWr4XIkeRCQ6eYa5+9ZQbV9+p4OGgJhP0/XaCC8HHOFZn1mmUkl y4X95w63uyjvOfR5KvgTUykotWkdMwtDQZjrdro9T6MU7PcvlNMM26RKvt0q6z7Lt0AB i+zgaW0ELYntlhBvkcNPHoDpcmh/VMBEWxxVzNEznTgLIXSyCOxKHWq5GZV/B0SNx0cG tLxJvrRUlHC6SXGmOzv/8k7OiMqUpRbnNn7XK1KyVTrJFvO6opDMRcWw/04WTuYQSLOw VhhjqoYqrtGxryt6QUAgf2UA5wwJZfiZzA0s04ESm6qxOtfK+QgK1m9WyTc+tJwlgtfE j0nw== MIME-Version: 1.0 X-Received: by 10.50.143.42 with SMTP id sb10mr1103686igb.49.1426910288757; Fri, 20 Mar 2015 20:58:08 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.17.194 with HTTP; Fri, 20 Mar 2015 20:58:08 -0700 (PDT) In-Reply-To: <20150321035234.D61A94062F@webmail.sinamail.sina.com.cn> References: <20150321035234.D61A94062F@webmail.sinamail.sina.com.cn> Date: Fri, 20 Mar 2015 20:58:08 -0700 X-Google-Sender-Auth: RC7i_DuhBUQEyPRpK7MGnSKLd4M Message-ID: Subject: Re: athsurvey can't run with AR9380 and AR9285 card From: Adrian Chadd To: lsrz2006@sina.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2015 03:58:09 -0000 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, 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"