From owner-freebsd-current@FreeBSD.ORG Thu Jan 29 20:16:45 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82D1B1065672 for ; Thu, 29 Jan 2009 20:16:45 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 346E18FC0A for ; Thu, 29 Jan 2009 20:16:44 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n0TKGiak040896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Jan 2009 12:16:44 -0800 (PST) (envelope-from sam@freebsd.org) Message-ID: <49820EAC.5090400@freebsd.org> Date: Thu, 29 Jan 2009 12:16:44 -0800 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Lars Engels References: <20090129192241.GZ60948@e.0x20.net> <20090129192830.GE73709@citylink.fud.org.nz> <20090129194826.GA60948@e.0x20.net> In-Reply-To: <20090129194826.GA60948@e.0x20.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Rhyolite-Metrics: ebb.errno.com; whitelist Cc: current@freebsd.org Subject: Re: ath cannot find my wireless network any more 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: Thu, 29 Jan 2009 20:16:45 -0000 Lars Engels wrote: > On Thu, Jan 29, 2009 at 11:28:30AM -0800, Andrew Thompson wrote: > >> On Thu, Jan 29, 2009 at 08:22:41PM +0100, Lars Engels wrote: >> >>> Hi all, >>> hi Sam, >>> >>> I just build world && kernel from todays sources. >>> Now my Atheros 5212 pccard cannot find my wireless network any more, but >>> still sees other networks: >>> >>> lars@pts/3 # ifconfig wlan0 up scan >>> SSID BSSID CHAN RATE S:N INT CAPS >>> Arcor-C6DE58 00:1a:2a:c6:de:56 9 54M -95:-96 100 EPS RSN WPA WME >>> WLAN-AFCB47 00:1d:19:af:cb:e0 1 54M -96:-96 100 EPS WPS RSN WPA WME >>> 0x0000 00:03:c9:54:18:bb 8 54M -94:-96 100 EP WPA >>> >>> In contrast to this, the internal wpi chip still finds and connects to the network: >>> lars@pts/3 # ifconfig wlan1 scan >>> SSID BSSID CHAN RATE S:N INT CAPS >>> dd-wrt 00:18:39:c7:6a:dd 6 54M 22:0 100 EP RSN WME >>> >>> I also don't know why wpi only finds my own network. >>> >> >> If you go 'ifconfig wlan0 list chan' does it show #6 as available? >> > > > Yes, it's there: > lars@pts/3 # ifconfig wlan0 list chan > Channel 1 : 2412 Mhz 11g Channel 48 : 5240 Mhz 11a Turbo > Channel 2 : 2417 Mhz 11g Channel 50 : 5250 Mhz 11a Turbo > Channel 3 : 2422 Mhz 11g Channel 52 : 5260 Mhz 11a > Channel 4 : 2427 Mhz 11g Channel 56 : 5280 Mhz 11a Turbo > Channel 5 : 2432 Mhz 11g Channel 58 : 5290 Mhz 11a Turbo > Channel 6 : 2437 Mhz 11g Turbo Channel 60 : 5300 Mhz 11a > Channel 7 : 2442 Mhz 11g Channel 64 : 5320 Mhz 11a > Channel 8 : 2447 Mhz 11g Channel 149 : 5745 Mhz 11a > Channel 9 : 2452 Mhz 11g Channel 152 : 5760 Mhz 11a Turbo > Channel 10 : 2457 Mhz 11g Channel 153 : 5765 Mhz 11a Turbo > Channel 11 : 2462 Mhz 11g Channel 157 : 5785 Mhz 11a > Channel 36 : 5180 Mhz 11a Channel 160 : 5800 Mhz 11a Turbo > Channel 40 : 5200 Mhz 11a Turbo Channel 161 : 5805 Mhz 11a Turbo > Channel 42 : 5210 Mhz 11a Turbo Channel 165 : 5825 Mhz 11a > Channel 44 : 5220 Mhz 11a > > Not sure about the wpi complaint. For ath I need mac+phy revs and any regulatory setting (output sysctl dev.ath.0 will show it). You might also enable scan debug to see if the ap shows up but isn't recorded for some reason; e.g. wlandebug -i ath0 scan. I committed major hal changes as a single commit so you can easily back it out to see if it's the reason. The other recent changes to net80211 should not matter if you rebuilt world to match the kernel (the size of the channel structure changed so kernel+apps need to match). Sam