Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode
My new miniPCI with AR2413 in 11b mode is recognized under -current on a WRAP, but it fails to associate and sometimes locks up the entire system, as implictly warned by Reyk in his commit for src/sys/dev/ic/ath.con 19 Sept 2006. This ath(4) device is a wlm54g23 Compex WLM54G 200mW Atheros 802.11b/g miniPCI wireless card from PCEngines. Please find some debug output below, as suggested by Reyk. I am happy to provide more information, and to test patches against -current, in the hope to assist getting these newer ath chip sets to transmit also in 11b mode. Thanks, Rolf [EMAIL PROTECTED] root]# ifconfig ath0 up [EMAIL PROTECTED] root]# ifconfig ath0 ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:80:48:7e:b4:e5 groups: wlan media: IEEE802.11 autoselect (DS1 mode 11b) status: no network ieee80211: nwid FON_crosscom chan 3 bssid 00:18:84:10:62:1d 92% inet6 fe80::280:48ff:fe7e:b4e5%ath0 prefixlen 64 scopeid 0x1 [EMAIL PROTECTED] root]# ifconfig ath0 ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:80:48:7e:b4:e5 groups: wlan media: IEEE802.11 autoselect (DS1) status: no network ieee80211: nwid inet6 fe80::280:48ff:fe7e:b4e5%ath0 prefixlen 64 scopeid 0x1 [EMAIL PROTECTED] root]# [EMAIL PROTECTED] root]# ifconfig -M ath0 ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:80:48:7e:b4:e5 groups: wlan media: IEEE802.11 autoselect (DS1) status: no network ieee80211: nwid nwid FON_crosscom chan 3 bssid 00:18:84:10:62:1d 87% 54M short_preamble,short_slottime inet6 fe80::280:48ff:fe7e:b4e5%ath0 prefixlen 64 scopeid 0x1 [EMAIL PROTECTED] root]# ifconfig -M ath0 [EMAIL PROTECTED] root]# dmesg OpenBSD 4.1-current (WRAP12) #0: Sun Jun 3 11:15:57 CEST 2007 [EMAIL PROTECTED]:/home/rs/downloads/OpenBSD/flashboot/flashboot/obj/WRAP12 RTC BIOS diagnostic error 80clock_battery cpu0: Geode(TM) Integrated Processor by National Semi (Geode by NSC 586-class) 267 MHz cpu0: FPU,TSC,MSR,CX8,CMOV,MMX cpu0: TSC disabled real mem = 133791744 (127MB) avail mem = 109572096 (104MB) RTC BIOS diagnostic error 80clock_battery mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 11/08/05, BIOS32 rev. 0 @ 0xfc622 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xe/0x8000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Cyrix GXm PCI rev 0x00 ath0 at pci0 dev 13 function 0 Atheros AR2413 rev 0x01: irq 12 ath0: AR2413 7.8 phy 4.5 rf 5.6, FCC2A*, address 00:80:48:7e:b4:e5 sis0 at pci0 dev 14 function 0 NS DP83815 10/100 rev 0x00, DP83816A: irq 10, address 00:0d:b9:01:a0:a0 nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1 sis1 at pci0 dev 15 function 0 NS DP83815 10/100 rev 0x00, DP83816A: irq 9, address 00:0d:b9:01:a0:a1 nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1 sis2 at pci0 dev 16 function 0 NS DP83815 10/100 rev 0x00, DP83816A: irq 11, address 00:0d:b9:01:a0:a2 nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1 gscpcib0 at pci0 dev 18 function 0 NS SC1100 ISA rev 0x00 gpio0 at gscpcib0: 64 pins NS SC1100 SMI rev 0x00 at pci0 dev 18 function 1 not configured pciide0 at pci0 dev 18 function 2 NS SCx200 IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: CF 128MB wd0: 1-sector PIO, LBA, 125MB, 256512 sectors wd0(pciide0:0:0): using PIO mode 4 NS SCx200 AUDIO rev 0x00 at pci0 dev 18 function 3 not configured geodesc0 at pci0 dev 18 function 5 NS SC1100 X-Bus rev 0x00: iid 6 revision 3 wdstatus 0 isa0 at gscpcib0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 midi0 at pcppi0: PC speaker gscsio0 at isa0 port 0x2e/2: SC1100 SIO rev 1: ACB1 ACB2 iic0 at gscsio0 iic1 at gscsio0 lmtemp0 at iic1 addr 0x48: lm77 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom0: console biomask e1ef netmask ffef ttymask ffef rd0: fixed, 30720 blocks dkcsum: wd0 matches BIOS drive 0x80 root on rd0a swap on rd0b dump on rd0b clock: unknown CMOS layout WARNING: clock time much less than file system time WARNING: using file system time WARNING: CHECK AND RESET THE DATE! [EMAIL PROTECTED] root]# Filtered output to avoid dumping other WLAN traffic than the two MACs of interest. ':b4:e5' is my ath0, ':62:1d' is my public FONera access point, see output of 'ifconfig -M ath0' above: [EMAIL PROTECTED] root]# tcpdump -y ieee802_11_radio -eni ath0 | grep -e ':b4:e5' -e ':62:1d' tcpdump: listening on ath0, link-type IEEE802_11_RADIO 10:02:43.791541 0:18:84:10:62:1d ff:ff:ff:ff:ff:ff, bssid 0:18:84:10:62:1d: 802.11: beacon[|802.11], radiotap v0, chan 3,
Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode
Here's a dmesg from a machine with an AR2413. ifconfig -M works correctly, but it won't associate to an AP. Any update status on these chipsets? OpenBSD 4.0-current (GENERIC) #1342: Sun Jan 7 23:55:37 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 498 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 167276544 (163356K) avail mem = 144809984 (141416K) using 2072 buffers containing 8486912 bytes (8288K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(75) BIOS, date 01/14/00, BIOS32 rev. 0 @ 0xfd840, SMBIOS rev. 2.3 @ 0xe3010 (49 entries) bios0: Gateway Solo 9300 Pro apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xfd840/0x7c0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdef0/240 (13 entries) pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0x1 0xe/0x4000! acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Mobility 1 rev 0x64 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02 pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: TOSHIBA MK6014MAP wd0: 16-sector PIO, LBA, 5729MB, 11733120 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: TEAC, CD-224E, K.0B SCSI0 5/cdrom removable cd0(pciide0:1:1): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 5 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x03: SMI iic0 at piixpm0 maestro0 at pci0 dev 8 function 0 ESS Maestro 2E rev 0x10: irq 5 maestro0: maestro_read_codec() RW_DONE timed out. maestro0: resetting codec ac97: codec id 0x83847644 (SigmaTel STAC9744/45) ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D audio0 at maestro0 cbb0 at pci0 dev 10 function 0 TI PCI1450 CardBus rev 0x03: irq 9 cbb1 at pci0 dev 10 function 1 TI PCI1450 CardBus rev 0x03: irq 9 vendor 3Com, unknown product 0x1006 (class communications subclass miscellaneous, rev 0x00) at pci0 dev 12 function 0 not configured isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20 pcmcia1 at cardslot1 biomask ef65 netmask ef65 ttymask ffe7 pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 ath0 at cardbus0 dev 0 function 0 Atheros Communications, Inc., AR5001--, Wireless LAN Reference Card: irq 9 ath0: AR2413 7.8 phy 4.5 rf 5.6, WOR0W, address 00:11:50:d9:18:2c Travers Buda
Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode
Both the Belkin revision 5000 and 5100 product F5D7010 are AR2413's. Travers Buda
Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode
On 9/27/06, Reyk Floeter [EMAIL PROTECTED] wrote: On Sun, Sep 24, 2006 at 02:58:34PM +0200, Pierre Riteau wrote: On 9/19/06, Reyk Floeter [EMAIL PROTECTED] wrote: hi, i recently enabled support for some newer wireless chipsets from atheros, like the AR2413, AR5413, and AR5424 single chip solutions. please also test it if you have an intel-based mac - the integrated wireless NIC is based on the pci express AR5424 chipset. I just tested it with a snapshot from the 23th, on a 2Ghz Macbook (non Pro). Here is my dmesg : please retry with the attached diff from kettenis. you may see some 11b aps but it doesn't seem to work, yet (the channels are wrong). ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: irq 11 ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again) ath0: unable to attach hardware; HAL status 22 reyk Index: ar5212.c === RCS file: /cvs/src/sys/dev/ic/ar5212.c,v retrieving revision 1.33 diff -u -p -r1.33 ar5212.c --- ar5212.c19 Sep 2006 17:49:13 - 1.33 +++ ar5212.c24 Sep 2006 18:22:33 - @@ -304,6 +304,7 @@ ar5k_ar5212_nic_wakeup(struct ath_hal *h * Reset and wakeup the device */ +#if 0 /* ...reset chipset and PCI device */ if (hal-ah_single_chip == AH_FALSE ar5k_ar5212_nic_reset(hal, @@ -311,6 +312,7 @@ ar5k_ar5212_nic_wakeup(struct ath_hal *h AR5K_PRINT(failed to reset the AR5212 + PCI chipset\n); return (AH_FALSE); } +#endif /* ...wakeup */ if (ar5k_ar5212_set_power(hal, I patched my kernel, here are the results. - the chip gets recognized. ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: irq 11 ath0: AR5424 10.3 phy 6.1 rf 10.2, WORAW, address 00:16:cb:bd:08:f4 - My AP is 11b, it's a ral(4) (RT2560) on OpenBSD 4.0, sometimes I see one from one of my neighbours, both don't show the SSID in ifconfig. ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:16:cb:bd:08:f4 media: IEEE802.11 autoselect (OFDM6) status: no network ieee80211: nwid nwid chan 2 bssid 00:13:d3:00:43:fc 20% 11M inet6 fe80::216:cbff:febd:8f4%ath0 prefixlen 64 scopeid 0x2 - When I first start the ath0 interface, I can see probe requests. Then I found that doing `ifconfig ath0 mediaopt hostap` and then `ifconfig ath0 -mediaopt hostap` makes the probe run again. # tcpdump -y ieee802_11_radio -eni ath0 tcpdump: WARNING: ath0: no IPv4 address assigned tcpdump: listening on ath0, link-type IEEE802_11_RADIO 23:38:43.383940 0:16:cb:bd:8:f4 ff:ff:ff:ff:ff:ff, bssid ff:ff:ff:ff:ff:ff: 802.11: probe request, radiotap v0, chan 40, 11a, txpower 30dBm 23:38:43.584264 0:16:cb:bd:8:f4 ff:ff:ff:ff:ff:ff, bssid ff:ff:ff:ff:ff:ff: 802.11: probe request, radiotap v0, chan 44, 11a, txpower 30dBm 23:38:43.784279 0:16:cb:bd:8:f4 ff:ff:ff:ff:ff:ff, bssid ff:ff:ff:ff:ff:ff: 802.11: probe request, radiotap v0, chan 48, 11a, txpower 30dBm 23:38:43.984357 0:16:cb:bd:8:f4 ff:ff:ff:ff:ff:ff, bssid ff:ff:ff:ff:ff:ff: 802.11: probe request, radiotap v0, chan 1, 11b, txpower 30dBm (51 requests each time). - I also see my AP beacons. 21:37:18.686664 0:13:d3:0:43:fc ff:ff:ff:ff:ff:ff, bssid 0:13:d3:0:43:fc: 802.11: beacon, ssid (POUET), rates, ds, tim, radiotap v0, chan 8, 11b, rssi 12/64 21:37:18.789530 0:13:d3:0:43:fc ff:ff:ff:ff:ff:ff, bssid 0:13:d3:0:43:fc: 802.11: beacon, ssid (POUET), rates, ds, tim, radiotap v0, chan 8, 11b, rssi 12/64 21:37:23.397563 0:13:d3:0:43:fc ff:ff:ff:ff:ff:ff, bssid 0:13:d3:0:43:fc: 802.11: beacon, ssid (POUET), rates, ds, tim, radiotap v0, chan 8, 11b, rssi 11/64 21:37:58.417322 0:13:d3:0:43:fc ff:ff:ff:ff:ff:ff, bssid 0:13:d3:0:43:fc: 802.11: beacon, ssid (POUET), rates, ds, tim, radiotap v0, chan 8, 11b, rssi 12/64 21:37:58.519206 0:13:d3:0:43:fc ff:ff:ff:ff:ff:ff, bssid 0:13:d3:0:43:fc: 802.11: beacon, ssid (POUET), rates, ds, tim, radiotap v0, chan 8, 11b, rssi 12/64 And it goes on at the same rate. I hope it will be useful. Keep up the good work. Pierre Riteau
Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode
On 9/19/06, Reyk Floeter [EMAIL PROTECTED] wrote: hi, i recently enabled support for some newer wireless chipsets from atheros, like the AR2413, AR5413, and AR5424 single chip solutions. My AR5211 is associating with an 802.11b access point but not to an 802.11a AP or adhoc. I had a tcpdump but this laptop has some serious hardware problems and it locked up before I had a chance to save the tcpdump. I believe it showed the 802.11a AP beacons because I saw the AP's MAC address in the dump. I'm still also getting the wakeup errors. Solution is to pop out card, pop it back in, and ifconfiging. Don't know if the diffs Reyk provided on misc have already been applied to ar5211.c because I'm horrible at reading code. ar5k_ar5211_nic_wakeup: failed to resume the AR5211 (again) ath0: ath_chan_set: unable to reset channel 149 (5745 Mhz) ath0 detached cbb0: bad Vcc request. sock_ctrl 0x0, sock_status 0x3384 cbb0: bad Vcc request. sock_ctrl 0x30, sock_status 0x3b20 [EMAIL PROTECTED] ifconfig ath0 ath0: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:09:5b:40:7d:3c groups: egress media: IEEE802.11 autoselect (DS11 mode 11b) status: active ieee80211: nwid homeap chan 1 bssid 00:02:6f:08:0d:85 nwkey not displayed inet 192.168.1.14 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::209:5bff:fe40:7d3c%ath0 prefixlen 64 scopeid 0x5 OpenBSD 4.0-current (GENERIC) #1121: Fri Sep 29 14:23:08 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class) 698 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV, PAT,PSE36,MMX,FXSR,SSE real mem = 267939840 (261660K) avail mem = 236650496 (231104K) using 3296 buffers containing 13500416 bytes (13184K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(3f) BIOS, date 12/21/99, BIOS32 rev. 0 @ 0xfd820, SMBIOS rev. 2.3 @ 0xe0010 (45 entries) bios0: IBM 264841U apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 99% apm0: AC on, battery charge high apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xfd7b0/0x850 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdee0/208 (11 entries) pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #5 is the last bus bios0: ROM list: 0xc/0xc000 0xe/0x1 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 S3 Savage/IX-MV rev 0x11 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) cbb0 at pci0 dev 2 function 0 TI PCI1450 CardBus rev 0x03: irq 11 cbb1 at pci0 dev 2 function 1 TI PCI1450 CardBus rev 0x03: irq 11 ATT/Lucent LTMODEM rev 0x01 at pci0 dev 3 function 0 not configured clcs0 at pci0 dev 5 function 0 Cirrus Logic CS4280/46xx CrystalClear rev 0x01: irq 11 ac97: codec id 0x43525914 (Cirrus Logic CS4297A rev 4) ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02 pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: HITACHI_DK23AA-12B wd0: 16-sector PIO, LBA, 11509MB, 23572080 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x03: SMI iic0 at piixpm0 cbb0: bad Vcc request. sock_ctrl 0x0, sock_status 0x3b20 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 5 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask efed netmask efed ttymask ffef pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support cbb0: bad Vcc request. sock_ctrl 0x30, sock_status 0x3b20 ath0 at cardbus0 dev 0 function 0 NETGEAR WAB501 802.11a/b Wireless Adapter,
Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode
On Sun, Sep 24, 2006 at 02:58:34PM +0200, Pierre Riteau wrote: On 9/19/06, Reyk Floeter [EMAIL PROTECTED] wrote: hi, i recently enabled support for some newer wireless chipsets from atheros, like the AR2413, AR5413, and AR5424 single chip solutions. please also test it if you have an intel-based mac - the integrated wireless NIC is based on the pci express AR5424 chipset. I just tested it with a snapshot from the 23th, on a 2Ghz Macbook (non Pro). Here is my dmesg : please retry with the attached diff from kettenis. you may see some 11b aps but it doesn't seem to work, yet (the channels are wrong). ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: irq 11 ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again) ath0: unable to attach hardware; HAL status 22 reyk Index: ar5212.c === RCS file: /cvs/src/sys/dev/ic/ar5212.c,v retrieving revision 1.33 diff -u -p -r1.33 ar5212.c --- ar5212.c19 Sep 2006 17:49:13 - 1.33 +++ ar5212.c24 Sep 2006 18:22:33 - @@ -304,6 +304,7 @@ ar5k_ar5212_nic_wakeup(struct ath_hal *h * Reset and wakeup the device */ +#if 0 /* ...reset chipset and PCI device */ if (hal-ah_single_chip == AH_FALSE ar5k_ar5212_nic_reset(hal, @@ -311,6 +312,7 @@ ar5k_ar5212_nic_wakeup(struct ath_hal *h AR5K_PRINT(failed to reset the AR5212 + PCI chipset\n); return (AH_FALSE); } +#endif /* ...wakeup */ if (ar5k_ar5212_set_power(hal,
Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode
On 9/19/06, Reyk Floeter [EMAIL PROTECTED] wrote: hi, i recently enabled support for some newer wireless chipsets from atheros, like the AR2413, AR5413, and AR5424 single chip solutions. please also test it if you have an intel-based mac - the integrated wireless NIC is based on the pci express AR5424 chipset. I just tested it with a snapshot from the 23th, on a 2Ghz Macbook (non Pro). Here is my dmesg : OpenBSD 4.0-current (RAMDISK_CD) #40: Sat Sep 23 12:43:03 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Genuine Intel(R) CPU T2500 @ 2.00GHz (GenuineIntel 686-class) 2.01 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2 real mem = 503730176 (491924K) avail mem = 452964352 (442348K) using 4256 buffers containing 25288704 bytes (24696K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 07/29/05, SMBIOS rev. 2.4 @ 0xe7440 (37 entries) bios0: Apple Computer, Inc. MacBook1,1 pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xc/0xe600! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured vendor Intel, unknown product 0x27a3 (class DASP subclass Time and Frequency, rev 0x03) at pci0 dev 7 function 0 not configured Intel 82801GB HD Audio rev 0x02 at pci0 dev 27 function 0 not configured ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02 pci1 at ppb0 bus 1 mskc0 at pci1 dev 0 function 0 Marvell Yukon 88E8053 rev 0x22, Marvell Yukon-2 EC rev. A3 (0x2): irq 11 msk0 at mskc0 port A, address 00:16:cb:cb:66:74 eephy0 at msk0 phy 0: Marvell 88E Gigabit PHY, rev. 2 ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02 pci2 at ppb1 bus 2 ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: irq 11 ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again) ath0: unable to attach hardware; HAL status 22 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: irq 11 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: irq 10 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: irq 11 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2 pci3 at ppb2 bus 3 ATT/Lucent FW322 1394 rev 0x61 at pci3 dev 3 function 0 not configured ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-R UJ-857, HBE4 SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 pciide0: channel 1 disabled (no drives) pciide1 at pci0 dev 31 function 2 Intel 82801GBM SATA rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using irq 11 for native-PCI interrupt wd0 at pciide1 channel 0 drive 1: ST96812AS wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors wd0(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5 Intel 82801GB SMBus rev 0x02 at pci0 dev 31 function 3 not configured isa0 at ichpcib0 isadma0 at isa0 npx0 at isa0 port 0xf0/16: using exception 16 biomask netmask ttymask rd0: fixed, 3800 blocks uhub4: device problem, disabling port 4 uhidev0 at uhub3 port 1 configuration 1 interface 0 uhidev0: vendor 0x05ac product 0x1000, rev 2.00/19.65, addr 2, iclass 3/1 uhidev1 at uhub1 port 1 configuration 1 interface 0uhidev2 at uhub2 port 2 configuration 1 interface 0ukbd0 at uhidev0 uhidev1: Logitech Logitech USB Keyboard, rev 1.10/15.00, addr 2, iclass 3/1 uhidev2: Apple Computer, Inc. IR Receiver, rev 2.00/1.10, addr 2, iclass 3/0 ukbd1 at uhidev1 uhidev2: 38 report ids uhid at uhidev2 reportid 36 not configured uhid at uhidev2 reportid 37 not configured uhid at uhidev2 reportid 38 not
Re: ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode
Jurjen Oskam wrote: On Tue, Sep 19, 2006 at 08:21:58PM +0200, Reyk Floeter wrote: [test ath] please also test it if you have an intel-based mac - the integrated wireless NIC is based on the pci express AR5424 chipset. [...] just test -current. Are there already snapshots available with these changes? Latest snapshot (9/16/06) without these changes. Use -current.
ath(4) testers needed: AR2413, AR5413, AR5424 and AR5212 11a mode
hi, i recently enabled support for some newer wireless chipsets from atheros, like the AR2413, AR5413, and AR5424 single chip solutions. please also test it if you have an intel-based mac - the integrated wireless NIC is based on the pci express AR5424 chipset. it's not fully working, yet. my AR5413 works in 11a mode, 11b mode is still broken. please send me some test reports, your dmesg output and have a look at tcpdump. - i have a AR5413 cardbus device (PHILIPS SNN6500): ath1 at cardbus0 dev 0 function 0 Atheros Communications, Inc., AR5001--, Wireless LAN Reference Card: irq 11 ath1: AR5413 10.5 phy 6.1 rf 6.3, WOR0W, address 00:12:bf:0e:7d:36 - the interface associates to the 11a ap: # ifconfig ath1 up # ifconfig ath1 ath1: flags=8863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:12:bf:0e:7d:36 media: IEEE802.11 autoselect (OFDM54) status: active ieee80211: nwid SSID 1 chan 48 bssid 00:14:c2:b3:b1:d0 34% inet6 fe80::212:bfff:fe0e:7d36%ath1 prefixlen 64 scopeid 0x9 - i can see 11b frames, and the AR5213 gets replies to probe requests (rx/tx). nevertheless, association doesn't work, yet. # tcpdump -y ieee802_11_radio -eni ath1 tcpdump: WARNING: ath1: no IPv4 address assigned tcpdump: listening on ath1, link-type IEEE802_11_RADIO 20:13:53.753750 0:12:bf:e:7d:36 ff:ff:ff:ff:ff:ff, bssid ff:ff:ff:ff:ff:ff: 802.11: probe request, radiotap v0, chan 3, 11b, txpower 30dBm 20:13:53.756807 0:9:5b:ad:b:70 0:12:bf:e:7d:36, bssid 0:9:5b:ad:b:70: 802.11: probe response, ssid (WLAN), rates, ds, cf, erp, xrates, radiotap v0, chan 3, 11b, rssi 19/64 20:13:53.815919 0:9:5b:ad:b:70 ff:ff:ff:ff:ff:ff, bssid 0:9:5b:ad:b:70: 802.11: beacon, ssid (WLAN), rates, ds, cf, tim, erp, xrates, radiotap v0, chan 3, 11b, rssi 21/64 just test -current. reyk