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]: 3595347298

This reverts commit 605de37605.

Change-Id: I17d7aa0cf141fc153a12ff3334178ea3e7091873
This commit is contained in:
Arian 2022-08-20 00:31:56 +02:00
parent 3f2881cb07
commit 543d7ac0ef

View File

@ -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