From owner-freebsd-current@FreeBSD.ORG Tue Jun 17 15:47:10 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F5F71065671; Tue, 17 Jun 2008 15:47:10 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id DC9608FC14; Tue, 17 Jun 2008 15:47:09 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from 80-218-191-31.dclient.hispeed.ch ([80.218.191.31] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1K8dOh-0004ym-Uf; Tue, 17 Jun 2008 17:47:04 +0200 Message-ID: <4857DC76.9050203@FreeBSD.org> Date: Tue, 17 Jun 2008 17:47:02 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: Andrew Thompson References: <483210CC.5070309@FreeBSD.org> <20080520000911.GA46085@citylink.fud.org.nz> <48329C31.1050309@FreeBSD.org> <483E8AA5.3000401@FreeBSD.org> <20080604002448.GB80688@citylink.fud.org.nz> <4845E394.6080301@FreeBSD.org> <20080606041432.GF6380@citylink.fud.org.nz> <48491858.6020502@FreeBSD.org> <20080606221322.GH6380@citylink.fud.org.nz> <4857D5FC.6080906@FreeBSD.org> <20080617154253.GA45428@citylink.fud.org.nz> In-Reply-To: <20080617154253.GA45428@citylink.fud.org.nz> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-current Subject: Re: Problem since "wlan" came in: SIOCS80211: Device not configured 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: Tue, 17 Jun 2008 15:47:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Andrew Thompson wrote: | On Tue, Jun 17, 2008 at 05:19:24PM +0200, Pietro Cerutti wrote: |> -----BEGIN PGP SIGNED MESSAGE----- |> Hash: SHA512 |> |> Andrew Thompson wrote: |> | On Fri, Jun 06, 2008 at 12:58:32PM +0200, Pietro Cerutti wrote: |> |> -----BEGIN PGP SIGNED MESSAGE----- |> |> Hash: SHA512 |> |> |> |> | |> |> | Does it still happen if you limit the channels, try |> |> | |> |> | ifconfig wlan0 chanlist 1-11 |> |> |> |> |> |> !!!! No it doesn't, actually it works this way! |> |> |> |> So, it was a config problem at my side? |> |> |> |> Thanks a lot.. |> | |> | The eeprom on the card is meant to list the valid channels and the |> | driver checks for this. I dont know why channel 13 is valid but the |> | firmware borks on it. If you are feeling motivated you can add a few |> | printfs in wpi_read_eeprom_channels() to try and see why. |> |> Ok I've added a few device_printf in that function, the output is here: |> http://gahr.ch/FreeBSD/misc/wpi_chans.txt |> I don't see anything wrong with that, do you? | | YEs, channel 13 which is the one causing the firmware error is showing | as !VALID You are right... | | wpi0: adding chan 13 flags=0x21 maxpwr=15, offset 26 | wpi0: READ_EEEPROM_CHANS: chan 13 on band 0 is UNKNOWN | | So it should not be added to the channel list. Can you show me a diff of | your printf changes so I can see what the difference between VALID & | UNKNOWN is. Here's the diff: http://gahr.ch/FreeBSD/misc/if_wpi.diff | | | Andrew - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhX3HUACgkQwMJqmJVx945mhACdEihaa05oVxfl1kyb2TZDnKWA ZHcAoN5yAO50UrIH9GKQFMrM3/ckkX12 =2lJM -----END PGP SIGNATURE-----