From owner-freebsd-current@FreeBSD.ORG Fri Sep 18 23:00:03 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 8D5081065679; Fri, 18 Sep 2009 23:00:03 +0000 (UTC) (envelope-from drussell@saturn-tech.com) Received: from mxa.saturn-tech.com (mxa.saturn-tech.com [66.18.197.251]) by mx1.freebsd.org (Postfix) with ESMTP id 44DA38FC18; Fri, 18 Sep 2009 23:00:03 +0000 (UTC) Received: from mxa.saturn-tech.com (localhost [127.0.0.1]) by mxa.saturn-tech.com (8.13.8/8.13.8) with ESMTP id n8IMk7rM087199 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Fri, 18 Sep 2009 16:46:08 -0600 (MDT) (envelope-from drussell@saturn-tech.com) Received: from localhost (drussell@localhost) by mxa.saturn-tech.com (8.13.8/8.12.3/Submit) with ESMTP id n8IMk7GE087196; Fri, 18 Sep 2009 16:46:07 -0600 (MDT) (envelope-from drussell@saturn-tech.com) X-Authentication-Warning: mxa.saturn-tech.com: drussell owned process doing -bs Date: Fri, 18 Sep 2009 16:46:07 -0600 (MDT) From: Doug Russell To: freebsd-current@freebsd.org Message-ID: <20090918161938.J76791@mxa.saturn-tech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: sam@freebsd.org Subject: 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: Fri, 18 Sep 2009 23:00:03 -0000 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......