OSDN Git Service

v21
[android-x86/external-wireless-tools.git] / wireless_tools / iwconfig.8
index 3b0c5fd..fbc3483 100644 (file)
@@ -17,9 +17,9 @@ iwconfig \- configure a wireless network interface
 .br
 .BI "                   [sens " S "] [mode " M "] [ap " A "] [nick " NN ]
 .br
-.BI "                   [rate " R "] [rts " RT "] [frag " FT ]
+.BI "                   [rate " R "] [rts " RT "] [frag " FT "] [txpower " T ]
 .br
-.BI "                   [enc " E "] [key " K "] [power " P ]
+.BI "                   [enc " E "] [key " K "] [power " P "] [retry " R ]
 .\"
 .\" DESCRIPTION part
 .\"
@@ -243,8 +243,12 @@ To set the period between wake up, enter
 .IR "period `value'" .
 To set the timeout before going back to sleep, enter
 .IR "timeout `value'" .
-By defaults, those values are in seconds, append the suffix m or u to
-specify values un milliseconds or microseconds.
+You can also add the
+.IR min " and " max
+modifiers. By defaults, those values are in seconds, append the
+suffix m or u to specify values un milliseconds or
+microseconds. Sometimes, those values are without units (number of
+dwell or the like).
 .br
 .IR off " and " on
 disable and reenable power management. Finally, you may set the power
@@ -265,6 +269,61 @@ management mode to
 .I "   iwconfig eth0 power timeout 300u all"
 .br
 .I "   iwconfig eth0 power off"
+.br
+.I "   iwconfig eth0 power min period 2 power max period 4"
+.TP
+.BR txpower
+For cards supporting multiple transmit powers, set the transmit power in dBm. If 
+.I W
+is the power in Watt, the power in dBm is
+.IR "P = 30 + 10.log(W)" .
+If the value is postfixed by
+.IR mW ,
+it will be automatically converted to dBm.
+.br
+In addition, 
+.IR on " and " off
+enable and disable the radio, and
+.IR auto " and " fixed
+enable and disable power control (if those features are available).
+.br
+.B Examples :
+.br
+.I "   iwconfig eth0 txpower 15"
+.br
+.I "   iwconfig eth0 txpower 30mW"
+.br
+.I "   iwconfig eth0 txpower auto"
+.br
+.I "   iwconfig eth0 txpower off"
+.TP
+.BR retry
+Most cards have MAC retransmissions, and some allow to set the
+behaviour of the retry mechanism.
+.br
+To set the maximum number of retries, enter
+.IR "limit `value'" .
+This is an absolute value (without unit).
+The set the maximum length of time the MAC should retry, enter
+.IR "lifetime `value'" .
+By defaults, this value in in seconds, append the suffix m or u to
+specify values un milliseconds or microseconds.
+.br
+You can also add the
+.IR min " and " max
+modifiers. If the card support automatic mode, they define the bounds
+of the limit or lifetime. Some other cards define different values
+depending on packet size, for example in 802.11
+.I min limit
+is the short retry limit (non RTS/CTS packets).
+.br
+.B Examples :
+.br
+.I "   iwconfig eth0 retry 16"
+.br
+.I "   iwconfig eth0 retry lifetime 300m"
+.br
+.I "   iwconfig eth0 retry min limit 8"
 .\"
 .\" DISPLAY part
 .\"
@@ -345,7 +404,9 @@ Jean Tourrilhes \- jt@hpl.hp.com
 .SH SEE ALSO
 .BR ifconfig (8),
 .BR iwspy (8),
+.BR iwlist (8),
 .BR iwpriv (8),
 .BR wavelan (4),
 .BR wavelan_cs (4),
-.BR xircnw_cs (4).
+.BR wvlan_cs (4),
+.BR netwave_cs (4).