# Device Tree
BOARD_USES_DT := true
+
+# Wifi
+TARGET_USES_64_BIT_BCMDHD := true
+BOARD_WLAN_DEVICE := bcmdhd
+WPA_SUPPLICANT_VERSION := VER_0_8_X
+BOARD_WPA_SUPPLICANT_DRIVER := NL80211
+BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
+WPA_SUPPLICANT_USE_HIDL := true
+BOARD_HOSTAPD_DRIVER := NL80211
+BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
+WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/dhd/parameters/firmware_path"
+WIFI_DRIVER_NVRAM_PATH_PARAM := "/sys/module/dhd/parameters/nvram_path"
+WIFI_DRIVER_NVRAM_PATH := "/vendor/etc/wifi/nvram_net.txt"
+WIFI_DRIVER_FW_PATH_STA := "/vendor/etc/wifi/bcmdhd_sta.bin"
+WIFI_DRIVER_FW_PATH_AP := "/vendor/etc/wifi/bcmdhd_apsta.bin"
+WIFI_BAND := 802_11_ABG
+WIFI_HIDL_FEATURE_DUAL_INTERFACE := true
+
+# MACLOADER
+BOARD_HAVE_SAMSUNG_WIFI := true
# A list of dpis to select prebuilt apk, in precedence order.
PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
+# Wifi
+PRODUCT_PACKAGES += \
+ macloader \
+ wifiloader \
+ hostapd \
+ wificond \
+ wifilogd \
+ wlutil \
+ libwpa_client \
+ wpa_supplicant \
+ wpa_supplicant.conf \
+ android.hardware.wifi@1.0-service \
+ android.hardware.wifi@1.0 \
+ android.hardware.wifi@1.0-impl
+
# call the proprietary setup
$(call inherit-product, vendor/samsung/universal8895-common/universal8895-common-vendor.mk)