aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRashed Abdel-Tawab <rashed@linux.com>2017-12-31 04:40:40 +0200
committerDavide Garberi <dade.garberi@gmail.com>2018-01-20 09:39:17 +0100
commitbb70dc3240faa6b8f874a23071aacb2bde7d432a (patch)
treed0dbffd7df98b30b8002e36ab9433bea4f8b3076
parentfc54d77844464c8546e105c3402e9157bd264d3f (diff)
msm8996-common: Build QTI HIDL power 1.0 HAL
* Despite zuk msm8996 devices have QCACLD2 WLAN card and the node that should return WiFi stats is available, it seems that the firmware doesn't fully supports it, causing freezes when trying to access the node. Just go with the HAL that provides no support for this feature. Change-Id: I929a2d3aedf3bfdca962dc34720019d83c7134e1 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
-rw-r--r--BoardConfigCommon.mk2
-rw-r--r--hidl.mk2
-rw-r--r--manifest.xml2
3 files changed, 3 insertions, 3 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index d7495f0..2249e91 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -171,7 +171,7 @@ BOARD_FLASH_BLOCK_SIZE := 262144
BOARD_USES_QCOM_HARDWARE := true
# QCOM Power
-TARGET_POWERHAL_VARIANT := qcom
+TARGET_HAS_NO_WIFI_STATS := true
# Recovery
TARGET_RECOVERY_FSTAB := $(VENDOR_PATH)/rootdir/etc/fstab.full
diff --git a/hidl.mk b/hidl.mk
index b5c2e96..fa67712 100644
--- a/hidl.mk
+++ b/hidl.mk
@@ -97,7 +97,7 @@ PRODUCT_PACKAGES += \
# Power
PRODUCT_PACKAGES += \
- android.hardware.power@1.1-service-qti
+ android.hardware.power@1.0-service-qti
# RenderScript HAL
PRODUCT_PACKAGES += \
diff --git a/manifest.xml b/manifest.xml
index 294b021..39d5e5b 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -164,7 +164,7 @@
<hal format="hidl">
<name>android.hardware.power</name>
<transport>hwbinder</transport>
- <version>1.1</version>
+ <version>1.0</version>
<interface>
<name>IPower</name>
<instance>default</instance>