From a4564274c3d1bf641142bd6d6494685bc60bb737 Mon Sep 17 00:00:00 2001 From: Sameer Thalappil Date: Tue, 16 Feb 2016 15:41:15 -0800 Subject: [PATCH 1/2] wlan: Add WLAN CLD driver Add WLAN host driver to the base packages. CRs-Fixed: 977811 Change-Id: I28c4aa0756f500362f9076c6dc8d0cf5718de400 --- base.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/base.mk b/base.mk index 942657d4..5e51dcf8 100644 --- a/base.mk +++ b/base.mk @@ -664,6 +664,7 @@ CRDA += init.crda.sh #WLAN WLAN := prima_wlan.ko WLAN += pronto_wlan.ko +WLAN += qca_cld_wlan.ko #FSTMAN FSTMAN := fstman From 4a090093ec925c13dd513cbd264866c7a9e56b31 Mon Sep 17 00:00:00 2001 From: Vijayavardhan Vennapusa Date: Wed, 17 Feb 2016 16:15:16 +0530 Subject: [PATCH 2/2] init.qcom.usb.rc: Add support for RNDIS + DPL composition Add required rules for enabling support for DPL along with RNDIS composition. 0x90BF - RNDIS + DIAG + DPL 0x90C0 - RNDIS + DIAG + DPL + ADB Change-Id: I6ea60eb88a7b225cb6066b6508c2591bf0c74a96 --- rootdir/etc/init.qcom.usb.rc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/rootdir/etc/init.qcom.usb.rc b/rootdir/etc/init.qcom.usb.rc index 6b7dfe1a..47289a7a 100644 --- a/rootdir/etc/init.qcom.usb.rc +++ b/rootdir/etc/init.qcom.usb.rc @@ -747,6 +747,33 @@ on property:sys.usb.config=rndis,diag,adb start adbd setprop sys.usb.state rndis,adb +# DPL is implemented using QDSS +on property:sys.usb.config=rndis,diag,dpl + write /sys/class/android_usb/android0/enable 0 + write /sys/class/android_usb/android0/idVendor 05C6 + write /sys/class/android_usb/android0/idProduct 90BF + write /sys/class/android_usb/android0/f_diag/clients diag + write /sys/class/android_usb/android0/f_qdss/debug_intf 0 + write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa + write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam + write /sys/class/android_usb/android0/functions rndis,diag,qdss + write /sys/class/android_usb/android0/enable 1 + setprop sys.usb.state rndis + +# DPL is implemented using QDSS +on property:sys.usb.config=rndis,diag,dpl,adb + write /sys/class/android_usb/android0/enable 0 + write /sys/class/android_usb/android0/idVendor 05C6 + write /sys/class/android_usb/android0/idProduct 90C0 + write /sys/class/android_usb/android0/f_diag/clients diag + write /sys/class/android_usb/android0/f_qdss/debug_intf 0 + write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa + write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam + write /sys/class/android_usb/android0/functions rndis,diag,qdss,adb + write /sys/class/android_usb/android0/enable 1 + start adbd + setprop sys.usb.state rndis,adb + on property:sys.usb.config=rndis,serial_smd write /sys/class/android_usb/android0/enable 0 write /sys/class/android_usb/android0/idVendor 05C6