From owner-freebsd-current@FreeBSD.ORG Sat Sep 19 10:18:53 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68C94106566B for ; Sat, 19 Sep 2009 10:18:53 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 2C7F08FC17 for ; Sat, 19 Sep 2009 10:18:53 +0000 (UTC) Received: from Macintosh-4.local (no-reverse.redstone-isp.net [212.44.18.222] (may be forged)) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n8JAIgKs041693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 19 Sep 2009 03:18:49 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <4AB4B001.50106@freebsd.org> Date: Sat, 19 Sep 2009 11:18:41 +0100 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Doug Russell References: <20090918161938.J76791@mxa.saturn-tech.com> In-Reply-To: <20090918161938.J76791@mxa.saturn-tech.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: freebsd-current@freebsd.org Subject: Re: AR9280/9281 support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Sep 2009 10:18:53 -0000 Doug Russell wrote: > > Hello.... > > I am trying to get an Atheros wireless (sticker says AR5B91, chip says > AR9281) to work. It is detected, but can't set ssid, scan, etc. Source > is RELENG-8 from yesterday afternoon. This came in a cheesy ACER Aspire > 5735Z. > > FreeBSD beast.saturn-tech.com 8.0-RC1 FreeBSD 8.0-RC1 #1: Fri Sep 18 > 15:20:25 MDT 2009 drussell@beast.saturn-tech.com:/usr/src/sys/i386/ > compile/BEAST i386 > > --- pciconf shows: > > ath0@pci0:3:0:0: class=0x028000 card=0xe006105b chip=0x002a168c > rev=0x01 > hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'Atheros AR5B91 Wireless Network Adapter (0001)' > class = network > > --- dmesg shows: > > pci3: on pcib2 > pci3: domain=0, physical bus=3 > found-> vendor=0x168c, dev=0x002a, revid=0x01 > domain=0, bus=3, slot=0, func=0 > class=02-80-00, hdrtype=0x00, mfdev=0 > cmdreg=0x0107, statreg=0x0010, cachelnsz=16 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=11 > powerspec 2 supports D0 D1 D3 current D0 > MSI supports 1 message > MSI-X supports 1 message in map 0x10 > map[10]: type Memory, range 64, base 0xf8600000, size 16, enabled > pcib2: requested memory range 0xf8600000-0xf860ffff: good > pcib2: matched entry for 3.0.INTA > pcib2: slot 0 INTA hardwired to IRQ 17 > ath0: mem 0xf8600000-0xf860ffff irq 17 at device 0.0 on pci3 > ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xf8600000 > ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 0 vector 52 > ath0: [MPSAFE] > ath0: [ITHREAD] > ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps > 24Mbps 36Mbps 48Mbps 54Mbps > ath0: 11ng MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps > 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps > ath0: AR9280 mac 128.2 RF5133 phy 13.0 > ath0: Use hw queue 1 for WME_AC_BE traffic > ath0: Use hw queue 0 for WME_AC_BK traffic > ath0: Use hw queue 2 for WME_AC_VI traffic > ath0: Use hw queue 3 for WME_AC_VO traffic > ath0: Use hw queue 8 for CAB traffic > ath0: Use hw queue 9 for beacons > > --- ifconfig shows only the following: > > ath0: flags=8802 metric 0 mtu 2290 > ether 00:23:4e:3b:2d:9e > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > > ... if I try an ifconfig up, it says up: > > ath0: flags=8843 metric 0 mtu 2290 > ether 00:23:4e:3b:2d:9e > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > > ... but always shows no options, ssid, etc. > > All attempts to set anything say: > > ROOT beast:/home/drussell 3 > ifconfig ath0 ssid MyNet > ifconfig: SIOCS80211: Invalid argument > > Does anyone have programming docs for the 9281 and know what might be > different from the 9280? It has the same pci id but perhaps different > subdevice, etc. > > Looks very close to working.... DOH! :) > > Any ideas? > > Full dmesg, etc. available if needed. > > Thanks! > > Later...... > > man ath