Hello, I have problem with setting TX power for my WiFi interface.
I have two WiFi interfaces (wlan0 and wlan1) so I disable both of them (because there is problem to set proper reg if wlan0 is up):
root@kali:~# ifconfig wlan0 down
root@kali:~# ifconfig wlan1 down
In next step I set proper reg
root@kali:~# iw reg set GY
root@kali:~# ifconfig wlan1 up
root@kali:~# iw reg get
country GY: DFS-UNSET
(2402 - 2482 @ 40), (N/A, 30), (N/A)
(5735 - 5835 @ 80), (N/A, 30), (N/A)
So now I should be able to edit TX Power to max 30 dBm
Lets check what value it is for now:
root@kali:~# iwconfig wlan1 | grep Tx
Tx-Power=20 dBm
and try change it to 30
root@kali:~# iwconfig wlan1 txpower 30
root@kali:~# iwconfig wlan1 | grep Tx
Tx-Power=20 dBm
Well... Nope. So am I able to set it to... eg. 15?
root@kali:~# iwconfig wlan1 | grep Tx
Tx-Power=20 dBm
Also it didn't work. So its look like there is no problem with "iw set reg" but "iwconfig wlan1 txpower" have no effect
root@kali:~# uname -a
Linux kali 4.0.0-kali1-686-pae #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) i686 GNU/Linux
root@kali:~# iwconfig wlan1
wlan1 IEEE 802.11bgn ESSIDff/any
Mode:Managed Frequency:2.472 GHz Access Point: Not-Associated
Tx-Power=20 dBm
Retry short limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementff
WiFi cart: ALFA AWUS036NHA