diff options
author | Gabriel Biren <gbiren@google.com> | 2023-10-09 19:41:16 +0000 |
---|---|---|
committer | Gabriel Biren <gbiren@google.com> | 2023-11-15 18:34:05 +0000 |
commit | 3c3347ec5723ad7f5c47395265a529965909552c (patch) | |
tree | 08d52ad2edf7e4d7738ad9a01d24a16dedca8d36 | |
parent | 6a17d1aeacd38b3af16727e4b824fdbc62eecea9 (diff) | |
download | wpa_supplicant_8-3c3347ec5723ad7f5c47395265a529965909552c.tar.gz |
Upgrade hostapd service to implement V2
of the Hostapd HAL.
Bug: 296069900
Test: m
Change-Id: I5c69302d5cd9bf0de5f0bcebb84d60d4baa96e39
-rw-r--r-- | hostapd/Android.bp | 2 | ||||
-rw-r--r-- | hostapd/Android.mk | 6 | ||||
-rw-r--r-- | hostapd/aidl/Android.bp | 2 | ||||
-rw-r--r-- | hostapd/android.hardware.wifi.hostapd.xml | 1 |
4 files changed, 7 insertions, 4 deletions
diff --git a/hostapd/Android.bp b/hostapd/Android.bp index e4b37186..119f66ef 100644 --- a/hostapd/Android.bp +++ b/hostapd/Android.bp @@ -45,7 +45,7 @@ cc_defaults { defaults: ["hostapd_cflags_defaults"], srcs: [":hostapd_srcs"], shared_libs: [ - "android.hardware.wifi.hostapd-V1-ndk", + "android.hardware.wifi.hostapd-V2-ndk", "libbase", "libutils", "libbinder_ndk", diff --git a/hostapd/Android.mk b/hostapd/Android.mk index 7a1b612e..35ada837 100644 --- a/hostapd/Android.mk +++ b/hostapd/Android.mk @@ -1194,7 +1194,8 @@ LOCAL_STATIC_LIBRARIES += libnl_2 endif endif ifeq ($(HOSTAPD_USE_AIDL), y) -LOCAL_SHARED_LIBRARIES += android.hardware.wifi.hostapd-V1-ndk +LOCAL_SHARED_LIBRARIES += android.hardware.wifi.hostapd-V2-ndk +LOCAL_SHARED_LIBRARIES += android.hardware.wifi.common-V1-ndk LOCAL_SHARED_LIBRARIES += libbase libutils LOCAL_SHARED_LIBRARIES += libbinder_ndk LOCAL_STATIC_LIBRARIES += libhostapd_aidl @@ -1248,7 +1249,8 @@ LOCAL_SRC_FILES := \ aidl/aidl.cpp \ aidl/hostapd.cpp LOCAL_SHARED_LIBRARIES := \ - android.hardware.wifi.hostapd-V1-ndk \ + android.hardware.wifi.hostapd-V2-ndk \ + android.hardware.wifi.common-V1-ndk \ libbinder_ndk \ libbase \ libutils \ diff --git a/hostapd/aidl/Android.bp b/hostapd/aidl/Android.bp index 3cbccee3..410e701c 100644 --- a/hostapd/aidl/Android.bp +++ b/hostapd/aidl/Android.bp @@ -31,7 +31,7 @@ cc_library_static { defaults: ["hostapd_cflags_defaults"], soc_specific: true, shared_libs: [ - "android.hardware.wifi.hostapd-V1-ndk", + "android.hardware.wifi.hostapd-V2-ndk", "libbinder_ndk", "libbase", "libutils", diff --git a/hostapd/android.hardware.wifi.hostapd.xml b/hostapd/android.hardware.wifi.hostapd.xml index eb91ee20..c0fe942f 100644 --- a/hostapd/android.hardware.wifi.hostapd.xml +++ b/hostapd/android.hardware.wifi.hostapd.xml @@ -1,6 +1,7 @@ <manifest version="1.0" type="device"> <hal format="aidl"> <name>android.hardware.wifi.hostapd</name> + <version>2</version> <fqname>IHostapd/default</fqname> </hal> </manifest> |