Skip site navigation (1)Skip section navigation (2)
Date:      05 Jan 2001 01:39:00 +0100
From:      Assar Westerlund <assar@FreeBSD.ORG>
To:        "Jacques A. Vidrine" <n@nectar.com>
Cc:        mobile@FreeBSD.ORG
Subject:   Re: Lucent Wavelan and 4.2 works like a charm.
Message-ID:  <5lpui2n87v.fsf@assaris.sics.se>
In-Reply-To: "Jacques A. Vidrine"'s message of "Thu, 4 Jan 2001 13:52:46 -0600"
References:  <20010104022419.A21547@matrix.42.org> <5ly9wrgubu.fsf@assaris.sics.se> <20010104135246.A85790@hamlet.nectar.com>

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

--=-=-=

"Jacques A. Vidrine" <n@nectar.com> writes:
> All I can add is that I agree, and don't forget to update the 
> other wireless drivers as well :-)

Ok.  awi seems to already default to infrastructure, and I think I've
tweaked an, ray, and wi in the following patch.

Testers and/or comments are welcome.

/assar


--=-=-=
Content-Disposition: attachment; filename=freebsd.wibss2

Index: sys/dev/an/if_an.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/an/if_an.c,v
retrieving revision 1.13
diff -u -w -r1.13 if_an.c
--- sys/dev/an/if_an.c	2000/11/30 18:52:30	1.13
+++ sys/dev/an/if_an.c	2001/01/05 00:34:26
@@ -374,7 +374,7 @@
 	sc->an_ssidlist.an_ssid1_len = strlen(AN_DEFAULT_NETNAME);
 
 	sc->an_config.an_opmode =
-	    AN_OPMODE_IBSS_ADHOC;
+	    AN_OPMODE_INFRASTRUCTURE_STATION;
 
 	sc->an_tx_rate = 0;
 	bzero((char *)&sc->an_stats, sizeof(sc->an_stats));
Index: sys/dev/ray/if_raymib.h
===================================================================
RCS file: /home/ncvs/src/sys/dev/ray/if_raymib.h,v
retrieving revision 1.10
diff -u -w -r1.10 if_raymib.h
--- sys/dev/ray/if_raymib.h	2000/11/14 05:32:01	1.10
+++ sys/dev/ray/if_raymib.h	2001/01/05 00:34:31
@@ -537,7 +537,7 @@
  */
 #define	RAY_MIB_NET_TYPE_ADHOC			0x00
 #define	RAY_MIB_NET_TYPE_INFRA			0x01
-#define	RAY_MIB_NET_TYPE_DEFAULT		RAY_MIB_NET_TYPE_ADHOC
+#define	RAY_MIB_NET_TYPE_DEFAULT		RAY_MIB_NET_TYPE_INFRA
 
 /*
  * mib_ap_status
Index: sys/i386/isa/if_wi.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/isa/if_wi.c,v
retrieving revision 1.31
diff -u -w -r1.31 if_wi.c
--- sys/i386/isa/if_wi.c	2000/12/18 23:49:56	1.31
+++ sys/i386/isa/if_wi.c	2001/01/05 00:34:34
@@ -316,7 +316,7 @@
 	    sizeof(WI_DEFAULT_IBSS) - 1);
 
 	sc->wi_portnum = WI_DEFAULT_PORT;
-	sc->wi_ptype = WI_PORTTYPE_ADHOC;
+	sc->wi_ptype = WI_PORTTYPE_BSS;
 	sc->wi_ap_density = WI_DEFAULT_AP_DENSITY;
 	sc->wi_rts_thresh = WI_DEFAULT_RTS_THRESH;
 	sc->wi_tx_rate = WI_DEFAULT_TX_RATE;
Index: share/man/man4/an.4
===================================================================
RCS file: /home/ncvs/src/share/man/man4/an.4,v
retrieving revision 1.6
diff -u -w -r1.6 an.4
--- share/man/man4/an.4	2000/11/17 11:43:59	1.6
+++ share/man/man4/an.4	2001/01/05 00:35:11
@@ -87,15 +87,7 @@
 .Pp
 By default, the
 .Nm
-driver configures the Aironet card for ad-hoc operation with an SSID
-of "ANY."
-In this mode,
-stations can communicate among each other without the aid of an access
-point.
-To join a service set, the driver must be set for BSS mode using
-the
-.Xr ancontrol 8
-utility.
+driver configures the Aironet card for infrastructure operation.
 .Pp
 For more information on configuring this device, see
 .Xr ifconfig 8
Index: share/man/man4/wi.4
===================================================================
RCS file: /home/ncvs/src/share/man/man4/wi.4,v
retrieving revision 1.9
diff -u -w -r1.9 wi.4
--- share/man/man4/wi.4	2000/03/03 06:58:30	1.9
+++ share/man/man4/wi.4	2001/01/05 00:35:11
@@ -69,14 +69,7 @@
 .Pp
 By default, the
 .Nm
-driver configures the WaveLAN card for ad-hoc operation.
-In this mode,
-stations can communicate among each other without the aid of an access
-point.
-To join a service set, the driver must be set for BSS mode using
-the
-.Xr wicontrol 8
-utility.
+driver configures the WaveLAN card for BSS operation.
 .Pp
 For more information on configuring this device, see
 .Xr ifconfig 8

--=-=-=--


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?5lpui2n87v.fsf>