wade: wifi: Reflect FW and NVRAM path changes
authorBruno Martins <bgcngm@gmail.com>
Thu, 25 Apr 2024 15:22:32 +0000 (16:22 +0100)
committerBruno Martins <bgcngm@gmail.com>
Thu, 25 Apr 2024 19:37:32 +0000 (20:37 +0100)
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
init-files/init.amlogic.wifi_buildin.rc

index b6de56e6f8356be8215e7777c16fdbae6521aa7e..e4b956d91e49dd64893eb7ee5c763be7a1dd674d 100644 (file)
@@ -30,8 +30,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
 
index 1ae5218524e2a534e746b23ee23fdde9530970c0..2fa2dca61a2ef18d4139b9ad8ce2db623f43238b 100644 (file)
@@ -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/