Subject: Re: wi IBSS mode
To: Atsushi Onoe <>
From: Jason R Thorpe <>
List: tech-net
Date: 08/18/2002 08:42:35
On Sun, Aug 18, 2002 at 12:37:33PM +0900, Atsushi Onoe wrote:

 > The current incompatibilities in ifconfig media options:
 > 		wi		an		awi		ray
 > Infra/STA	-		-		-		-
 > Infra/AP	hostap		N/A		N/A		N/A
 > IBSS		ibss-master	adhoc		adhoc		N/A
 > IBSS no create	ibss		N/A		(wiconfig)	N/A
 > adhoc-demo	adhoc		N/A		adhoc,flag0	N/A
 > How should we fix?
 > I'd like to drop ibss/ibss-master options from mediaopt and change
 > the meaning of adhoc of wi driver.

Sure, that sounds fine.  So, I guess the semantics of "adhoc" would be:

	* For cards which can create an IBSS, "adhoc" would always
	  create it.

	* For cards which cannot create an IBSS, "adhoc" would never
	  create it.

...and there would be no option for create/no-create.  Then "wi" would
then get "adhoc,flag0" for adhoc-demo mode, to match awi.  It would
probably be worth documenting which 802.11 mode names the media options
really map to (i.e. "adhoc" == "IBSS") in ifmedia(4).

        -- Jason R. Thorpe <>