From owner-freebsd-wireless@FreeBSD.ORG Tue May 17 08:56:45 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 6DA3E106564A; Tue, 17 May 2011 08:56:45 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id EA4CA8FC1A; Tue, 17 May 2011 08:56:44 +0000 (UTC) Received: from vhoffman.lon.namesco.net (lon.namesco.net [195.7.254.102]) (authenticated bits=0) by unsane.co.uk (8.14.4/8.14.4) with ESMTP id p4H8uhXZ060724 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 17 May 2011 09:56:43 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <4DD2384B.7030102@unsane.co.uk> Date: Tue, 17 May 2011 09:56:43 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Adrian Chadd References: <1813166089.20110516155219@serebryakov.spb.ru> <4DD118BB.1080109@unsane.co.uk> <4DD12DED.3070402@unsane.co.uk> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 08:56:45 -0000 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 pci4 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=8843 metric 0 mtu 2290 ether 00:24:23:07:fb:5d media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running [root@ostracod ~]# ifconfig wlan1 wlan1: flags=8843 metric 0 mtu 1500 ether 00:24:23:07:fb:5d inet 10.10.10.1 netmask 0xffffff00 broadcast 10.10.10.255 inet6 fe80::224:23ff:fe07:fb5d%wlan1 prefixlen 64 scopeid 0x9 inet6 2001:xxx:xxxx:3::1 prefixlen 64 nd6 options=3 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid vhoff channel 11 (2462 MHz 11g) bssid 00:24:23:07:fb:5d regdomain 96 indoor ecm authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit txpower 20 scanvalid 60 protmode CTS wme burst dtimperiod 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: class=0x028000 card=0x10671a3b chip=0x002a168c >>>> rev=0x01 hdr=0x00 >>>> vendor = 'Atheros Communications Inc.' >>>> device = 'Atheros AR5B91 Wireless Network Adapter (0001)' >>>> class = network >>>> >>>> which says its >>>> (13:23:25 <~>) 0 $ grep 9280 /var/run/dmesg.boot >>>> ath0: mem 0xfebf0000-0xfebfffff irq 16 at device 0.0 on 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 enough to just grab the sys/dev/ath directory from -CURRENT, >> drop it in and make the modules or would it be simpler for me to install >> -CURRENT on an external HD for testing? >> >> Thanks, >> Vince >>> Adrian >>