From owner-freebsd-current@FreeBSD.ORG Thu Jan 29 20:43:25 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 303911065675; Thu, 29 Jan 2009 20:43:25 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id 574178FC08; Thu, 29 Jan 2009 20:43:24 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id 6F7FE33C14; Thu, 29 Jan 2009 21:43:23 +0100 (CET) Date: Thu, 29 Jan 2009 21:43:23 +0100 From: Lars Engels To: Sam Leffler Message-ID: <20090129204323.GB60948@e.0x20.net> References: <20090129192241.GZ60948@e.0x20.net> <20090129192830.GE73709@citylink.fud.org.nz> <20090129194826.GA60948@e.0x20.net> <49820EAC.5090400@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BtNCO5h84ExDStzY" Content-Disposition: inline In-Reply-To: <49820EAC.5090400@freebsd.org> X-Editor: VIM - Vi IMproved 7.1 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: mutt-ng/devel-r804 (FreeBSD) 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 Reply-To: Lars Engels 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:43:25 -0000 --BtNCO5h84ExDStzY Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 29, 2009 at 12:16:44PM -0800, Sam Leffler wrote: > Lars Engels wrote: > >On Thu, Jan 29, 2009 at 11:28:30AM -0800, Andrew Thompson wrote: > > =20 > >>On Thu, Jan 29, 2009 at 08:22:41PM +0100, Lars Engels wrote: > >> =20 > >>>Hi all, > >>>hi Sam, > >>> > >>>I just build world && kernel from todays sources. > >>>Now my Atheros 5212 pccard cannot find my wireless network any more, b= ut > >>>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. > >>> =20 > >> If you go 'ifconfig wlan0 list chan' does it show #6 as available? > >> =20 > > > > > >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 > > > > =20 >=20 > 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. Here is the output for sysctl: ars@pts/3 # sysctl dev.ath.0 dev.ath.0.%desc: Atheros 5212 dev.ath.0.%driver: ath dev.ath.0.%location: slot=3D0 function=3D0 dev.ath.0.%pnpinfo: vendor=3D0x168c device=3D0x0013 subvendor=3D0x1385 subdevice=3D0x4610 class=3D0x020000 dev.ath.0.%parent: cardbus0 dev.ath.0.smoothing_rate: 95 dev.ath.0.sample_rate: 10 dev.ath.0.sample_stats: 0 dev.ath.0.countrycode: 0 dev.ath.0.regdomain: 0 dev.ath.0.slottime: 9 dev.ath.0.acktimeout: 48 dev.ath.0.ctstimeout: 48 dev.ath.0.softled: 0 dev.ath.0.ledpin: 0 dev.ath.0.ledon: 0 dev.ath.0.ledidle: 2700 dev.ath.0.txantenna: 0 dev.ath.0.rxantenna: 2 dev.ath.0.diversity: 1 dev.ath.0.txintrperiod: 5 dev.ath.0.diag: 0 dev.ath.0.tpscale: 0 dev.ath.0.tpc: 0 dev.ath.0.tpack: 63 dev.ath.0.tpcts: 63 dev.ath.0.fftxqmin: 2 dev.ath.0.fftxqmax: 50 dev.ath.0.intmit: 1 dev.ath.0.monpass: 24 lars@pts/3 # wlandebug -i ath0 scan wlandebug: expecting a wlan interface name So I ran # wlandebug -i wlan0 scan net.wlan.0.debug: 0x0 =3D> 0x200000 But nothing new then: lars@pts/3 # ifconfig wlan0 up scan SSID BSSID CHAN RATE S:N INT CAPS WLAN-AFCB47 00:1d:19:af:cb:e0 1 54M -93:-96 100 EPS RSN WPA WME = WPS neumann 00:1b:2f:db:4f:dc 11 54M -95:-96 100 EPS 0x0000 00:03:c9:54:18:bb 8 54M -94:-96 100 EP WPA Arcor-C6DE58 00:1a:2a:c6:de:56 9 54M -93:-96 100 EPS RSN WPA WME > 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). I re-built world, so the net80211 commit should not be the issue. The ath device worked with sources from last week, so if there was no other wireless related commit, I guess the new hal changes caused the problem. I can back out the hal commit if you don't see anything obvious in my configuration. Lars --BtNCO5h84ExDStzY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkmCFOsACgkQKc512sD3afiF3QCgy4y2fxYcPMW7zsJmE2sDSZet LEUAoIcROg7H3ejbgaaYw6v789l82SIc =tl7i -----END PGP SIGNATURE----- --BtNCO5h84ExDStzY--