ath0 doesn't associate with AP

"Petr Holub" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <002d01c59e75$5ce39c70$5317fb93@KLOBOUCEK>
Hi,

I've encoutered interesting behavior of ath card with Linksys WAP-54g
acting as a wireless repeater that doesn't broadcast SSID. The ath0
device doesn't want to associate with it with the following debug
messages when debugging is turned on via sysctl:

(...device scans channels though it is set to channel 6 via ifconfig...)
Aug 11 08:21:17 kloboucek kernel: ath_chan_set: 5 (2432 MHz) -> 6 (2437 MHz)
Aug 11 08:21:17 kloboucek kernel: ath_newstate: RX filter 0x117 bssid
ff:ff:ff:ff:ff:ff
Aug 11 08:21:18 kloboucek kernel: ath_newstate: SCAN -> AUTH
Aug 11 08:21:18 kloboucek kernel: ath_chan_set: 6 (2437 MHz) -> 6 (2437 MHz)
Aug 11 08:21:18 kloboucek kernel: ath_newstate: RX filter 0x117 bssid
00:12:17:70:df:93
Aug 11 08:21:18 kloboucek kernel: ath_tx_start: m 0xc1baa300 len 34
Aug 11 08:21:18 kloboucek kernel: ath_tx_start: 0: 00000000 1f15e3e0 013c0022
0000001e 000b0000 0000001b
Aug 11 08:21:18 kloboucek kernel: ath_tx_start: TXDP0 = 0x1ef4f260 (0xe6970260)
Aug 11 08:21:18 kloboucek kernel: ath_start: ignore data packet, state 2
Aug 11 08:21:18 kloboucek kernel: ath_start: ignore data packet, state 2
Aug 11 08:21:18 kloboucek kernel: ath_newstate: AUTH -> ASSOC
Aug 11 08:21:18 kloboucek kernel: ath_chan_set: 6 (2437 MHz) -> 6 (2437 MHz)
Aug 11 08:21:18 kloboucek kernel: ath_newstate: RX filter 0x117 bssid
00:12:17:70:df:93
Aug 11 08:21:18 kloboucek kernel: ath_tx_start: m 0xc1bab200 len 58
Aug 11 08:21:18 kloboucek kernel: ath_tx_start: 0: 00000000 1f15f230 033c003a
00000036 000b0000 0000001b
Aug 11 08:21:18 kloboucek kernel: ath_tx_start: TXDP0 = 0x1ef4f680 (0xe6970680)
Aug 11 08:21:18 kloboucek kernel: ath_start: ignore data packet, state 3
Aug 11 08:21:18 kloboucek kernel: ath_start: ignore data packet, state 3
Aug 11 08:21:18 kloboucek kernel: ath0: association failed (reason 12) for
00:12:17:70:df:93
Aug 11 08:21:22 kloboucek kernel: ath_newstate: ASSOC -> SCAN
Aug 11 08:21:22 kloboucek kernel: ath_chan_set: 6 (2437 MHz) -> 6 (2437 MHz)
Aug 11 08:21:22 kloboucek kernel: ath_newstate: RX filter 0x117 bssid
ff:ff:ff:ff:ff:ff
Aug 11 08:21:22 kloboucek kernel: ath_newstate: SCAN -> SCAN
Aug 11 08:21:22 kloboucek kernel: ath_chan_set: 6 (2437 MHz) -> 7 (2442 MHz)
Aug 11 08:21:22 kloboucek kernel: ath_newstate: RX filter 0x117 bssid
ff:ff:ff:ff:ff:ff
Aug 11 08:21:23 kloboucek kernel: ath_newstate: SCAN -> SCAN
(...device goes on scannig channels...)

dmesg can be found below. Any ideas?

Thanks,
Petr

================================================================
                            Petr Holub
CESNET z.s.p.o.                       Supercomputing Center Brno
Zikova 4                             Institute of Compt. Science
162 00 Praha 6, CZ                            Masaryk University
Czech Republic                     Botanicka 68a, 60200 Brno, CZ
e-mail: [email protected]               phone: +420-549493944
                                             fax: +420-541212747
                                       e-mail: [email protected]


Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE-p1 #4: Mon Jun  6 13:32:43 CEST 2005
    [email protected]:/usr/src/sys/i386/compile/KLOBOUCEK
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1700MHz (1694.51-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5

Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLF
LUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
real memory  = 536215552 (511 MB)
avail memory = 515047424 (491 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IBM TP-1R> on motherboard
acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> port 0x66,0x62 on acpi0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82855 host to AGP bridge> mem 0xd0000000-0xdfffffff at device 0.0
on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1800-0x181f irq 11 at
device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1820-0x183f irq 11 at
device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1840-0x185f irq 11 at
device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
cbb0: <PCI-CardBus Bridge> mem 0xb0000000-0xb0000fff irq 11 at device 0.0 on
pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <PCI-CardBus Bridge> mem 0xb1000000-0xb1000fff irq 11 at device 0.1 on
pci2
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 0x8000-0x803f
mem 0xc0200000-0xc020ffff,0xc0220000-0xc023ffff irq 11 at device 1.0 on pci2
em0: Ethernet address: 00:0d:60:89:a1:da
em0:  Speed:N/A  Duplex:N/A
ndis0: <Intel(R) PRO/Wireless LAN 2100 3B Mini PCI Adapter> mem
0xc0210000-0xc0210fff irq 11 at device 2.0 on pci2
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: 00:0c:f1:1c:bf:83
ndis0: 11b rates: 11Mbps 2Mbps 1Mbps 5.5Mbps
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port
0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH4 (82801DB)> port 0x18c0-0x18ff,0x1c00-0x1cff mem
0xc0000800-0xc00008ff,0xc0000c00-0xc0000dff irq 11 at device 31.5 on pci0
pcm0: <Analog Devices AD1981B AC97 Codec>
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on
acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 8250 or not responding
ppc0: <Standard parallel printer port> port 0x3bc-0x3be irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
orm0: <ISA Option ROMs> at iomem 0xdc000-0xdffff,0xd1000-0xd1fff,0xd0000-0xd0fff
on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1694511023 Hz quality 800
Timecounters tick every 10.000 msec
em0: Link is up 100 Mbps Full Duplex
ad0: 53959MB <HTS726060M9AT00/MH4OA6BA> [109632/16/63] at ata0-master UDMA100
acd0: CDRW <TOSHIBA DVD-ROM SD-R9012/1121> at ata1-master PIO4
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TOSHIBA DVD-ROM SD-R9012 1121> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad0s2a
em0: Link is up 100 Mbps Full Duplex
ath0: <Atheros 5212> mem 0xc0240000-0xc024ffff irq 11 at device 0.0 on cardbus1
ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
ath0: Ethernet address: 00:20:a6:4c:5e:d9
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps
36Mbps 48Mbps 54Mbps
ath0: turbo rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.