Problem since "wlan" came in: SIOCS80211: Device not configured
Pietro Cerutti
gahr at FreeBSD.org
Tue Jun 17 16:06:37 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Pietro Cerutti wrote:
| 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
Mh wait, we have an off-by-one error here.
I first print the index, then the chan number..
Here's a better version, where I actually see no problem:
http://gahr.ch/FreeBSD/misc/wpi_chans.txt
|
| |
| |
| | Andrew
|
|
_______________________________________________
freebsd-current at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
- --
Pietro Cerutti
gahr at FreeBSD.org
PGP Public Key:
http://gahr.ch/pgp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
iEYEAREKAAYFAkhX4QQACgkQwMJqmJVx944pTACgsjru5rQCoLm6UElXf0SPmq9k
xswAn2G8xAsvV+WmYl5RDnX3HBRPQyMI
=/uk3
-----END PGP SIGNATURE-----
More information about the freebsd-current
mailing list