summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParanoid Android <build@aospa.local>2022-12-16 07:28:11 +0000
committeralk3pInjection <webmaster@raspii.tech>2023-04-22 00:12:32 +0800
commitb0f01fe4f4b2043f7e0e4e84dea33c83f9c64bba (patch)
tree95ea7723101a5e10c231db7cdcfaefc9b7ee7f1a
parente706fc6cc53d48e2880fe36c09c8cdebd5425b32 (diff)
CFI: Enable for QC WLAN HAL
Google moved their WLAN HAL to be chip specific. At the commit below, they removed CFI from the existing path, which is what Qualcomm uses for their WiFi HAL. This causes runtime crashes per the second commit below. commit 0f03267c9542cb91cb8cdf4b96da62e2bec34cf6 Author: Hsiu-Chang Chen <hsiuchangchen@google.com> Date: Thu Jul 21 10:11:00 2022 +0000 wlan: Update the path of wpa_supplicant_8_lib for qcom Modify the path because we create another wifi_hal and change the file structure. Bug: 213413875 Bug: 239783932 Change-Id: I4c58c756820ee2d5e7918427a4a64b96db7c46be Test: Regression Test commit b321737c6c09912f059fc0c7c8d6ad3d42f88a51 Author: normanwhl <normanwhl@google.com> Date: Wed Apr 13 09:46:26 2022 +0000 Enable CFI for SYNA wpa_supplicant_8 Since the wpa_supplicant_8 has enabled cfi, the static lib that it uses should enable cfi, otherwise there will be runtime crashes. Bug: 225784334 Test: lunch tangor-userdebug m -j run the image on the tangotron and wpa_supplicant should not crash with cfi failures. Change-Id: I17384a47c66cf9385cbb41ad0c0786907ce2f28c Change-Id: I9215b94410dadcd9e32e59547bf21baaa9e8bba3
-rw-r--r--target/product/cfi-common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/product/cfi-common.mk b/target/product/cfi-common.mk
index 11c01a27b5..e763d3fc9b 100644
--- a/target/product/cfi-common.mk
+++ b/target/product/cfi-common.mk
@@ -30,6 +30,7 @@ PRODUCT_CFI_INCLUDE_PATHS := \
hardware/interfaces/nfc \
hardware/qcom/wlan/legacy/qcwcn/wpa_supplicant_8_lib \
hardware/qcom/wlan/wcn6740/qcwcn/wpa_supplicant_8_lib \
+ hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib \
hardware/interfaces/keymaster \
hardware/interfaces/security \
packages/modules/Bluetooth/system \