Subject: Re: usr/sbin/wiconfig in boot floppy
To: None <itojun@iijlab.net>
From: Jasper Wallace <jasper@pointless.net>
List: port-i386
Date: 06/19/2002 16:51:07
-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 20 Jun 2002 itojun@iijlab.net wrote:

> >> 	do we still need usr/sbin/wiconfig in boot floppy?  utils/x_ifconfig
> >> 	should do everything we need...
> >Does it let you change the port type? (wiconfig -p)
>
> 	ifconfig wi0 media autoselect
> 	ifconfig wi0 media autoselect mediaopt adhoc
>
> >Some prism II cards seem to need port type to be set uo 4 to work in
> >BSS mode...
>
> 	didn't know that.  what does it mean?  -p 4 is not on the manpage.

yes, see:

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/if_wi.c?rev=1.67&content-type=text/x-cvsweb-markup

search for "sc->wi_ibss_port = htole16"

(sorry, i meant ibss when i said bss).

for Lucent cards it's 1, for Prism2/Intersil it's 0, and for Prism2/Symbol it's 4.

David Young (dyoung@ojctech.com, dyoung@pobox.com) has ported the OpenBSD
wi(4) changes, and some of the FreeBSD ones to NetBSD:

http://che.ojctech.com/~dyoung/wip/wip.tgz

There has been some discussion about this, and about trying to unify the
*BSD wi drivers a bit more on the bsd-wireless mailing list:

http://lists.bawug.org/mailman/listinfo/bsd-wireless/

- -- 
Information wants to be a lumberjack.
[http://pointless.net/]                                   [0x2ECA0975]




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iQEVAwUBPRCobgCB+Qwuygl1AQHy3gf/Wt3qSYbf0EWhXL9reAS806RXvy66kKTr
kaqVqjx37/B+/5VIJTqNcl++s0l4Qx3+sRyVFYYVn7XOghRtiej2+Dmlpw9821eq
sIJe0u6888gKleoUPyP9L5a/yxyzjY2F388p/yN1wko+uO1iqS9nyMHTPRbgKJ3L
7RTscl+bkdEFMIxgybXwMWNfggmpq43hhvFpwyIu4eL97C3mZKsYrKn6hOjQY1bk
IMjYR/FkLENqg23CnXUbHKOt1swpVd2DYn9LItkgdIhKoV8hKcZgUiR67a1OLEON
N8i62Y5zJh+62JuubvOtCNET+Yx5cYcXbQwjC3BjaWEilK5fbK8f0g==
=TTbs
-----END PGP SIGNATURE-----