Set regulatory domain

   1 sudo iw reg set US
   2 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:

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