Add wifi support to the generic system image
Added wifi-related packages (except those not generic such as
wpa_supplicant) to the generic system image.
Bug: 36015569
Test: Wifi works with this generic image on sailfish.
Change-Id: Ib4d07facd4eb1ca0f375d9135a75b892d0ef80a4
diff --git a/target/product/aosp_arm64_ab.mk b/target/product/aosp_arm64_ab.mk
index 6a7023e..925c823 100644
--- a/target/product/aosp_arm64_ab.mk
+++ b/target/product/aosp_arm64_ab.mk
@@ -92,6 +92,7 @@
android.hardware.vibrator@1.0 \
android.hardware.vr@1.0 \
android.hardware.wifi@1.0 \
+ android.hardware.wifi.supplicant@1.0 \
android.hidl.allocator@1.0 \
android.hidl.base@1.0 \
android.hidl.manager@1.0 \
@@ -102,7 +103,17 @@
libxml2 \
libtinyalsa \
libtinycompress \
- cplay
+ cplay \
+
+# WiFi
+# Note: Wifi HAL (android.hardware.wifi@1.0-service, wpa_supplicant,
+# and wpa_supplicant.conf) is not here. They are at vendor.img
+PRODUCT_PACKAGES += \
+ libwpa_client \
+ hostapd \
+ hostapd_cli \
+ wificond \
+ wifilogd \
PRODUCT_SYSTEM_VERITY_PARTITION := /dev/block/bootdevice/by-name/system