Merge commit 'a308eec4e6f768e96d5c2ac662742a0ce6780ddb' into remote
Conflicts: device/overlay/packages/apps/CarrierConfig/res/xml/vendor.xml rootdir/etc/init.qcom.rc Change-Id: I0bf3d3bad8a8ee9f8e608ef46664dc4172fe0275
This commit is contained in:
commit
642d20c7de
8
base.mk
8
base.mk
|
@ -663,6 +663,9 @@ STK := Stk
|
|||
#STM LOG
|
||||
STMLOG := libstm-log
|
||||
|
||||
#THERMAL_HAL
|
||||
THERMAL_HAL := thermal.msm8998
|
||||
|
||||
#TSLIB_EXTERNAL
|
||||
TSLIB_EXTERNAL := corgi
|
||||
TSLIB_EXTERNAL += dejitter
|
||||
|
@ -677,6 +680,9 @@ TSLIB_EXTERNAL += tsutils
|
|||
TSLIB_EXTERNAL += tscalib
|
||||
TSLIB_EXTERNAL += ts
|
||||
|
||||
#VR_HAL
|
||||
VR_HAL := vr.msm8998
|
||||
|
||||
#QRGND
|
||||
QRGND := qrngd
|
||||
QRGND += qrngp
|
||||
|
@ -849,7 +855,9 @@ PRODUCT_PACKAGES += $(SENSORS_HARDWARE)
|
|||
#PRODUCT_PACKAGES += $(SOFTAP)
|
||||
PRODUCT_PACKAGES += $(STK)
|
||||
PRODUCT_PACKAGES += $(STMLOG)
|
||||
PRODUCT_PACKAGES += $(THERMAL_HAL)
|
||||
PRODUCT_PACKAGES += $(TSLIB_EXTERNAL)
|
||||
PRODUCT_PACKAGES += $(VR_HAL)
|
||||
PRODUCT_PACKAGES += $(QRGND)
|
||||
PRODUCT_PACKAGES += $(UPDATER)
|
||||
PRODUCT_PACKAGES += $(WPA)
|
||||
|
|
|
@ -84,6 +84,9 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
|
|||
|
||||
<!-- Config for RTT feature support -->
|
||||
<boolean name="carrier_rtt_supported" value="false" />
|
||||
<boolean name="carrier_rtt_supported_on_vtcalls" value="false"/>
|
||||
<boolean name="carrier_rtt_upgrade_supported" value="false"/>
|
||||
<boolean name="carrier_rtt_downgrade_supported" value="false"/>
|
||||
|
||||
</carrier_config>
|
||||
|
||||
|
@ -1123,6 +1126,9 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
|
|||
<boolean name="carrier_wfc_ims_available_bool" value="true" />
|
||||
<boolean name="config_enable_display_14digit_imei" value="true" />
|
||||
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
|
||||
<boolean name="carrier_rtt_supported" value="true" />
|
||||
<boolean name="carrier_rtt_upgrade_supported" value="true"/>
|
||||
<boolean name="carrier_rtt_downgrade_supported" value="true"/>
|
||||
</carrier_config>
|
||||
|
||||
<carrier_config mcc="310" mnc="070">
|
||||
|
@ -1132,6 +1138,9 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
|
|||
<boolean name="config_enable_display_14digit_imei" value="true" />
|
||||
<boolean name="transmit_static_image" value="true"/>
|
||||
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
|
||||
<boolean name="carrier_rtt_supported" value="true" />
|
||||
<boolean name="carrier_rtt_upgrade_supported" value="true"/>
|
||||
<boolean name="carrier_rtt_downgrade_supported" value="true"/>
|
||||
</carrier_config>
|
||||
|
||||
<carrier_config mcc="310" mnc="080">
|
||||
|
@ -1142,6 +1151,12 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
|
|||
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
|
||||
</carrier_config>
|
||||
|
||||
<carrier_config mcc="310" mnc="090">
|
||||
<boolean name="carrier_rtt_supported" value="true" />
|
||||
<boolean name="carrier_rtt_upgrade_supported" value="true"/>
|
||||
<boolean name="carrier_rtt_downgrade_supported" value="true"/>
|
||||
</carrier_config>
|
||||
|
||||
<carrier_config mcc="310" mnc="030">
|
||||
<boolean name="carrier_volte_available_bool" value="true" />
|
||||
<boolean name="carrier_vt_available_bool" value="true" />
|
||||
|
@ -1157,6 +1172,9 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
|
|||
<boolean name="config_enable_display_14digit_imei" value="true" />
|
||||
<boolean name="transmit_static_image" value="true"/>
|
||||
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
|
||||
<boolean name="carrier_rtt_supported" value="true" />
|
||||
<boolean name="carrier_rtt_upgrade_supported" value="true"/>
|
||||
<boolean name="carrier_rtt_downgrade_supported" value="true"/>
|
||||
</carrier_config>
|
||||
|
||||
<carrier_config mcc="310" mnc="170">
|
||||
|
@ -1166,6 +1184,9 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
|
|||
<boolean name="config_enable_display_14digit_imei" value="true" />
|
||||
<boolean name="transmit_static_image" value="true"/>
|
||||
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
|
||||
<boolean name="carrier_rtt_supported" value="true" />
|
||||
<boolean name="carrier_rtt_upgrade_supported" value="true"/>
|
||||
<boolean name="carrier_rtt_downgrade_supported" value="true"/>
|
||||
</carrier_config>
|
||||
|
||||
<carrier_config mcc="310" mnc="280">
|
||||
|
@ -1175,6 +1196,9 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
|
|||
<boolean name="config_enable_display_14digit_imei" value="true" />
|
||||
<boolean name="transmit_static_image" value="true"/>
|
||||
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
|
||||
<boolean name="carrier_rtt_supported" value="true" />
|
||||
<boolean name="carrier_rtt_upgrade_supported" value="true"/>
|
||||
<boolean name="carrier_rtt_downgrade_supported" value="true"/>
|
||||
</carrier_config>
|
||||
|
||||
<carrier_config mcc="310" mnc="380">
|
||||
|
@ -1184,6 +1208,9 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
|
|||
<boolean name="config_enable_display_14digit_imei" value="true" />
|
||||
<boolean name="transmit_static_image" value="true"/>
|
||||
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
|
||||
<boolean name="carrier_rtt_supported" value="true" />
|
||||
<boolean name="carrier_rtt_upgrade_supported" value="true"/>
|
||||
<boolean name="carrier_rtt_downgrade_supported" value="true"/>
|
||||
</carrier_config>
|
||||
|
||||
<carrier_config mcc="310" mnc="410">
|
||||
|
@ -1193,6 +1220,9 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
|
|||
<boolean name="config_enable_display_14digit_imei" value="true" />
|
||||
<boolean name="transmit_static_image" value="true"/>
|
||||
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
|
||||
<boolean name="carrier_rtt_supported" value="true" />
|
||||
<boolean name="carrier_rtt_upgrade_supported" value="true"/>
|
||||
<boolean name="carrier_rtt_downgrade_supported" value="true"/>
|
||||
</carrier_config>
|
||||
|
||||
<carrier_config mcc="310" mnc="560">
|
||||
|
@ -1202,6 +1232,9 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
|
|||
<boolean name="config_enable_display_14digit_imei" value="true" />
|
||||
<boolean name="transmit_static_image" value="true"/>
|
||||
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
|
||||
<boolean name="carrier_rtt_supported" value="true" />
|
||||
<boolean name="carrier_rtt_upgrade_supported" value="true"/>
|
||||
<boolean name="carrier_rtt_downgrade_supported" value="true"/>
|
||||
</carrier_config>
|
||||
|
||||
<carrier_config mcc="310" mnc="680">
|
||||
|
@ -1211,6 +1244,15 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
|
|||
<boolean name="config_enable_display_14digit_imei" value="true" />
|
||||
<boolean name="transmit_static_image" value="true"/>
|
||||
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
|
||||
<boolean name="carrier_rtt_supported" value="true" />
|
||||
<boolean name="carrier_rtt_upgrade_supported" value="true"/>
|
||||
<boolean name="carrier_rtt_downgrade_supported" value="true"/>
|
||||
</carrier_config>
|
||||
|
||||
<carrier_config mcc="310" mnc="980">
|
||||
<boolean name="carrier_rtt_supported" value="true" />
|
||||
<boolean name="carrier_rtt_upgrade_supported" value="true"/>
|
||||
<boolean name="carrier_rtt_downgrade_supported" value="true"/>
|
||||
</carrier_config>
|
||||
|
||||
<carrier_config mcc="310" mnc="260">
|
||||
|
@ -1308,6 +1350,9 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
|
|||
</carrier_config>
|
||||
|
||||
<carrier_config mcc="311" mnc="180">
|
||||
<boolean name="carrier_rtt_supported" value="true" />
|
||||
<boolean name="carrier_rtt_upgrade_supported" value="true"/>
|
||||
<boolean name="carrier_rtt_downgrade_supported" value="true"/>
|
||||
<boolean name="carrier_volte_available_bool" value="true" />
|
||||
<boolean name="carrier_vt_available_bool" value="true" />
|
||||
<boolean name="carrier_wfc_ims_available_bool" value="true" />
|
||||
|
|
|
@ -52,15 +52,17 @@ int parse_metadata(char *metadata, char **metadata_saveptr,
|
|||
ATTRIBUTE_VALUE_DELIM)) != NULL) {
|
||||
bytes_to_copy = MIN((attribute_value_delim - attribute_string),
|
||||
attribute_size - 1);
|
||||
strncpy(attribute, attribute_string,
|
||||
bytes_to_copy);
|
||||
attribute[bytes_to_copy] = '\0';
|
||||
/* Replace strncpy with strlcpy
|
||||
* Add +1 to bytes_to_copy as strlcpy copies size-1 bytes */
|
||||
strlcpy(attribute, attribute_string,
|
||||
bytes_to_copy+1);
|
||||
|
||||
bytes_to_copy = MIN(strlen(attribute_string) - strlen(attribute) - 1,
|
||||
value_size - 1);
|
||||
strncpy(value, attribute_value_delim + 1,
|
||||
bytes_to_copy);
|
||||
value[bytes_to_copy] = '\0';
|
||||
/* Replace strncpy with strlcpy
|
||||
* Add +1 to bytes_to_copy as strlcpy copies size-1 bytes */
|
||||
strlcpy(value, attribute_value_delim + 1,
|
||||
bytes_to_copy+1);
|
||||
}
|
||||
|
||||
return METADATA_PARSING_CONTINUE;
|
||||
|
|
|
@ -452,23 +452,29 @@ static int power_device_open(const hw_module_t* module, const char* name,
|
|||
if (module && name && device) {
|
||||
if (!strcmp(name, POWER_HARDWARE_MODULE_ID)) {
|
||||
power_module_t *dev = (power_module_t *)malloc(sizeof(*dev));
|
||||
memset(dev, 0, sizeof(*dev));
|
||||
|
||||
if(dev) {
|
||||
/* initialize the fields */
|
||||
dev->common.module_api_version = POWER_MODULE_API_VERSION_0_2;
|
||||
dev->common.tag = HARDWARE_DEVICE_TAG;
|
||||
dev->init = power_init;
|
||||
dev->powerHint = power_hint;
|
||||
dev->setInteractive = set_interactive;
|
||||
/* At the moment we support 0.2 APIs */
|
||||
dev->setFeature = NULL,
|
||||
dev->get_number_of_platform_modes = NULL,
|
||||
dev->get_platform_low_power_stats = NULL,
|
||||
dev->get_voter_list = NULL,
|
||||
*device = (hw_device_t*)dev;
|
||||
status = 0;
|
||||
} else {
|
||||
memset(dev, 0, sizeof(*dev));
|
||||
|
||||
if(dev) {
|
||||
/* initialize the fields */
|
||||
dev->common.module_api_version = POWER_MODULE_API_VERSION_0_2;
|
||||
dev->common.tag = HARDWARE_DEVICE_TAG;
|
||||
dev->init = power_init;
|
||||
dev->powerHint = power_hint;
|
||||
dev->setInteractive = set_interactive;
|
||||
/* At the moment we support 0.2 APIs */
|
||||
dev->setFeature = NULL,
|
||||
dev->get_number_of_platform_modes = NULL,
|
||||
dev->get_platform_low_power_stats = NULL,
|
||||
dev->get_voter_list = NULL,
|
||||
*device = (hw_device_t*)dev;
|
||||
status = 0;
|
||||
} else {
|
||||
status = -ENOMEM;
|
||||
}
|
||||
}
|
||||
else {
|
||||
status = -ENOMEM;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,4 +39,5 @@
|
|||
<allow-in-power-save package="com.qualcomm.qti.radioconfiginterface" />
|
||||
<allow-in-power-save package="com.qualcomm.simcontacts" />
|
||||
<allow-in-power-save package="com.qualcomm.qti.autoregistration" />
|
||||
<allow-in-power-save package="com.qualcomm.qti.server.wigigapp" />
|
||||
</config>
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
target=`getprop ro.board.platform`
|
||||
|
||||
function configure_zram_parameters() {
|
||||
|
@ -136,6 +135,22 @@ else
|
|||
fi
|
||||
}
|
||||
|
||||
function enable_memory_features()
|
||||
{
|
||||
MemTotalStr=`cat /proc/meminfo | grep MemTotal`
|
||||
MemTotal=${MemTotalStr:16:8}
|
||||
|
||||
if [ $MemTotal -le 2097152 ]; then
|
||||
#Enable B service adj transition for 2GB or less memory
|
||||
setprop ro.vendor.qti.sys.fw.bservice_enable true
|
||||
setprop ro.vendor.qti.sys.fw.bservice_limit 5
|
||||
setprop ro.vendor.qti.sys.fw.bservice_age 5000
|
||||
|
||||
#Enable Delay Service Restart
|
||||
setprop ro.vendor.qti.am.reschedule_service true
|
||||
fi
|
||||
}
|
||||
|
||||
function start_hbtp()
|
||||
{
|
||||
# Start the Host based Touch processing but not in the power off mode.
|
||||
|
@ -736,16 +751,6 @@ esac
|
|||
case "$target" in
|
||||
"msm8952")
|
||||
|
||||
#Enable adaptive LMK and set vmpressure_file_min
|
||||
ProductName=`getprop ro.product.name`
|
||||
if [ "$ProductName" == "msm8952_32" ] || [ "$ProductName" == "msm8952_32_LMT" ]; then
|
||||
echo 1 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk
|
||||
echo 53059 > /sys/module/lowmemorykiller/parameters/vmpressure_file_min
|
||||
elif [ "$ProductName" == "msm8952_64" ] || [ "$ProductName" == "msm8952_64_LMT" ]; then
|
||||
echo 1 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk
|
||||
echo 81250 > /sys/module/lowmemorykiller/parameters/vmpressure_file_min
|
||||
fi
|
||||
|
||||
if [ -f /sys/devices/soc0/soc_id ]; then
|
||||
soc_id=`cat /sys/devices/soc0/soc_id`
|
||||
else
|
||||
|
@ -789,19 +794,19 @@ case "$target" in
|
|||
echo 0 > /sys/devices/system/cpu/cpu6/sched_prefer_idle
|
||||
echo 0 > /sys/devices/system/cpu/cpu7/sched_prefer_idle
|
||||
|
||||
for devfreq_gov in /sys/class/devfreq/qcom,mincpubw*/governor
|
||||
for devfreq_gov in /sys/class/devfreq/*qcom,mincpubw*/governor
|
||||
do
|
||||
echo "cpufreq" > $devfreq_gov
|
||||
done
|
||||
|
||||
for devfreq_gov in /sys/class/devfreq/qcom,cpubw*/governor
|
||||
for devfreq_gov in /sys/class/devfreq/*qcom,cpubw*/governor
|
||||
do
|
||||
echo "bw_hwmon" > $devfreq_gov
|
||||
for cpu_io_percent in /sys/class/devfreq/qcom,cpubw*/bw_hwmon/io_percent
|
||||
for cpu_io_percent in /sys/class/devfreq/*qcom,cpubw*/bw_hwmon/io_percent
|
||||
do
|
||||
echo 20 > $cpu_io_percent
|
||||
done
|
||||
for cpu_guard_band in /sys/class/devfreq/qcom,cpubw*/bw_hwmon/guard_band_mbps
|
||||
for cpu_guard_band in /sys/class/devfreq/*qcom,cpubw*/bw_hwmon/guard_band_mbps
|
||||
do
|
||||
echo 30 > $cpu_guard_band
|
||||
done
|
||||
|
@ -912,6 +917,10 @@ case "$target" in
|
|||
echo 1 > /sys/module/lpm_levels/lpm_workarounds/dynamic_clock_gating
|
||||
# Enable timer migration to little cluster
|
||||
echo 1 > /proc/sys/kernel/power_aware_timer_migration
|
||||
|
||||
# Set Memory parameters
|
||||
configure_memory_parameters
|
||||
|
||||
;;
|
||||
*)
|
||||
panel=`cat /sys/class/graphics/fb0/modes`
|
||||
|
@ -954,19 +963,19 @@ case "$target" in
|
|||
echo 3 > /sys/devices/system/cpu/cpu6/sched_mostly_idle_nr_run
|
||||
echo 3 > /sys/devices/system/cpu/cpu7/sched_mostly_idle_nr_run
|
||||
|
||||
for devfreq_gov in /sys/class/devfreq/qcom,mincpubw*/governor
|
||||
for devfreq_gov in /sys/class/devfreq/*qcom,mincpubw*/governor
|
||||
do
|
||||
echo "cpufreq" > $devfreq_gov
|
||||
done
|
||||
|
||||
for devfreq_gov in /sys/class/devfreq/qcom,cpubw*/governor
|
||||
for devfreq_gov in /sys/class/devfreq/*qcom,cpubw*/governor
|
||||
do
|
||||
echo "bw_hwmon" > $devfreq_gov
|
||||
for cpu_io_percent in /sys/class/devfreq/qcom,cpubw*/bw_hwmon/io_percent
|
||||
for cpu_io_percent in /sys/class/devfreq/*qcom,cpubw*/bw_hwmon/io_percent
|
||||
do
|
||||
echo 20 > $cpu_io_percent
|
||||
done
|
||||
for cpu_guard_band in /sys/class/devfreq/qcom,cpubw*/bw_hwmon/guard_band_mbps
|
||||
for cpu_guard_band in /sys/class/devfreq/*qcom,cpubw*/bw_hwmon/guard_band_mbps
|
||||
do
|
||||
echo 30 > $cpu_guard_band
|
||||
done
|
||||
|
@ -1110,8 +1119,14 @@ case "$target" in
|
|||
|
||||
# Enable timer migration to little cluster
|
||||
echo 1 > /proc/sys/kernel/power_aware_timer_migration
|
||||
|
||||
# Set Memory parameters
|
||||
configure_memory_parameters
|
||||
|
||||
;;
|
||||
esac
|
||||
#Enable Memory Features
|
||||
enable_memory_features
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -2457,7 +2472,10 @@ case "$target" in
|
|||
# Turn off scheduler boost at the end
|
||||
echo 0 > /proc/sys/kernel/sched_boost
|
||||
# Turn on sleep modes.
|
||||
echo 1 > /sys/module/lpm_levels/parameters/sleep_disabled
|
||||
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled
|
||||
#Disable CX PC
|
||||
echo 49 385 > /d/regulator/soc:rpmh-regulator-cxlvl-pm8998_s9_level/voltage
|
||||
echo 1 > /d/regulator/soc:rpmh-regulator-cxlvl-pm8998_s9_level/enable
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -2719,6 +2737,9 @@ case "$target" in
|
|||
"msm8909")
|
||||
setprop sys.post_boot.parsed 1
|
||||
;;
|
||||
"msm8952")
|
||||
setprop sys.post_boot.parsed 1
|
||||
;;
|
||||
"msm8937" | "msm8953")
|
||||
echo 128 > /sys/block/mmcblk0/bdi/read_ahead_kb
|
||||
echo 128 > /sys/block/mmcblk0/queue/read_ahead_kb
|
||||
|
|
|
@ -194,6 +194,12 @@ on boot
|
|||
# Create directory used for display
|
||||
mkdir /persist/display 0770 system graphics
|
||||
|
||||
# Create vpp directory
|
||||
mkdir /persist/vpp 0770 media media
|
||||
|
||||
# load WIGIG platform driver
|
||||
insmod /vendor/lib/modules/msm_11ad_proxy.ko
|
||||
|
||||
# msm specific files that need to be created on /data
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/misc 0770 system system
|
||||
|
@ -223,7 +229,8 @@ on post-fs-data
|
|||
mkdir /data/media 0770 media_rw media_rw
|
||||
chown media_rw media_rw /data/media
|
||||
|
||||
mkdir /data/misc/ipa 0700 net_admin net_admin
|
||||
mkdir /data/vendor/misc 0770 root radio
|
||||
mkdir /data/vendor/misc/ipa 0770 root radio
|
||||
|
||||
mkdir /data/vendor/ramdump 0771 root system
|
||||
mkdir /data/misc/bluetooth 0770 bluetooth bluetooth
|
||||
|
@ -233,8 +240,10 @@ on post-fs-data
|
|||
# Create the directories used by the Wireless subsystem
|
||||
mkdir /data/vendor/wifi 0770 wifi wifi
|
||||
mkdir /data/vendor/wifi/sockets 0770 wifi wifi
|
||||
mkdir /data/vendor/wifi/hostapd 0770 wifi wifi
|
||||
mkdir /data/vendor/wifi/hostapd/ctrl 0770 wifi wifi
|
||||
mkdir /data/vendor/wifi/wpa_supplicant 0770 wifi wifi
|
||||
mkdir /data/vendor/wifi/wigig_hostapd 0770 wifi wifi
|
||||
mkdir /data/misc/wifi 0770 wifi wifi
|
||||
mkdir /data/misc/wifi/sockets 0770 wifi wifi
|
||||
mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
|
||||
|
@ -373,6 +382,9 @@ on post-fs-data
|
|||
write /sys/block/dm-0/queue/read_ahead_kb 2048
|
||||
write /sys/block/dm-1/queue/read_ahead_kb 2048
|
||||
|
||||
# Create vpp directory
|
||||
mkdir /data/vendor/vpp 0770 media media
|
||||
|
||||
service nqnfcinfo /system/vendor/bin/nqnfcinfo
|
||||
class late_start
|
||||
group nfc
|
||||
|
@ -603,17 +615,17 @@ service netmgrd /system/vendor/bin/netmgrd
|
|||
class main
|
||||
disabled
|
||||
|
||||
service ipacm-diag /system/bin/ipacm-diag
|
||||
service ipacm-diag /system/vendor/bin/ipacm-diag
|
||||
class main
|
||||
user system
|
||||
socket ipacm_log_file dgram 660 system net_admin
|
||||
group net_admin diag
|
||||
user radio
|
||||
socket ipacm_log_file dgram 660 radio radio
|
||||
group diag
|
||||
disabled
|
||||
|
||||
service ipacm /system/bin/ipacm
|
||||
service ipacm /system/vendor/bin/ipacm
|
||||
class main
|
||||
user net_admin
|
||||
group net_admin inet
|
||||
user radio
|
||||
group inet
|
||||
disabled
|
||||
|
||||
service qti /system/vendor/bin/qti
|
||||
|
@ -674,11 +686,12 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
|
|||
disabled
|
||||
oneshot
|
||||
|
||||
service wigig_supplicant /vendor/bin/hw/wpa_supplicant \
|
||||
-iwigig0 -Dnl80211 -c/data/misc/wifi/wigig_supplicant.conf \
|
||||
-m/data/misc/wifi/wigig_p2p_supplicant.conf \
|
||||
-O/data/misc/wifi/wigig_sockets -dd \
|
||||
-e/data/misc/wifi/wigig_entropy.bin -g@android:wpa_wigig0
|
||||
service vendor.wigig_supplicant /vendor/bin/hw/wpa_supplicant \
|
||||
-iwigig0 -Dnl80211 -c/data/vendor/wifi/wigig_supplicant.conf \
|
||||
-m/data/vendor/wifi/wigig_p2p_supplicant.conf \
|
||||
-O/data/vendor/wifi/wigig_sockets -dd \
|
||||
-e/data/vendor/wifi/wigig_entropy.bin -g@android:wpa_wigig0 \
|
||||
-S wigigsvc
|
||||
# we will start as root and wpa_supplicant will switch to user wifi
|
||||
# after setting up the capabilities required for WEXT
|
||||
# user wifi
|
||||
|
@ -689,7 +702,7 @@ service wigig_supplicant /vendor/bin/hw/wpa_supplicant \
|
|||
oneshot
|
||||
|
||||
# FST Manager with hostapd (softap) - all settings inside ini file
|
||||
service fstman /system/vendor/bin/fstman -B -ddd -c /data/misc/wifi/fstman.ini
|
||||
service fstman /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini
|
||||
user wifi
|
||||
group wifi net_admin net_raw
|
||||
class main
|
||||
|
@ -697,7 +710,7 @@ service fstman /system/vendor/bin/fstman -B -ddd -c /data/misc/wifi/fstman.ini
|
|||
oneshot
|
||||
|
||||
# FST Manager with supplicant - connect to supplicant socket
|
||||
service fstman_wlan0 /system/vendor/bin/fstman -B -ddd -c /data/misc/wifi/fstman.ini @android:wpa_wlan0
|
||||
service fstman_wlan0 /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini @android:wpa_wlan0
|
||||
user wifi
|
||||
group wifi net_admin net_raw
|
||||
class main
|
||||
|
@ -710,6 +723,16 @@ on property:netd.fstman.start=true
|
|||
on property:netd.fstman.start=false
|
||||
stop fstman
|
||||
|
||||
service wigighalsvc /vendor/bin/wigighalsvc
|
||||
class main
|
||||
user system
|
||||
group wifi
|
||||
disabled
|
||||
|
||||
on property:persist.vendor.wigig.enable=1
|
||||
insmod /vendor/lib/modules/wil6210.ko alt_ifname=1
|
||||
start wigighalsvc
|
||||
|
||||
service dhcpcd_wlan0 /system/bin/dhcpcd -ABKLG
|
||||
class late_start
|
||||
disabled
|
||||
|
@ -887,6 +910,20 @@ service atfwd /vendor/bin/ATFWD-daemon
|
|||
user system
|
||||
group system radio
|
||||
|
||||
service hostapd_fst /vendor/bin/hostapd -dd -g /data/vendor/wifi/hostapd/global /data/vendor/wifi/hostapd.conf
|
||||
class late_start
|
||||
user wifi
|
||||
group wifi inet keystore net_admin net_raw
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service vendor.wigig_hostapd /vendor/bin/hostapd -dd /data/vendor/wifi/wigig_hostapd.conf
|
||||
class late_start
|
||||
user wifi
|
||||
group wifi inet keystore net_admin net_raw
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
service ims_regmanager /system/vendor/bin/exe-ims-regmanagerprocessnative
|
||||
class late_start
|
||||
group net_bt_admin inet radio wifi
|
||||
|
@ -1059,3 +1096,9 @@ service qdmastatsd /system/vendor/bin/qdmastatsd
|
|||
class late_start
|
||||
user system
|
||||
group readproc system net_bw_stats radio
|
||||
|
||||
service vppservice /vendor/bin/vppservice
|
||||
class main
|
||||
user media
|
||||
group camera
|
||||
|
||||
|
|
|
@ -43,9 +43,9 @@
|
|||
/dev/smd6 0660 system system
|
||||
/dev/smd7 0660 bluetooth bluetooth
|
||||
/dev/ccid_bridge 0660 system system
|
||||
/dev/ipa 0660 system net_admin
|
||||
/dev/wwan_ioctl 0660 system net_admin
|
||||
/dev/ipaNatTable 0660 net_admin net_admin
|
||||
/dev/ipa 0660 radio radio
|
||||
/dev/wwan_ioctl 0660 radio radio
|
||||
/dev/ipaNatTable 0660 radio radio
|
||||
/dev/rmnet_ctrl 0660 usb usb
|
||||
/dev/dpl_ctrl 0660 usb usb
|
||||
|
||||
|
@ -118,6 +118,7 @@
|
|||
/dev/media* 0660 system camera
|
||||
/dev/v4l-subdev* 0660 system camera
|
||||
/dev/qseecom 0660 system drmrpc
|
||||
/dev/smcinvoke 0660 system system
|
||||
/dev/qsee_ipc_irq_spss 0660 system drmrpc
|
||||
/dev/seemplog 0660 system system
|
||||
/dev/pft 0660 system drmrpc
|
||||
|
@ -246,6 +247,13 @@
|
|||
/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan0/queues/rx-* rps_cpus 0660 system system
|
||||
/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/p2p0/queues/rx-* rps_cpus 0660 system system
|
||||
|
||||
# wigig
|
||||
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/fst_link_loss 0660 wifi wifi
|
||||
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/thermal_throttling 0660 system system
|
||||
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/queues/rx-0/rps_cpus 0660 system system
|
||||
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/gro_flush_timeout 0660 system system
|
||||
/sys/devices/virtual/net/bond0 queues/rx-0/rps_cpus 0660 system system
|
||||
|
||||
#nfc permissions
|
||||
/dev/nfc-nci 0660 nfc nfc
|
||||
/dev/nq-nci 0660 nfc nfc
|
||||
|
|
Loading…
Reference in New Issue