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:

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)