Date: 12 Mar 2001 05:45:07 +0100 From: Assar Westerlund <assar@FreeBSD.ORG> To: <freebsd-mobile@FreeBSD.ORG> Subject: changing to bss mode for an and ray Message-ID: <5lpufna94c.fsf@assaris.sics.se>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5lpufna94c.fsf>