User Tools

Site Tools


en:users:documentation:iw

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:users:documentation:iw [2016/08/05 19:39]
Jared Lemke corrected type from "mBm" to "dBm"
en:users:documentation:iw [2016/09/05 20:42]
Jens Steinhauser revert "corrected type from "mBm" to "dBm""
Line 4: Line 4:
 ===== About iw ===== ===== About iw =====
  
-iw is a new [[en/​developers/​Documentation/​nl80211|nl80211]] based CLI configuration utility for wireless devices. It supports all new drivers that have been added to the kernel recently. The old tool iwconfing, which uses Wireless Extensions interface, is deprecated and it's strongly recommended to switch to iw and nl80211. ​+iw is a new [[en/​developers/​Documentation/​nl80211|nl80211]] based CLI configuration utility for wireless devices. It supports all new drivers that have been added to the kernel recently. The old tool iwconfig, which uses Wireless Extensions interface, is deprecated and it's strongly recommended to switch to iw and nl80211. ​
  
 Like rest of Linux kernel, iw is still under development. Features are added 'as we go'. The only documentation for iw is this page and output from 'iw help'. Please help expand this page.  Like rest of Linux kernel, iw is still under development. Features are added 'as we go'. The only documentation for iw is this page and output from 'iw help'. Please help expand this page. 
Line 164: Line 164:
 ===== Setting TX power ===== ===== Setting TX power =====
  
-You can set the txpower by using either the device interface name of the respective phy. +You can set the txpower by using either the device interface name of the respective phy.
  
 +<​code>​iw dev <​devname>​ set txpower <​auto|fixed|limit>​ [<tx power in mBm>]
 +iw phy <​phyname>​ set txpower <​auto|fixed|limit>​ [<tx power in mBm>​]</​code>​
  
-<code>iw dev <​devname>​ set txpower <​auto|fixed|limit>​ [<​tx ​power in dBm>+(Note that the value this commands takes is in //​milli//​bel-milliwatts (mBm) instead of the commonly used //​deci//​bel-milliwatts (dBm). ​<power in mBm= 100 * <power in dBm>)
-iw phy <phyname> set txpower <​auto|fixed|limit>​ [<​tx ​power in dBm>]</​code>​ +
 ===== Power save ===== ===== Power save =====
  
Line 203: Line 203:
 ==== Modifying monitor interface flags ==== ==== Modifying monitor interface flags ====
  
-You can customize the type of monitor interface you create. This can be very useful for debugging purposes on end user systems. For example suppose you want to help a user you can take advantage of the fact that a monitor interface in mac80211 uses radiotap to pass up to userspace additional data. Say we want to help a user fish out data without affecting the device'​s performance by setting ​it it to a full monitor interface ​an monitor interface with no additional monitor flags can be created as follows: ​+You can customize the type of monitor interface you create. This can be very useful for debugging purposes on end user systems. For examplesuppose you want to help a user. You can take advantage of the fact that a monitor interface in mac80211 uses radiotap to pass up to userspace additional data. Say we want to help a user fish out data without affecting the device'​s performance by setting it to a full monitor interface. A monitor interface with no additional monitor flags can be created as follows: ​
  
  
Line 225: Line 225:
           * otherbss ​           * otherbss ​
           * cook            * cook 
 +          * active
 ===== Deleting interfaces with iw ===== ===== Deleting interfaces with iw =====
  
en/users/documentation/iw.txt · Last modified: 2019/06/18 15:02 by Paul Michel