Allow changing TX power dynamically on 8812eu and 8733bu

Signed-off-by: Ruixi Zhou <zhouruixi@gmail.com>
pull/1806/head
Ruixi Zhou 2025-04-30 11:34:58 +08:00
parent 5d761d854e
commit da0e1af637
1 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@ load_modules() {
sleep 1
if [ "$driver" != "88XXau" ]; then
opt1="rtw_tx_pwr_by_rate=2"
opt2="rtw_tx_pwr_lmt_enable=2"
opt1="rtw_tx_pwr_by_rate=0"
opt2="rtw_tx_pwr_lmt_enable=0"
fi
modprobe "$driver" "$opt1" "$opt2"