From owner-freebsd-mobile@FreeBSD.ORG Thu Aug 11 13:05:39 2005 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5961116A41F for ; Thu, 11 Aug 2005 13:05:39 +0000 (GMT) (envelope-from hopet@ics.muni.cz) Received: from tirith.ics.muni.cz (tirith.ics.muni.cz [147.251.4.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1D3243D48 for ; Thu, 11 Aug 2005 13:05:38 +0000 (GMT) (envelope-from hopet@ics.muni.cz) Received: from KLOBOUCEK (kloboucek.ics.muni.cz [147.251.3.38]) (user=hopet@META mech=LOGIN bits=0) by tirith.ics.muni.cz (8.13.2/8.13.2) with ESMTP id j7BD5ZYd029231 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 11 Aug 2005 15:05:36 +0200 From: "Petr Holub" To: Date: Thu, 11 Aug 2005 15:05:35 +0200 Message-ID: <002d01c59e75$5ce39c70$5317fb93@KLOBOUCEK> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Muni-Spam-TestIP: 147.251.3.38 X-Muni-Envelope-From: hopet@ics.muni.cz X-Muni-Virus-Test: Clean Cc: Subject: ath0 doesn't associate with AP X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2005 13:05:39 -0000 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: Petr.Holub@cesnet.cz phone: +420-549493944 fax: +420-541212747 e-mail: hopet@ics.muni.cz 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 toor@kloboucek.ics.muni.cz:/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 real memory = 536215552 (511 MB) avail memory = 515047424 (491 MB) npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi_ec0: 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: on acpi0 acpi_throttle0: on cpu0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xd0000000-0xdfffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 usb0: 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: port 0x1820-0x183f irq 11 at device 29.1 on pci0 usb1: 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: port 0x1840-0x185f irq 11 at device 29.2 on pci0 usb2: 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: at device 29.7 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 cbb0: mem 0xb0000000-0xb0000fff irq 11 at device 0.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0xb1000000-0xb1000fff irq 11 at device 0.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 em0: 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: 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: at device 31.0 on pci0 isa0: on isab0 atapci0: 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: at device 31.3 (no driver attached) pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xc0000800-0xc00008ff,0xc0000c00-0xc0000dff irq 11 at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) acpi_tz0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 fdc0: 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: port 0x3bc-0x3be irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled orm0: at iomem 0xdc000-0xdffff,0xd1000-0xd1fff,0xd0000-0xd0fff on isa0 pmtimer0 on isa0 sc0: 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: 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 [109632/16/63] at ata0-master UDMA100 acd0: CDRW at ata1-master PIO4 cd0 at ata1 bus 0 target 0 lun 0 cd0: 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: 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