* Only deadpool/wade/sabrina have Broadcom Wi-Fi/Bluetooth,
dopinder/beast have Realtek, and will need different modules
and node permissions changed.
Change-Id: I204e5c22a1dc306c9c932a3634f5e6534a438ee5
PRODUCT_PACKAGES += \
libbt-vendor
+## Init-Files
+PRODUCT_COPY_FILES += \
+ $(DEVICE_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc
+
## Kernel Modules
PRODUCT_PACKAGES += \
dhd
--- /dev/null
+on boot
+ insmod /vendor/lib/modules/dhd.ko firmware_path=/vendor/etc/wifi/buildin/ nvram_path=/vendor/etc/wifi/buildin/
+ chown root wifi /sys/module/dhd/parameters/firmware_path
+ chown root wifi /sys/module/bcmdhd/parameters/firmware_path
+ chmod 664 /sys/module/bcmdhd/parameters/firmware_path
+ chmod 664 /sys/module/dhd/parameters/firmware_path