Differences between revisions 1 and 2
Revision 1 as of 2012-02-16 08:16:08
Size: 969
Editor: SamatJain
Comment:
Revision 2 as of 2013-11-06 22:01:34
Size: 1074
Editor: SamatJain
Comment: Mention Bolivia
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
{{{#!highlight sh {{{#!highlight sh numbers=off
Line 26: Line 26:
Setting the regulatory domain to Bolivia (BO) lets you use 30 dBm (1 W power) at 2.4 GHz.

Set regulatory domain

sudo iw reg set US
sudo iw reg get

will display:

country US:
        (2402 - 2472 @ 40), (3, 27)
        (5170 - 5250 @ 40), (3, 17)
        (5250 - 5330 @ 40), (3, 20), DFS
        (5490 - 5600 @ 40), (3, 20), DFS
        (5650 - 5710 @ 40), (3, 20), DFS
        (5735 - 5835 @ 40), (3, 30)

Where:

  • The first tuple is frequency and channel width. E.g. the first pair in the line above is for 2.4 GHz WiFi.

  • The first number in the second tuple is UNKNOWN
  • The second number in the second tuple is the max dBm (i.e. transmit power) for the device. E.g. 27 dBm for the above.

Setting the regulatory domain to Bolivia (BO) lets you use 30 dBm (1 W power) at 2.4 GHz.

Set transmit power

sudo iw dev wlan0 set txpower limit 2200

should work, but it doesn't?

sudo iwconfig wlan0 txpower 20

does work but not for the max power supported for the device.


CategoryCheatSheet

SamatsWiki: CheatSheet/Wireless (last edited 2013-11-06 22:01:34 by SamatJain)