aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2018-05-02 17:09:00 +0100
committerCosme Domínguez Díaz <cosme.ddiaz@gmail.com>2018-05-06 15:58:34 +0200
commit83c80e8ac20df2e8cc3fde11632d2398986ce966 (patch)
tree9e9d5a59736050a5d1039b87432aac89a98daffb
parentcc24f4c2dd34b63d15fed491e720a5a290471002 (diff)
msm8996-common: Ship and enable atfwd daemon
* The atfwd daemon is responsible for handling AT command forward requests from modem and should be enabled for all targets except sda, apq, qcs. Change-Id: I886b616565f81da10ad4a7b52baf8854a0b26f52
-rw-r--r--manifest.xml9
-rw-r--r--proprietary-files.txt1
-rw-r--r--rootdir/etc/init.qcom.rc6
-rw-r--r--sepolicy/atfwd.te1
4 files changed, 17 insertions, 0 deletions
diff --git a/manifest.xml b/manifest.xml
index 48c55c1..e18a584 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -438,6 +438,15 @@
</interface>
</hal>
<hal format="hidl">
+ <name>vendor.qti.hardware.radio.atcmdfwd</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IAtCmdFwd</name>
+ <instance>AtCmdFwdService</instance>
+ </interface>
+ </hal>
+ <hal format="hidl">
<name>vendor.qti.hardware.radio.ims</name>
<transport>hwbinder</transport>
<version>1.0</version>
diff --git a/proprietary-files.txt b/proprietary-files.txt
index e2e01ca..787304b 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -623,6 +623,7 @@ etc/permissions/telephonyservice.xml
-framework/qcrilhook.jar
-framework/qti-telephony-common.jar|cdf8c78a495edda081c4a6014df6bd0c32a741e6
-priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk
+vendor/bin/ATFWD-daemon
vendor/bin/netmgrd
vendor/bin/qti
vendor/bin/rmt_storage
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 3a4224d..096762c 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -405,6 +405,12 @@ service port-bridge /vendor/bin/port-bridge
disabled
oneshot
+service atfwd /vendor/bin/ATFWD-daemon
+ class late_start
+ user system
+ group system radio
+ writepid /dev/cpuset/system-background/tasks
+
service netmgrd /vendor/bin/netmgrd
class main
user root
diff --git a/sepolicy/atfwd.te b/sepolicy/atfwd.te
new file mode 100644
index 0000000..8588d58
--- /dev/null
+++ b/sepolicy/atfwd.te
@@ -0,0 +1 @@
+allow atfwd sysfs_msm_subsys:dir search;