1 .\" Copyright (c) 1997, 1998, 1999
2 .\" Bill Paul <wpaul@ctr.columbia.edu> All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\" must display the following acknowledgement:
14 .\" This product includes software developed by Bill Paul.
15 .\" 4. Neither the name of the author nor the names of any co-contributors
16 .\" may be used to endorse or promote products derived from this software
17 .\" without specific prior written permission.
19 .\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
20 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 .\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
23 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
29 .\" THE POSSIBILITY OF SUCH DAMAGE.
38 .Nd configure WaveLAN/IEEE devices
41 .Fl i Ar iface Op Fl o
43 .Fl i Ar iface Fl t Ar tx rate
45 .Fl i Ar iface Fl n Ar network name
47 .Fl i Ar iface Fl s Ar station name
49 .Fl i Ar iface Fl c Ar 0|1
51 .Fl i Ar iface Fl q Ar SSID
53 .Fl i Ar iface Fl p Ar port type
55 .Fl i Ar iface Fl a Ar access point density
57 .Fl i Ar iface Fl m Ar mac address
59 .Fl i Ar iface Fl d Ar max data length
61 .Fl i Ar iface Fl r Ar RTS threshold
63 .Fl i Ar iface Fl f Ar frequency
65 .Fl i Ar iface Fl P Ar 0|1
67 .Fl i Ar iface Fl S Ar max_sleep_duration
69 .Fl i Ar iface Fl Z (zero signal cache)
71 .Fl i Ar iface Fl C (display signal cache)
75 command controls the operation of WaveLAN/IEEE wireless networking
78 driver. Most of the parameters that can be changed relate to the
79 IEEE 802.11 protocol which the WaveLAN implements. This includes
80 the station name, whether the station is operating in ad-hoc (point
81 to point) or BSS (service set) mode, and the network name of a service
82 set to join (IBSS) if BSS mode is enabled. The
84 command can also be used to view the current settings of these parameters
85 and to dump out the values of the card's statistics counters.
91 should be the logical interface name associated with the WaveLAN/IEEE
92 device (wi0, wi1, etc...).
94 The options are as follows:
96 .It Fl i Ar iface Op Fl o
97 Display the current settings of the specified WaveLAN/IEEE interface.
98 This retrieves the current card settings from the driver and prints them
99 out. Using the additional
103 to print out the statistics counters instead of the card settings.
104 .It Fl i Ar iface Fl t Ar tx rate
105 Set the transmit rate of the specified interface. The legal values
106 for the transmit rate vary depending on whether the interface is a
107 standard WaveLAN/IEEE or a WaveLAN/IEEE Turbo adapter. The standard
108 NICs support a maximum transmit rate of 2Mbps while the turbo NICs
109 support a maximum speed of 6Mbps. The following table shows the
110 legal transmit rate settings and the corresponding transmit speeds:
111 .Bd -filled -offset indent
112 .Bl -column "TX rate " "NIC speed "
113 .Em "TX rate NIC speed"
115 2 Fixed Standard (2Mbps)
116 3 Auto Rate Select (High)
117 4 Fixed Medium (4Mbps)
119 6 Auto Rate Select (Standard)
120 7 Auto Rate Select (Medium)
124 The standard NICs support only settings 1 through 3. Turbo NICs support
125 all the above listed speed settings.
126 The default driver setting is 3 (auto rate select).
127 .It Fl i Ar iface Fl n Ar network name
128 Set the name of the service set (IBSS) that this station wishes to
131 can be any text string up to 30 characters in length. The default name
132 is the string "ANY" which should allow the station to connect to the first
133 available access point. The interface should be set for BSS mode using
136 flag in order for this to work.
138 Note: the WaveLAN manual indicates that an empty string will allow the
139 host to connect to any access point, however I have also seen a reference
140 in another driver which indicates that the "ANY" string works as well.
141 .It Fl i Ar iface Fl s Ar station name
144 for the specified interface. The
146 is used for diagnostic purposes. The Lucent WaveMANAGER software can
147 poll the names of remote hosts.
148 .It Fl i Ar iface Fl c Ar 0|1
149 Allow the station to create a service set (IBSS). Permitted values
150 are 0 (don't create IBSS) and 1 (enable creation of IBSS). The default
153 Note: this option is provided for experimental purposes only: enabling
154 the creation of an IBSS on a host system doesn't appear to actually work.
155 .It Fl i Ar iface Fl q Ar SSID
156 Specify the name of an IBSS (SSID) to create on a given interface.
159 can be any text string up to 30 characters long.
161 Note: this option is provided for experimental purposes only: enabling
162 the creation of an IBSS on a host system doesn't appear to actually work.
163 .It Fl i Ar iface Fl p Ar port type
166 for a specified interface. The legal values for
168 are 1 (BSS mode) and 3 (ad-hoc) mode. In ad-hoc mode, the station can
169 communicate directly with any other stations within direct radio range
170 (provided that they are also operating in ad-hoc mode). In BSS mode,
171 hosts must associate with a service set controlled by an access point,
172 which relays traffic between end stations. The default setting is 3
174 .It Fl i Ar iface Fl a Ar access_point_density
176 .Ar access point density
177 for a given interface. Legal values are 1 (low), 2 (medium) and 3 (high).
178 This setting influences some of the radio modem threshold settings.
179 .It Fl i Ar iface Fl m Ar mac address
180 Set the station address for the specified interface. The
182 is specified as a series of six hexadecimal values separated by colons,
183 e.g.: 00:60:1d:12:34:56. This programs the new address into the card
184 and updates the interface as well.
185 .It Fl i Ar iface Fl d Ar max_data_length
186 Set the maximum receive and transmit frame size for a specified interface.
189 can be any number from 350 to 2304. The default is 2304.
190 .It Fl i Ar iface Fl r Ar RTS threshold
191 Set the RTS/CTS threshold for a given interface. This controls the
192 number of bytes used for the RTS/CTS handshake boundary. The
194 can be any value between 0 and 2047. The default is 2347.
195 .It Fl i Ar iface Fl f Ar frequency
196 Set the radio frequency of a given interface. The
198 should be specified as a channel ID as shown in the table below. The
199 list of available frequencies is dependent on radio regulations specified
200 by regional authorities. Recognized regulatory authorities include
201 the FCC (United States), ETSI (Europe), France and Japan. Frequencies
202 in the table are specified in Mhz.
203 .Bd -filled -offset indent
204 .Bl -column "Channel ID " "FCC " "ETSI " "France " "Japan "
205 .Em "Channel ID FCC ETSI France Japan"
223 If an illegal channel is specified, the
224 NIC will revert to its default channel. For NICs sold in the United States
225 and Europe, the default channel is 3. For NICs sold in France, the default
226 channel is 11. For NICs sold in Japan, the only available channel is 14.
227 Note that two stations must be set to the same channel in order to
229 .It Fl i Ar iface Fl P Ar 0|1
230 Enable or disable power management on a given interface. Enabling
231 power management uses an alternating sleep/wake protocol to help
232 conserve power on mobile stations, at the cost of some increased
233 receive latency. Power management is off by default. Note that power
234 management requires the cooperation of an access point in order to
235 function; it is not functional in ad-hoc mode. Also, power management
236 is only implemented in Lucent WavePOINT firmware version 2.03 or
237 later, and in WaveLAN PCMCIA adapter firmware 2.00 or later. Older
238 revisions will silently ignore the power management setting. Legal
239 values for this parameter are 0 (off) and 1 (on).
240 .It Fl i Ar iface Fl S Ar max_sleep_interval
241 Specify the sleep interval to use when power management is enabled.
243 .Are max sleep interval
244 is specified in milliseconds. The default is 100.
245 .It Fl i Ar iface Fl Z
246 Clear the signal strength cache maintained internally by the
249 .It Fl i Ar iface Fl C
250 Display the cached signal strength information maintained by the
252 driver. The driver retains information about signal strength and
253 noise level for packets received from different hosts. The signal
254 strength and noise level values are displayed in units of dBms.
255 The signal quality values is produced by subtracting the noise level
256 from the signal strength (i.e. less noise and better signal yields
257 better signal quality).
265 command first appeared in
270 command was written by
271 .An Bill Paul Aq wpaul@ctr.columbia.edu .