Allow changing TX power dynamically on 8812eu and 8733bu (#1806)

Signed-off-by: Ruixi Zhou <zhouruixi@gmail.com>
pull/1809/head
CC 2025-04-30 20:44:55 +08:00 committed by GitHub
parent 0153b72569
commit 861650be26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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"