From: Bruno Martins Date: Thu, 25 Apr 2024 15:22:32 +0000 (+0100) Subject: radxa0: wifi: Reflect FW and NVRAM path changes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ca3ad7f1977c2dba30b456551f51b66e8fe2167;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_radxa_radxa0.git radxa0: wifi: Reflect FW and NVRAM path changes BCMDHD driver has been updated in order to use Linux firmware loading API. The paths are now relative to /vendor/firmware/. Update STA path as well for HAL awareness. Change-Id: Iffef47a0dccbdc48cdcec142ba59d282ca9dd760 --- diff --git a/BoardConfig.mk b/BoardConfig.mk index e3588e9..e39cd6d 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -30,7 +30,7 @@ BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd BOARD_WLAN_DEVICE := bcmdhd BOARD_WPA_SUPPLICANT_DRIVER := NL80211 BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd -WIFI_DRIVER_FW_PATH_STA := "/vendor/etc/wifi/buildin/fw_bcm43456c5_ag.bin" +WIFI_DRIVER_FW_PATH_STA := "/wifi/fw_bcm43456c5_ag.bin" WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/dhd/parameters/firmware_path" WPA_SUPPLICANT_VERSION := VER_0_8_X diff --git a/init-files/init.amlogic.wifi_buildin.rc b/init-files/init.amlogic.wifi_buildin.rc index 1ae5218..2fa2dca 100644 --- a/init-files/init.amlogic.wifi_buildin.rc +++ b/init-files/init.amlogic.wifi_buildin.rc @@ -1,2 +1,2 @@ on boot - insmod /vendor/lib/modules/dhd.ko firmware_path=/vendor/etc/wifi/buildin/ nvram_path=/vendor/etc/wifi/buildin/ + insmod /vendor/lib/modules/dhd.ko firmware_path=/wifi/ nvram_path=/wifi/