added txpower control

pull/277/head
cronyx 2022-07-25 15:02:49 +03:00
parent 3c755e1ffd
commit 0e07135cec
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ load_interface() {
iw reg set ${region} iw reg set ${region}
iwconfig ${wlan} channel ${channel} iwconfig ${wlan} channel ${channel}
iw dev ${wlan} set txpower fixed $((${txpower} * 100))
} }
start_wfb() { start_wfb() {

View File

@ -3,6 +3,7 @@ driver=rtl
wlan=wlan0 wlan=wlan0
region=BO region=BO
channel=14 channel=14
txpower=20
bandwidth=20 bandwidth=20
stbc=1 stbc=1
ldpc=1 ldpc=1