From: Bruno Martins Date: Thu, 25 Apr 2024 15:22:32 +0000 (+0100) Subject: deadpool: wifi: Reflect FW and NVRAM path changes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=74d4dc58d5faa3e087353dabcff679353a7aadd2;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_askey_deadpool.git deadpool: 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 AP and STA paths as well for HAL awareness. Change-Id: Iffef47a0dccbdc48cdcec142ba59d282ca9dd760 --- diff --git a/BoardConfig.mk b/BoardConfig.mk index c85f644..1b4d90f 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -29,8 +29,8 @@ 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_AP := "/vendor/etc/wifi/buildin/fw_bcm4356a2_ag_apsta.bin" -WIFI_DRIVER_FW_PATH_STA := "/vendor/etc/wifi/buildin/fw_bcm4356a2_ag.bin" +WIFI_DRIVER_FW_PATH_AP := "/wifi/fw_bcm4356a2_ag_apsta.bin" +WIFI_DRIVER_FW_PATH_STA := "/wifi/fw_bcm4356a2_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/