Hisilicon: update wlan driver for hi3518ev200 ultimate

pull/885/head
Viktor 2023-07-13 18:00:02 +02:00 committed by viktorxda
parent 5525d04aad
commit b893bef8ba
2 changed files with 22 additions and 11 deletions

View File

@ -105,7 +105,7 @@ BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC=y
BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_MEDIATEK_MT7601U=y
BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_RTL_8188EU=y
# BR2_PACKAGE_RTL8188EU is not set
BR2_PACKAGE_RTL8188FU_OPENIPC=y
BR2_PACKAGE_RTL8188FU=y
# WIREGUARD
BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y

View File

@ -6,6 +6,24 @@ set_gpio() {
sleep 1
}
# MT7601U Generic
if [ "$1" = "mt7601u-generic" ]; then
modprobe mt7601u
exit 0
fi
# RTL8188FU Generic
if [ "$1" = "rtl8188fu-generic" ]; then
modprobe 8188fu
exit 0
fi
# RTL8733BU Generic
if [ "$1" = "rtl8733bu-generic" ]; then
modprobe 8733bu
exit 0
fi
# HI3516EV200 CamHi
if [ "$1" = "mt7601u-hi3516ev200-camhi" ]; then
set_gpio 9 0
@ -22,27 +40,21 @@ if [ "$1" = "mt7601u-hi3516ev300-camhi" ]; then
fi
# SSC337DE Foscam
if [ "$1" = "8188fu-ssc337de-foscam" ]; then
if [ "$1" = "rtl8188fu-ssc337de-foscam" ]; then
set_gpio 15 0
modprobe 8188fu
exit 0
fi
# SSC338Q CamHi
if [ "$1" = "8733bu-ssc338q-camhi" ]; then
modprobe 8733bu
exit 0
fi
# T21 BJS
if [ "$1" = "8188fu-t21-bjs" ]; then
if [ "$1" = "rtl8188fu-t21-bjs" ]; then
set_gpio 50 0
modprobe 8188fu
exit 0
fi
# T21 Smartwares
if [ "$1" = "8188fu-t21-smartwares" ]; then
if [ "$1" = "rtl8188fu-t21-smartwares" ]; then
set_gpio 49 1
modprobe 8188fu
exit 0
@ -82,5 +94,4 @@ if [ "$1" = "l716-t31-camhi" ]; then
exit 0
fi
exit 1