[no ci] overlay-files: wireless - wyze pan changes (#1084)

Co-authored-by: Signor Pellegrino <68112357+FlyRouter@users.noreply.github.com>
pull/1085/head
gtxaspec 2023-10-23 07:44:11 -07:00 committed by GitHub
parent 60b4b12606
commit f3637abce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 1 deletions

View File

@ -52,6 +52,18 @@ if [ "$1" = "atbm603x-t31-wyze-v3" ]; then
exit 0
fi
# T31 Wyze PanV2 ATBM603x
if [ "$1" = "atbm603x-t31-wyze-pan-v2" ]; then
set_gpio 58 0;set_gpio 58 1
set_mmc 1
cp /usr/share/atbm60xx_conf/atbm_txpwer_dcxo_cfg.txt /tmp
cp /usr/share/atbm60xx_conf/set_rate_power.txt /tmp
modprobe atbm603x_wifi_sdio atbm_printk_mask=0
exit 0
fi
# T31 Wyze V3 RTL8189FTV
if [ "$1" = "rtl8189ftv-t31-wyze-v3" ]; then
set_gpio 57 1
@ -75,7 +87,7 @@ if [ "$1" = "rtl8189ftv-t20-wyze-v2" ]; then
fi
# T20 Wyze PanV1 RTL8189ES
if [ "$1" = "rtl8189ftv-t20-wyze-pan-v1" ]; then
if [ "$1" = "rtl8189es-t20-wyze-pan-v1" ]; then
set_mmc 1
modprobe 8189es rtw_power_mgnt=0 rtw_enusbss=0
exit 0