From owner-freebsd-wireless@FreeBSD.ORG Tue May 17 09:02:04 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A29F7106564A for ; Tue, 17 May 2011 09:02:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 578D58FC12 for ; Tue, 17 May 2011 09:02:03 +0000 (UTC) Received: by gwb15 with SMTP id 15so97803gwb.13 for ; Tue, 17 May 2011 02:02:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=FiWr0gcjL87GoNGiKemLkyJG/5SPFZp8XPwGH3Q8hMw=; b=GYGJ4OagKQdEtQEjExiMkyz2cw5CsgynSnzVX1X1GTq7XiYgemtdHFoSa8c55q8Rxl yiKT/uG8bLdov1Ae80TAB7dfNjcg5Xmw7vsAxIDKY0Y0oORFSqZwtO2BoRxvFoLfGiLJ 1vGhj7nnJkygLdlAUHkRz2Qq6PWQtmb0tHIUs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=EAwLHtesNjYKbSY+kh8KuNhwWjqcyCxrrV6C8bomU8PG5pDv1u/vZbtC0ueyCHnntq VkKKQvvR69gRjSRG/yckpAKNIamLde2oBcah2JNQvjZjRQLS9XQ+Cvk9xvU0o3CaOo9S 195kxJnh7u4vz2L7EKD2f9RpNFO7c5A5x/K4s= MIME-Version: 1.0 Received: by 10.150.13.8 with SMTP id 8mr277268ybm.418.1305622923427; Tue, 17 May 2011 02:02:03 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.91.12 with HTTP; Tue, 17 May 2011 02:02:03 -0700 (PDT) In-Reply-To: <4DD2384B.7030102@unsane.co.uk> References: <1813166089.20110516155219@serebryakov.spb.ru> <4DD118BB.1080109@unsane.co.uk> <4DD12DED.3070402@unsane.co.uk> <4DD2384B.7030102@unsane.co.uk> Date: Tue, 17 May 2011 17:02:03 +0800 X-Google-Sender-Auth: S9xDWk2jcutNdr_L7KufnaNEb1w Message-ID: From: Adrian Chadd To: Vincent Hoffman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: Ubiquiti SR71-E (ar9280) support? Or, maybe, other Mini-PCIe high-power WiFi card? X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 17 May 2011 09:02:04 -0000 Nope, just keep an eye out for when I push out further ath changes to -HEAD= . :) Thanks! Adrian On 17 May 2011 16:56, Vincent Hoffman wrote: > On 16/05/2011 15:18, Adrian Chadd wrote: >> Checkout from -HEAD: >> >> sys/dev/ath/ >> sys/modules/ath >> sys/modules/ath_pci >> >> Make sure your -8 source is in /usr/src. :) >> >> Go into sys/modules/ath and make ; same with sys/modules/ath_pci && >> make ; then just unload your current if_ath.ko, load if_ath.ko and >> if_ath_pci.ko. It should be good to go. >> > All good so far, > [root@ostracod ~]# dmesg | egrep '(ath|wlan)' > wlan: mac acl policy registered > ath0: mem 0xfebf0000-0xfebfffff irq 16 at device 0.0 on pc= i4 > ath0: [ITHREAD] > ath0: AR9280 mac 128.2 RF5133 phy 13.0 > wlan1: Ethernet address: 00:24:23:07:fb:5d > [root@ostracod ~]# ifconfig ath0 > ath0: flags=3D8843 metric 0 mtu 2= 290 > =A0 =A0 =A0 =A0ether 00:24:23:07:fb:5d > =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <= hostap> > =A0 =A0 =A0 =A0status: running > [root@ostracod ~]# ifconfig wlan1 > wlan1: flags=3D8843 metric 0 mtu = 1500 > =A0 =A0 =A0 =A0ether 00:24:23:07:fb:5d > =A0 =A0 =A0 =A0inet 10.10.10.1 netmask 0xffffff00 broadcast 10.10.10.255 > =A0 =A0 =A0 =A0inet6 fe80::224:23ff:fe07:fb5d%wlan1 prefixlen 64 scopeid = 0x9 > =A0 =A0 =A0 =A0inet6 2001:xxx:xxxx:3::1 prefixlen 64 > =A0 =A0 =A0 =A0nd6 options=3D3 > =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <= hostap> > =A0 =A0 =A0 =A0status: running > =A0 =A0 =A0 =A0ssid vhoff channel 11 (2462 MHz 11g) bssid 00:24:23:07:fb:= 5d > =A0 =A0 =A0 =A0regdomain 96 indoor ecm authmode WPA privacy MIXED deftxke= y 2 > =A0 =A0 =A0 =A0TKIP 2:128-bit txpower 20 scanvalid 60 protmode CTS wme bu= rst > =A0 =A0 =A0 =A0dtimperiod 1 -dfs > > > Any tests I can run in particular that would be useful? > iperf give a pretty consistent 26.0 Mbits/sec between the server > (dualcore atom 330 @1.6GHz) and my laptop (macbook pro core i7 @2.66Ghz) > > > Vince > >> Adrian >> >> >> On 16 May 2011 22:00, Vincent Hoffman wrote: >>> On 16/05/2011 13:53, Adrian Chadd wrote: >>>> 2011/5/16 Vincent Hoffman : >>>> >>>> >>>>> Havent got that particular card, I have >>>>> ath0@pci0:4:0:0: =A0 =A0class=3D0x028000 card=3D0x10671a3b chip=3D0x0= 02a168c >>>>> rev=3D0x01 hdr=3D0x00 >>>>> =A0 =A0vendor =A0 =A0 =3D 'Atheros Communications Inc.' >>>>> =A0 =A0device =A0 =A0 =3D 'Atheros AR5B91 Wireless Network Adapter (0= 001)' >>>>> =A0 =A0class =A0 =A0 =A0=3D network >>>>> >>>>> which says its >>>>> (13:23:25 <~>) 0 $ grep 9280 /var/run/dmesg.boot >>>>> ath0: mem 0xfebf0000-0xfebfffff irq 16 at device 0.0 o= n pci4 >>>>> ath0: AR9280 mac 128.2 RF5133 phy 13.0 >>>>> >>>> Would you mind trying the ath driver from -HEAD and see if it's >>>> better/worse/same? >>>> >>>> I'm worried about introducing regressions in the -HEAD ath code. In >>>> particular, AR9280/AR9285 was missing complete TX and board >>>> calibration code which may have caused some issues like TX distortion. >>>> I'd like to make sure those are fixed. >>>> >>> I'll give it a try when i can but I'm moving house in about 2 weeks so >>> life's a little busy just now :) >>> Is it =A0enough to just grab the sys/dev/ath =A0directory from -CURRENT= , >>> drop it in and make the modules or would it be simpler for me to instal= l >>> -CURRENT on an external HD for testing? >>> >>> Thanks, >>> Vince >>>> Adrian >>> > >