Commit graph

4 commits

Author SHA1 Message Date
Soul Trace
9b5bf8c210
ipacm: Fix WLAN tethering offload
Fix reboot after 120 seconds on WLAN tethering enable.
Fix "target device is connected but no internet" issue.

Move ipacm-related sections from rootdir/etc/init.qcom.rc to data-ipa-cfg-mgr/ipacm/src/ipacm.rc
Make ipacm.rc look like vendor/qcom/opensource/data-ipa-cfg-mgr/ipacm/src/ipacm.rc but add
writepid /dev/cpuset/system-background/tasks to the service definition.
This let ipacm start after data decryption (it got killed on data decrypt and not respawned,
because was disabled).
This fixes following errors:
04-01 14:35:57.525   591 17586 W libc    : Unable to set property "ctl.interface_start" to "android.hardware.tetheroffload.config@1.0::IOffloadConfig/default": error code: 0x20
04-01 14:35:57.526  2665  3190 I ServiceManagement: getService: Trying again for android.hardware.tetheroffload.config@1.0::IOffloadConfig/default...
04-01 14:35:57.526   591 17586 E hwservicemanager: Failed to set property for starting android.hardware.tetheroffload.config@1.0::IOffloadConfig/default

Set wifi.active.interface context to exported_wifi_prop and allow hal_wifi_default to set it.
I don't know why context definition was not embedded to the contexts file, but now it is.
This fixes following errors:
[163263.846522] selinux: avc:  denied  { set } for property=wifi.active.interface pid=2733 uid=1010 gid=1010 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0

Change-Id: I735e7d8d8d07b9545ef16a6baa35a13aba3cd116
2020-08-12 02:02:37 +06:00
Max Weffers
4d31d8482d
Revert "sdm660-common: Move to common data-ipa-cfg-mgr"
This reverts commit 98c3540df1.

Revert needed due Wifi Offload service crashing device and cause soft reboot
2019-12-23 08:59:25 +01:00
Bruno Martins
98c3540df1
sdm660-common: Move to common data-ipa-cfg-mgr
* It is now available at vendor/qcom/opensource/data-ipa-cfg-mgr

Change-Id: If66808c4bc2c02f7d253bdc1f7b34b83f559a047
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-12-13 17:21:08 +01:00
Max Weffers
81b3fa2e6c
sdm660-common: data-ipa-cfg-mgr: Merge tag LA.UM.8.2.r1-04800-sdm660.0 2019-11-13 21:44:34 +01:00