From owner-freebsd-mobile Sun Mar 11 20:45: 9 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from assaris.sics.se (dhcp119.iss.kth.se [130.237.7.119]) by hub.freebsd.org (Postfix) with ESMTP id 6C47E37B719 for ; Sun, 11 Mar 2001 20:45:06 -0800 (PST) (envelope-from assar@assaris.sics.se) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id FAA95295; Mon, 12 Mar 2001 05:45:07 +0100 (CET) (envelope-from assar) To: Subject: changing to bss mode for an and ray From: Assar Westerlund Date: 12 Mar 2001 05:45:07 +0100 Message-ID: <5lpufna94c.fsf@assaris.sics.se> Lines: 55 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I would like to change the default mode to be BSS, so if anybody using the ray and an drivers could test these changes, I would be grateful. /assar Index: dev/an/if_an.c =================================================================== RCS file: /home/ncvs/src/sys/dev/an/if_an.c,v retrieving revision 1.14 diff -u -w -r1.14 if_an.c --- dev/an/if_an.c 2001/01/19 01:58:28 1.14 +++ dev/an/if_an.c 2001/03/12 04:36:06 @@ -375,7 +375,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: dev/an/if_anreg.h =================================================================== RCS file: /home/ncvs/src/sys/dev/an/if_anreg.h,v retrieving revision 1.5 diff -u -w -r1.5 if_anreg.h --- dev/an/if_anreg.h 2001/02/09 06:08:38 1.5 +++ dev/an/if_anreg.h 2001/03/12 04:36:06 @@ -34,8 +34,8 @@ #define AN_TIMEOUT 65536 -/* Default network name: ANY */ -#define AN_DEFAULT_NETNAME "ANY" +/* Default network name: empty string implies any */ +#define AN_DEFAULT_NETNAME "" /* The nodename must be less than 16 bytes */ #define AN_DEFAULT_NODENAME "FreeBSD" Index: 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 --- dev/ray/if_raymib.h 2000/11/14 05:32:01 1.10 +++ dev/ray/if_raymib.h 2001/03/12 04:36:11 @@ -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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message