Date: Tue, 17 Jun 2008 17:47:02 +0200 From: Pietro Cerutti <gahr@FreeBSD.org> To: Andrew Thompson <thompsa@FreeBSD.org> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: Problem since "wlan" came in: SIOCS80211: Device not configured Message-ID: <4857DC76.9050203@FreeBSD.org> In-Reply-To: <20080617154253.GA45428@citylink.fud.org.nz> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4857DC76.9050203>