From 543d7ac0ef147144111406ef4c8f1029176b119a Mon Sep 17 00:00:00 2001 From: Arian Date: Sat, 20 Aug 2022 00:31:56 +0200 Subject: [PATCH] Revert "sm6150-common: Decommonize cnss-daemon" Since updating QMI blobs from sweet Android 12 the cnss-daemon from Android 11 (on devices with no stock Android 12) fails to get the correct MAC address. Commonize cnss-daemon to fix the mismatch. Xiaomis cnss-daemon loads device specific custom bdwlan firmware and fortunately the one from sweet seems to support all in-house xiaomi sm6150 devices. However it does not contain the firmware names for longcheer devices (surya). But since these devices also need an updated cnss-daemon, they are suggested to apply a patch like this: [1] to mount their firmware with the default name (bdwlan.bin) in order to not loose the tuning with sweet cnss-daemon. This commit also makes cnss-daemon a module, which it wasn't before the removal. [1]: https://github.com/ArrowOS-Devices/android_device_xiaomi_ginkgo/commit/3595347298e55954943185d357733fe18b24af57 This reverts commit 605de3760591483011986b0706b0c8d9ae2eceee. Change-Id: I17d7aa0cf141fc153a12ff3334178ea3e7091873 --- proprietary-files.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proprietary-files.txt b/proprietary-files.txt index 26cface..f58bd3d 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -545,5 +545,8 @@ vendor/app/TimeService/TimeService.apk vendor/etc/init/init.time_daemon.rc -vendor/lib64/libtime_genoff.so +# WLAN +-vendor/bin/cnss-daemon + # Xiaomi MAC -vendor/bin/nv_mac