change default from adhoc mode to BSS (infrastructure)

This commit is contained in:
assar 2001-03-12 04:49:50 +00:00
parent 797c533a5a
commit 220a5ddedc
2 changed files with 2 additions and 9 deletions

View File

@ -69,14 +69,7 @@ For WaveLAN/IEEE Turbo adapters, speeds up to 6Mbps are available.
.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

View File

@ -346,7 +346,7 @@ static int wi_pccard_attach(device_t dev)
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;