From 822bd47146d3162b9c2188963cd5f7149ff035de Mon Sep 17 00:00:00 2001 From: Hongbo Zeng Date: Thu, 31 Oct 2019 18:38:25 +0800 Subject: [PATCH] sdm845-common: Enable iWlan legacy mode Bug: 143666962 Test: flash TH ROM and check (1) ro.telephony.iwlan_operation_mode is set to "legacy" (2) set persist.vendor.radio.adb_log_on to 1 and see below log in adb logcat log: 11-01 15:57:29.926 14487 14487 F RILQ : [Log.cpp: 48] [qcrild(14487,14487)] d: [DataModule]: IWLAN mode system property is legacy [jjpprrrr]: Legacy mode iWlan prop also exists in vendor/build.prop from polaris MIUI V12.0.1.0 Global Stable dump. Without iWlan legacy mode, RIL may randomly encounter a delayed start, either after boot or toggling airplane mode, for up to 30 seconds, with the following error in kernel dmesg: init: Control message: Could not find 'vendor.qti.hardware.data.iwlan@1.0::IIWlan/slot2' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager) init: Service 'vendor.qcrild2' (pid 726) received signal 6 init: Sending signal 9 to service 'vendor.qcrild2' (pid 726) process group... libprocessgroup: Successfully killed process cgroup uid 1001 pid 726 in 0ms init: Control message: Could not find 'android.hardware.radio@1.5::IRadio/slot2' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager) init: starting service 'vendor.qcrild2'... init: Control message: Could not find 'android.hardware.radio@1.5::IRadio/slot2' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager) init: Unable to set property 'ro.vendor.ril.svlte1x' from uid:1001 gid:1001 pid:7474: Read-only property was already set init: Unable to set property 'ro.vendor.ril.svdo' from uid:1001 gid:1001 pid:7474: Read-only property was already set init: Untracked pid 7462 exited with status 0 init: Service 'vendor.qcrild' (pid 725) received signal 6 init: Sending signal 9 to service 'vendor.qcrild' (pid 725) process group... libprocessgroup: Successfully killed process cgroup uid 1001 pid 725 in 10ms init: Untracked pid 7466 exited with status 0 init: Control message: Could not find 'vendor.qti.hardware.data.iwlan@1.0::IIWlan/slot1' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager) init: starting service 'vendor.qcrild'... init: Control message: Could not find 'android.hardware.radio@1.5::IRadio/slot1' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager) init: Control message: Could not find 'android.hardware.radio@1.5::IRadio/slot1' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager) init: Unable to set property 'ro.vendor.ril.svlte1x' from uid:1001 gid:1001 pid:7589: Read-only property was already set init: Unable to set property 'ro.vendor.ril.svdo' from uid:1001 gid:1001 pid:7589: Read-only property was already set init: Control message: Could not find 'android.hardware.radio.config@1.1::IRadioConfig/default' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager) Signed-off-by: Chenyang Zhong Change-Id: I6d0de2b1005c9771187f1a54f4b1592a6e2b1a95 --- vendor.prop | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor.prop b/vendor.prop index 5d3eff4..af07361 100644 --- a/vendor.prop +++ b/vendor.prop @@ -133,6 +133,7 @@ ro.vendor.audio.soundtrigger.hist.duration=1500 # Network manager persist.vendor.data.iwlan.enable=true +ro.telephony.iwlan_operation_mode=legacy # Perf ro.vendor.extension_library=libqti-perfd-client.so