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
Last revision Both sides next revision
en:users:documentation:iw [2016/08/05 23:36]
Jared Lemke [Modifying monitor interface flags] - added "active" to the list of options
en:users:documentation:iw [2017/07/26 19:47]
Robert Tinghitella country has to be lowercase. wpa_supplicant throws an unknown field / invalis configuration line
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 244: Line 244:
 Where "​alpha2"​ is the [[http://​en.wikipedia.org/​wiki/​ISO_3166-1_alpha-2|ISO/​IEC 3166 alpha2]] country code. The information used and set comes from our [[en/​developers/​Regulatory|regulatory infrastructure]]. ​ Where "​alpha2"​ is the [[http://​en.wikipedia.org/​wiki/​ISO_3166-1_alpha-2|ISO/​IEC 3166 alpha2]] country code. The information used and set comes from our [[en/​developers/​Regulatory|regulatory infrastructure]]. ​
  
-You can also use the latest wpa_supplicant (as of 0.6.7) now to change your regulatory domain, to do so just add a "COUNTRY=US" entry into your configuration for example. ​+You can also use the latest wpa_supplicant (as of 0.6.7) now to change your regulatory domain, to do so just add a "country=US" entry into your configuration for example. ​
  
  
en/users/documentation/iw.txt · Last modified: 2019/06/18 15:02 by Paul Michel