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