From 4a364b6333fd4bb738337867ab749a693709e15f Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Thu, 25 Apr 2024 16:22:32 +0100 Subject: [PATCH] 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 --- BoardConfig.mk | 4 ++-- init-files/init.amlogic.wifi_buildin.rc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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/ -- 2.20.1