2002-02-06 22:07:27 +03:00
|
|
|
.\" $NetBSD: wiconfig.8,v 1.22 2002/02/06 19:07:27 wiz Exp $
|
2000-02-04 10:59:45 +03:00
|
|
|
.\"
|
1999-07-15 02:33:33 +04:00
|
|
|
.\" Copyright (c) 1997, 1998, 1999
|
|
|
|
.\" Bill Paul <wpaul@ctr.columbia.edu> All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by Bill Paul.
|
|
|
|
.\" 4. Neither the name of the author nor the names of any co-contributors
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
2002-01-16 15:01:12 +03:00
|
|
|
.\" without specific prior written permission.
|
1999-07-15 02:33:33 +04:00
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
|
|
|
.\" THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
2000-02-04 10:59:45 +03:00
|
|
|
.\" From: wicontrol.8,v 1.6 1999/05/22 16:12:47 wpaul Exp $
|
1999-07-15 02:33:33 +04:00
|
|
|
.\"
|
2001-01-11 22:33:51 +03:00
|
|
|
.Dd January 11, 2001
|
1999-07-15 02:43:17 +04:00
|
|
|
.Dt WICONFIG 8
|
2000-02-04 10:59:45 +03:00
|
|
|
.Os
|
1999-07-15 02:33:33 +04:00
|
|
|
.Sh NAME
|
1999-07-15 02:43:17 +04:00
|
|
|
.Nm wiconfig
|
1999-07-15 02:33:33 +04:00
|
|
|
.Nd configure WaveLAN/IEEE devices
|
|
|
|
.Sh SYNOPSIS
|
1999-07-15 02:43:17 +04:00
|
|
|
.Nm wiconfig
|
2000-02-04 10:59:45 +03:00
|
|
|
.Ar interface
|
|
|
|
.Op Fl o
|
2002-01-21 14:35:06 +03:00
|
|
|
.Op Fl D
|
2000-07-04 09:20:03 +04:00
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl e Ar 0|1
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-07-03 12:31:22 +04:00
|
|
|
.Oo
|
|
|
|
.Fl k Ar key
|
|
|
|
.Op Fl v Ar 1|2|3|4
|
|
|
|
.Oc
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl t Ar tx rate
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl n Ar network name
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl s Ar station name
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl c Ar 0|1
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl q Ar SSID
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl p Ar port type
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl a Ar access point density
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl m Ar MAC address
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl d Ar max data length
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl r Ar RTS threshold
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl f Ar frequency
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2001-05-15 08:16:21 +04:00
|
|
|
.Op Fl A Ar 0|1
|
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-08-23 23:01:04 +04:00
|
|
|
.Op Fl M Ar 0|1
|
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl P Ar 0|1
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2001-05-15 08:16:21 +04:00
|
|
|
.Op Fl R Ar 1|3
|
2002-01-16 15:01:12 +03:00
|
|
|
.Ek
|
2001-05-15 08:16:21 +04:00
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl S Ar max sleep duration
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
|
|
|
.Bk -words
|
2000-02-04 10:59:45 +03:00
|
|
|
.Op Fl T Ar 1|2|3|4
|
2000-07-04 09:20:03 +04:00
|
|
|
.Ek
|
1999-07-15 02:33:33 +04:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2002-02-03 12:19:55 +03:00
|
|
|
command controls the operation of
|
|
|
|
.Tn WaveLAN/IEEE
|
|
|
|
wireless networking devices via the
|
1999-07-15 02:33:33 +04:00
|
|
|
.Xr wi 4
|
2000-02-04 10:59:45 +03:00
|
|
|
and
|
|
|
|
.Xr awi 4
|
2002-02-03 12:19:55 +03:00
|
|
|
drivers.
|
|
|
|
The
|
1999-07-15 02:33:33 +04:00
|
|
|
.Nm
|
2000-07-03 14:16:10 +04:00
|
|
|
command can also be used to view the current settings of these parameters
|
1999-07-15 02:33:33 +04:00
|
|
|
and to dump out the values of the card's statistics counters.
|
|
|
|
.Pp
|
2002-02-03 12:19:55 +03:00
|
|
|
Most of the parameters that can be changed relate to the
|
|
|
|
.Tn IEEE
|
|
|
|
802.11 protocol which the
|
|
|
|
.Tn WaveLAN
|
|
|
|
implements.
|
|
|
|
This includes the station name, whether the station is operating
|
|
|
|
in ad-hoc (point to point) or BSS (service set) mode, and the
|
|
|
|
network name of a service set to join (IBSS) if BSS mode is enabled.
|
|
|
|
.Pp
|
1999-07-15 02:33:33 +04:00
|
|
|
The
|
|
|
|
.Ar iface
|
|
|
|
argument given to
|
|
|
|
.Nm
|
2002-02-03 12:19:55 +03:00
|
|
|
should be the logical interface name associated with the
|
|
|
|
.Tn WaveLAN/IEEE
|
|
|
|
device (e.g. wi0, wi1, etc.).
|
1999-07-15 02:33:33 +04:00
|
|
|
.Sh OPTIONS
|
2000-07-04 09:20:03 +04:00
|
|
|
With no extra options,
|
|
|
|
.Nm
|
2002-02-03 12:19:55 +03:00
|
|
|
will display the current settings of the specified
|
|
|
|
.Tn WaveLAN/IEEE
|
|
|
|
interface.
|
2000-07-04 09:20:03 +04:00
|
|
|
.Pp
|
1999-07-15 02:33:33 +04:00
|
|
|
The options are as follows:
|
2000-02-04 10:59:45 +03:00
|
|
|
.Pp
|
1999-07-15 02:33:33 +04:00
|
|
|
.Bl -tag -width Fl
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl o
|
2000-07-04 09:20:03 +04:00
|
|
|
Print out the statistics counters instead of the card settings.
|
2002-02-06 22:07:27 +03:00
|
|
|
Note that, however, the statistics will only be updated every minute or so.
|
2002-01-21 14:35:06 +03:00
|
|
|
.It Fl D
|
|
|
|
This forces the driver to initiate one round of access point scanning.
|
2002-02-03 12:19:55 +03:00
|
|
|
All of the access points found are displayed.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl e Ar 0|1
|
2002-02-03 12:19:55 +03:00
|
|
|
Enable or disable Wired Equivalent Privacy (WEP) encryption.
|
|
|
|
Permitted values are
|
2000-02-04 10:59:45 +03:00
|
|
|
.Ar 0
|
|
|
|
(encryption disabled) or
|
|
|
|
.Ar 1
|
2002-02-03 12:19:55 +03:00
|
|
|
(encryption enabled).
|
|
|
|
Encryption is off by default.
|
2000-07-03 12:31:22 +04:00
|
|
|
.It Fl k Ar key Xo
|
|
|
|
.Op Fl v Ar 1|2|3|4
|
|
|
|
.Xc
|
2002-02-03 12:19:55 +03:00
|
|
|
Set WEP encryption keys.
|
|
|
|
There are four default encryption keys that can be programmed.
|
|
|
|
A specific key can be set using the
|
2000-02-04 10:59:45 +03:00
|
|
|
.Fl v
|
2002-02-03 12:19:55 +03:00
|
|
|
flag.
|
|
|
|
If the
|
2000-02-04 10:59:45 +03:00
|
|
|
.Fl v
|
2002-02-03 12:19:55 +03:00
|
|
|
flag is not specified, the first key will be set.
|
|
|
|
.Pp
|
|
|
|
Encryption keys can either
|
|
|
|
be
|
|
|
|
.Tn ASCII
|
|
|
|
text (e.g. "hello") or a series of hexadecimal digits (e.g. "0x1234512345").
|
|
|
|
.Pp
|
|
|
|
For WaveLAN Silver cards, the key is
|
2000-02-04 10:59:45 +03:00
|
|
|
restricted to 40 bits, hence the key can be either a 5-character text string
|
2002-02-03 12:19:55 +03:00
|
|
|
or 10 hexadecimal digits.
|
|
|
|
For WaveLAN Gold cards, the key can be up to
|
2000-07-28 00:24:19 +04:00
|
|
|
104 bits, which means the key can be specified as either a 13-character
|
2002-02-03 12:19:55 +03:00
|
|
|
text string or 26 hexadecimal digits.
|
|
|
|
.Pp
|
|
|
|
The key will be combined with the
|
2000-07-28 00:24:19 +04:00
|
|
|
24-bit IV to consist the seed for RC4 in either case.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl T Ar 1|2|3|4
|
|
|
|
Specify which of the four WEP encryption keys will be used to encrypt
|
|
|
|
transmitted packets.
|
|
|
|
.It Fl t Ar tx rate
|
2002-02-03 12:19:55 +03:00
|
|
|
Set the transmit rate of the specified interface.
|
|
|
|
The legal values for the transmit rate vary depending on whether
|
|
|
|
the interface is a standard
|
|
|
|
.Tn WaveLAN/IEEE
|
|
|
|
or a
|
|
|
|
.Tn WaveLAN/IEEE
|
|
|
|
Turbo adapter.
|
|
|
|
The standard NICs support a maximum transmit rate of 2Mbps while
|
|
|
|
the turbo NICs support a maximum speed of 6Mbps.
|
|
|
|
The following table shows the legal transmit rate settings and the
|
|
|
|
corresponding transmit speeds:
|
1999-07-15 02:33:33 +04:00
|
|
|
.Bd -filled -offset indent
|
|
|
|
.Bl -column "TX rate " "NIC speed "
|
|
|
|
.Em "TX rate NIC speed"
|
|
|
|
1 Fixed Low (1Mbps)
|
|
|
|
2 Fixed Standard (2Mbps)
|
|
|
|
3 Auto Rate Select (High)
|
|
|
|
4 Fixed Medium (4Mbps)
|
|
|
|
5 Fixed High (6Mbps)
|
|
|
|
6 Auto Rate Select (Standard)
|
|
|
|
7 Auto Rate Select (Medium)
|
2000-02-04 10:59:45 +03:00
|
|
|
11 Fixed Turbo (11Mbps)
|
1999-07-15 02:33:33 +04:00
|
|
|
.El
|
|
|
|
.Ed
|
|
|
|
.Pp
|
2002-01-16 15:01:12 +03:00
|
|
|
The standard NICs support only settings 1 through 3. Turbo NICs support
|
1999-07-15 02:33:33 +04:00
|
|
|
all the above listed speed settings.
|
|
|
|
The default driver setting is 3 (auto rate select).
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl n Ar network name
|
1999-07-15 02:33:33 +04:00
|
|
|
Set the name of the service set (IBSS) that this station wishes to
|
2002-01-16 15:01:12 +03:00
|
|
|
join. The
|
1999-07-15 02:33:33 +04:00
|
|
|
.Ar network name
|
2002-02-03 12:19:55 +03:00
|
|
|
can be any text string up to 30 characters in length.
|
|
|
|
The default name is the empty string which should allow the station
|
|
|
|
to connect to the first available access point.
|
|
|
|
The interface should be set for BSS mode using the
|
1999-07-15 02:33:33 +04:00
|
|
|
.Fl p
|
|
|
|
flag in order for this to work.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl s Ar station name
|
1999-07-15 02:33:33 +04:00
|
|
|
Sets the
|
|
|
|
.Ar station name
|
2002-01-16 15:01:12 +03:00
|
|
|
for the specified interface. The
|
1999-07-15 02:33:33 +04:00
|
|
|
.Ar station name
|
2002-02-03 12:19:55 +03:00
|
|
|
is used for diagnostic purposes.
|
|
|
|
The
|
|
|
|
.Tn Lucent
|
|
|
|
.Tn WaveMANAGER
|
|
|
|
software can poll the names of remote hosts.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl c Ar 0|1
|
2002-02-03 12:19:55 +03:00
|
|
|
[Lucent only] Allow the station to create a service set (IBSS).
|
|
|
|
Permitted values are 0 (don't create IBSS) and 1 (enable creation of IBSS).
|
|
|
|
The default is 0.
|
1999-07-15 02:33:33 +04:00
|
|
|
.Pp
|
2002-02-03 12:19:55 +03:00
|
|
|
This option requires
|
|
|
|
.Tn WaveLAN
|
|
|
|
firmware revision 6.04 or later to work.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl q Ar SSID
|
1999-07-15 02:33:33 +04:00
|
|
|
Specify the name of an IBSS (SSID) to create on a given interface.
|
|
|
|
The
|
|
|
|
.Ar SSID
|
|
|
|
can be any text string up to 30 characters long.
|
|
|
|
.Pp
|
2002-02-03 12:19:55 +03:00
|
|
|
This option requires
|
|
|
|
.Tn WaveLAN
|
|
|
|
firmware revision 6.04 or later to work.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl p Ar port type
|
1999-07-15 02:33:33 +04:00
|
|
|
Set the
|
|
|
|
.Ar port type
|
2002-01-16 15:01:12 +03:00
|
|
|
for a specified interface. The legal values for
|
1999-07-15 02:33:33 +04:00
|
|
|
.Ar port type
|
2002-02-03 12:19:55 +03:00
|
|
|
are 1 (BSS mode) and 3 (ad-hoc) mode.
|
|
|
|
The default setting is 1 (BSS mode).
|
|
|
|
.Pp
|
|
|
|
In ad-hoc mode, the station can communicate directly with any other
|
|
|
|
stations within direct radio range (provided that they are also
|
|
|
|
operating in ad-hoc mode).
|
|
|
|
.Pp
|
|
|
|
In BSS mode, hosts must associate with a service set controlled by
|
|
|
|
an access point, which relays traffic between end stations.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl a Ar access_point_density
|
1999-07-15 02:33:33 +04:00
|
|
|
Specify the
|
|
|
|
.Ar access point density
|
2002-01-16 15:01:12 +03:00
|
|
|
for a given interface. Legal values are 1 (low), 2 (medium) and 3 (high).
|
1999-07-15 02:33:33 +04:00
|
|
|
This setting influences some of the radio modem threshold settings.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl m Ar MAC address
|
2002-01-16 15:01:12 +03:00
|
|
|
Set the station address for the specified interface. The
|
2000-02-04 10:59:45 +03:00
|
|
|
.Ar MAC address
|
1999-07-15 02:33:33 +04:00
|
|
|
is specified as a series of six hexadecimal values separated by colons,
|
2002-02-03 12:19:55 +03:00
|
|
|
e.g. 00:60:1d:12:34:56.
|
|
|
|
This programs the new address into the card and updates the interface as well.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl d Ar max_data_length
|
1999-07-15 02:33:33 +04:00
|
|
|
Set the maximum receive and transmit frame size for a specified interface.
|
|
|
|
The
|
|
|
|
.Ar max data length
|
2002-01-16 15:01:12 +03:00
|
|
|
can be any number from 256 to 2346. The default is 2304.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl r Ar RTS threshold
|
2002-01-16 15:01:12 +03:00
|
|
|
Set the RTS/CTS threshold for a given interface. This controls the
|
|
|
|
number of bytes used for the RTS/CTS handshake boundary. The
|
1999-07-15 02:33:33 +04:00
|
|
|
.Ar RTS threshold
|
2002-01-16 15:01:12 +03:00
|
|
|
can be any value between 0 and 2347. The default is 2347,
|
2002-01-16 09:54:17 +03:00
|
|
|
which indicates RTS/CTS mechanism never to be used.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl f Ar frequency
|
2002-01-16 15:01:12 +03:00
|
|
|
Set the radio frequency of a given interface. The
|
1999-07-15 02:33:33 +04:00
|
|
|
.Ar frequency
|
2002-01-16 15:01:12 +03:00
|
|
|
should be specified as a channel ID as shown in the table below. The
|
1999-07-15 02:33:33 +04:00
|
|
|
list of available frequencies is dependent on radio regulations specified
|
2002-01-16 15:01:12 +03:00
|
|
|
by regional authorities. Recognized regulatory authorities include
|
|
|
|
the FCC (United States), ETSI (Europe), France and Japan. Frequencies
|
2002-02-06 22:07:27 +03:00
|
|
|
in the table are specified in MHz.
|
1999-07-15 02:33:33 +04:00
|
|
|
.Bd -filled -offset indent
|
|
|
|
.Bl -column "Channel ID " "FCC " "ETSI " "France " "Japan "
|
|
|
|
.Em "Channel ID FCC ETSI France Japan"
|
2000-06-28 14:07:05 +04:00
|
|
|
1 2412 2412 - 2412
|
|
|
|
2 2417 2417 - 2417
|
|
|
|
3 2422 2422 - 2422
|
|
|
|
4 2427 2427 - 2427
|
|
|
|
5 2432 2432 - 2432
|
|
|
|
6 2437 2437 - 2437
|
|
|
|
7 2442 2442 - 2442
|
|
|
|
8 2447 2447 - 2447
|
|
|
|
9 2452 2452 - 2452
|
|
|
|
10 2457 2457 2457 2457
|
|
|
|
11 2462 2462 2462 2462
|
|
|
|
12 - 2467 2467 2467
|
|
|
|
13 - 2472 2472 2472
|
1999-07-15 02:33:33 +04:00
|
|
|
14 - - - 2484
|
|
|
|
.El
|
|
|
|
.Ed
|
|
|
|
.Pp
|
2002-02-03 12:19:55 +03:00
|
|
|
If an illegal channel is specified, the NIC will revert to its default channel.
|
|
|
|
.Pp
|
|
|
|
For NICs sold in the United States and Europe, the default channel is 3.
|
|
|
|
.Pp
|
|
|
|
For NICs sold in France, the default channel is 11.
|
|
|
|
.Pp
|
|
|
|
For NICs sold in Japan, the default channel is 14, and it is the
|
|
|
|
only available channel for pre-11Mbps NICs.
|
|
|
|
.Pp
|
1999-07-15 02:33:33 +04:00
|
|
|
Note that two stations must be set to the same channel in order to
|
|
|
|
communicate.
|
2001-05-15 08:16:21 +04:00
|
|
|
.It Fl A Ar 0|1
|
|
|
|
[Prism2 only] Sets the authentication type for a given interface.
|
|
|
|
Permitted values are
|
2002-01-16 15:01:12 +03:00
|
|
|
.Ar 1
|
2001-05-15 08:16:21 +04:00
|
|
|
(Open System Authentication) or
|
2002-01-16 15:01:12 +03:00
|
|
|
.Ar 2
|
|
|
|
(Shared Key Authentication). The default is 1.
|
2001-05-15 08:16:21 +04:00
|
|
|
.Pp
|
|
|
|
Note: It is not valid to enable Shared Key Authentication
|
|
|
|
when no valid WEP keys have been defined.
|
2000-08-23 23:01:04 +04:00
|
|
|
.It Fl M Ar 0|1
|
|
|
|
Enable or disable
|
2002-02-03 12:19:55 +03:00
|
|
|
.Qq microwave oven robustness
|
2001-04-03 15:42:40 +04:00
|
|
|
on a given interface.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl P Ar 0|1
|
2002-01-16 15:01:12 +03:00
|
|
|
Enable or disable power management on a given interface. Enabling
|
1999-07-15 02:33:33 +04:00
|
|
|
power management uses an alternating sleep/wake protocol to help
|
|
|
|
conserve power on mobile stations, at the cost of some increased
|
2002-02-03 12:19:55 +03:00
|
|
|
receive latency. Power management is off by default.
|
|
|
|
.Pp
|
|
|
|
Power management requires the cooperation of an access point in
|
|
|
|
order to function; it is not functional in ad-hoc mode.
|
|
|
|
.Pp
|
|
|
|
Power management
|
1999-07-15 02:33:33 +04:00
|
|
|
is only implemented in Lucent WavePOINT firmware version 2.03 or
|
2002-01-16 15:01:12 +03:00
|
|
|
later, and in WaveLAN PCMCIA adapter firmware 2.00 or later. Older
|
|
|
|
revisions will silently ignore the power management setting. Legal
|
1999-07-15 02:33:33 +04:00
|
|
|
values for this parameter are 0 (off) and 1 (on).
|
2001-05-15 08:16:21 +04:00
|
|
|
.It Fl R Ar 1|3
|
|
|
|
Enable or disable roaming function on a given interface.
|
|
|
|
The legal values are
|
|
|
|
.Ar 1
|
|
|
|
(Roaming handled by firmware) and
|
|
|
|
.Ar 3
|
2002-01-16 15:01:12 +03:00
|
|
|
(Roaming Disabled). The default is 1.
|
2000-02-04 10:59:45 +03:00
|
|
|
.It Fl S Ar max sleep interval
|
1999-07-15 02:33:33 +04:00
|
|
|
Specify the sleep interval to use when power management is enabled.
|
|
|
|
The
|
2001-11-22 01:29:20 +03:00
|
|
|
.Ar max sleep interval
|
2002-01-16 15:01:12 +03:00
|
|
|
is specified in milliseconds. The default is 100.
|
1999-07-15 02:33:33 +04:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
2000-02-04 10:59:45 +03:00
|
|
|
.Xr awi 4 ,
|
1999-07-15 02:33:33 +04:00
|
|
|
.Xr wi 4 ,
|
|
|
|
.Xr ifconfig 8
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
command first appeared in
|
2000-02-04 11:01:43 +03:00
|
|
|
.Fx 3.0 ,
|
2000-11-07 08:44:50 +03:00
|
|
|
as
|
2001-04-03 15:42:40 +04:00
|
|
|
.Ic wicontrol .
|
2000-11-07 08:44:50 +03:00
|
|
|
It was added to
|
2000-02-04 11:01:43 +03:00
|
|
|
.Nx 1.5
|
|
|
|
under its present name.
|
2002-01-16 15:01:12 +03:00
|
|
|
.Sh AUTHORS
|
1999-07-15 02:33:33 +04:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
command was written by
|
|
|
|
.An Bill Paul Aq wpaul@ctr.columbia.edu .
|