Commit graph

22 commits

Author SHA1 Message Date
fakeyatogod
712e313a89
sdm660-common: data-ipa-cfg-mgr: Merge tag 'LA.UM.8.2.r1-06900-sdm660.0'
From https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/data-ipa-cfg-mgr

"LA.UM.8.2.r1-06900-sdm660.0"

Change-Id: I7385f0516558bbc313843efe0c7ea5d7286be042
2020-10-19 11:36:06 +06:00
Max Weffers
ec070c751e
sdm660-common: Update data-ipa-cfg-mgr from LA.UM.8.2.r1-06600-sdm660.0
Change-Id: I0bb33f221bef6caac28b87d61201df8996f9a356
2020-08-12 02:11:33 +06:00
Max Weffers
4c2ff8b4b8
Merge tag 'LA.UM.8.2.r1-06300-sdm660.0' of https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/data-ipa-cfg-mgr into HEAD
"LA.UM.8.2.r1-06300-sdm660.0"

Change-Id: I04700deece31db26973552e77ec9a64907ee0852
2020-08-12 02:02:37 +06:00
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
Bauuuuu
f40247437a
sdm660-common: data-ipa-cfg-mgr: fix build for Q 2019-11-13 21:44:39 +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
mjavid
2d40c8bcf4
sdm660: ipacm: Fix compilation error for switch case
Insert fallthrough statement to fix compilation
error for unannotated fall-through between switch
labels.

Change-Id: Ibc5f3f0cdc29e8144a47059c31ce15441a90ddac
2019-09-16 10:39:53 +02:00
ShevT
539590508a
sdm660: data-ipa-cfg-mgr: hal: Fix unused argument
Change-Id: Ife7f66fdad5c0b1ad589cd84b2d00ac1cd4538b2
2019-08-14 10:04:14 +02:00
ShevT
d42c0c090b
sdm660: data-ipa-cfg-mgr: Fix compiler warning
Warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h"

Change-Id: I52ee45c490a47993960d3a055e94466a90d89454
2019-08-14 10:04:14 +02:00
Antoine Giraudmaillet
81eb3926d2
sdm660: ipacm: Fix memory leaks
* Errors reported by CppCheck.

Change-Id: I700e4c8ef6a4cb7f551e1d9c69f72d218b124dde
Signed-off-by: Albert I <krascgq@outlook.co.id>
2019-08-14 10:04:14 +02:00
Michael Bestas
0b6a4108c1
data-ipa-cfg-mgr: Disable NAT_DUMP on non-debug builds
* Fix compilation with disabled debugging

Change-Id: I7483735fb935798b57e0072bb14ed8a476857786
2019-08-14 10:04:14 +02:00
Bruno Martins
0895dd6712
data-ipa-cfg-mgr: Disable all the debugging
* Same logic as in commit 5463a591007ae63ba3720ed295eac5ef19cc2ce0.

Change-Id: I7ca76b868a4678fb5d8280928f90160973e51871
2019-08-14 10:04:14 +02:00
Luca Stefani
af85e825a1
data-ipa-cfg-mgr: Disable DEBUG for userdebug builds
Change-Id: Idaee3e6d5b3759028918559b70e04547809bc09b
2019-08-14 10:04:14 +02:00
Luca Stefani
89acfd7792
data-ipa-cfg-mgr: Remove verbose cflag
Change-Id: I7d028b4b606f209bd6c27f9f74f4fc04ff69d8c7
2019-08-14 10:04:14 +02:00
Steve Kondik
bb6531ad5c
data-ipa-cfg-mgr: Don't build ipacm tests on debug builds
Change-Id: I1fd4a4bafc917586ee391fbf6df0da1d12212d36
2019-08-14 10:04:14 +02:00
pythonlimited
85f7ccdf9c
sdm660-common: import IPACM from QC Tag: LA.UM.7.2.r1-07000-sdm660.0 2019-08-14 10:04:14 +02:00
Bruno Martins
166193ff9f
wayne-common: Move to common data-ipa-cfg-mgr
* It is now available at vendor/qcom/opensource/data-ipa-cfg-mgr

Change-Id: If66808c4bc2c02f7d253bdc1f7b34b83f559a047
2019-08-14 10:04:09 +02:00
Isaac Chen
ae5a6d2790 wayne-common: Synchronize IPACM to P
* QC Tag: LA.UM.7.2.r1-04900-sdm660.0

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-07-01 16:42:18 +02:00
Antoine Giraudmaillet
f2aa710e36 wayne: ipacm: Fix memory leaks
* Errors reported by CppCheck.

Change-Id: I700e4c8ef6a4cb7f551e1d9c69f72d218b124dde
2018-07-19 00:01:07 +00:00
Isaac Chen
2c422cb5c2 wayne: Import IPACM
* QC Tag: LA.UM.6.2.r1-06100-sdm660.0

Change-Id: I8209c81b5c05f618450248e88226d216935a8bcd
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:17 +00:00