== Set regulatory domain == {{{#!highlight sh numbers=off 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 == {{{#!highlight sh numbers=off sudo iw dev wlan0 set txpower limit 2200 }}} should work, but it doesn't? {{{#!highlight sh numbers=off sudo iwconfig wlan0 txpower 20 }}} does work but not for the max power supported for the device. ---- CategoryCheatSheet