Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2001 09:45:05 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Warner Losh <imp@harmony.village.org>
Cc:        Duncan Barclay <dmlb@dmlb.org>, mobile@FreeBSD.ORG
Subject:   Re: an and wi ad-hoc talking
Message-ID:  <20011112094505.A1730@Odin.AC.HMC.Edu>
In-Reply-To: <200111121708.fACH8o782654@harmony.village.org>; from imp@harmony.village.org on Mon, Nov 12, 2001 at 10:08:50AM -0700
References:  <20011112075313.C18382@Odin.AC.HMC.Edu> <200111102300.fAAN0g767233@harmony.village.org> <XFMail.011111230843.dmlb@computer.my.domain> <20011112075313.C18382@Odin.AC.HMC.Edu> <200111121708.fACH8o782654@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 12, 2001 at 10:08:50AM -0700, Warner Losh wrote:
> In message <20011112075313.C18382@Odin.AC.HMC.Edu> Brooks Davis writes:
> : On Sun, Nov 11, 2001 at 11:08:43PM -0000, Duncan Barclay wrote:
> : > Are the Orinoco's really doing a generic ad-hoc? Or is it a hacked
> : > up thing?
> :=20
> : They aren't.  It's a bug in my implementation of the adhoc option in the
> : wi ifmedia code.  The Cisco's don't have a bogus implementation so they
> : should be doing IEEE ad-hoc.
>=20
> How might I fix this code?

IIRC, you enable real ad-hoc mode with wicontrol using the "-c 1" and just
leave the port type is BSS mode.  (Well, you also have to specify the IBSS
SSID via -q, but I set both of them via "ifconfig ssid" so that's already
correct.)  Fixing the ifconfig code would require changing the result
of setting the adhoc mediaopt to take the actions wicontrol would take
with the above options.  It would probably be best to make FLAG0 do what
the adhoc flag does now so the old bogus adhoc mode is still available.
This change would break existing configs (unless all boxes were updated
simulatinously), but would fix the current POLA violation you ran into.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--Kj7319i9nmIyA2yE
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE78AqgXY6L6fI4GtQRAocxAJwPJqkQNDggk+c3rw6q8fuvKhrEZwCgq9er
96bkZnJoN6LCR060DOeK7Zs=
=aoQc
-----END PGP SIGNATURE-----

--Kj7319i9nmIyA2yE--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011112094505.A1730>