From ef1913063514c91c7d8516737e80edffdae131e2 Mon Sep 17 00:00:00 2001 From: Subash Abhinov Kasiviswanathan Date: Thu, 20 May 2021 23:11:08 -0600 Subject: [PATCH] sm7250-common: init: Remove unused tcp property change actions Remove the events triggered on the setting of ro.data.large_tcp_window_size and sys.sysctl.tcp_adv_win_scale. These events are no longer used and are also resulting in unneccessary selinux denials. CRs-Fixed: 2947333 Change-Id: I92bc474b7168729eebb56cab0868dbd1cbbebf04 Signed-off-by: aswin7469 --- rootdir/etc/init.qcom.rc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index d73676f..e0ecea5 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -562,14 +562,6 @@ service qmiproxy /system/bin/qmiproxy group radio diag disabled -# Adjust socket buffer to enlarge TCP receive window for high bandwidth -# but only if ro.data.large_tcp_window_size property is set. -on property:ro.data.large_tcp_window_size=true - write /proc/sys/net/ipv4/tcp_adv_win_scale 2 - -on property:sys.sysctl.tcp_adv_win_scale=* - write /proc/sys/net/ipv4/tcp_adv_win_scale ${sys.sysctl.tcp_adv_win_scale} - service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ -O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1 -dd \ -g@android:vendor_wpa_wlan0 @@ -789,10 +781,6 @@ service hostapd_fst /vendor/bin/hw/hostapd -dd -g /data/vendor/wifi/hostapd/glob disabled oneshot -on property:ro.data.large_tcp_window_size=true - # Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB) - write /proc/sys/net/ipv4/tcp_adv_win_scale 2 - service battery_monitor /system/bin/battery_monitor user system group system