AR9280/9281 support

Doug Russell drussell at saturn-tech.com
Fri Sep 18 23:00:03 UTC 2009


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 at beast.saturn-tech.com:/usr/src/sys/i386/
compile/BEAST   i386

--- pciconf shows:

ath0 at 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: <ACPI PCI bus> 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: <Atheros 9280> 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<BROADCAST,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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......						<Doug>


More information about the freebsd-current mailing list