This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:users:documentation:iw [2016/09/01 21:25] Scott Bertilson |
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 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. |