platform_vendor_tequila/prebuilt/common/etc/init/lineage-tcp.rc
Sam Mortimer c10885231f Refactor Lineage init rc file
*) Put Lineage rc files in /system/etc/init instead of /init.lineage.rc

*) Split into function specific files (vibrator-specific stuff moved to
   our custom vibrator HAL service)

Change-Id: I1d00950253fbf7fdd7a4b7bd52adbed971923575
2017-10-15 03:06:48 +00:00

10 lines
424 B
Text

on boot
# Define TCP delayed ack settings for WiFi & LTE
chown system system /sys/kernel/ipv4/tcp_delack_seg
chown system system /sys/kernel/ipv4/tcp_use_userconfig
setprop net.tcp.delack.default 1
setprop net.tcp.delack.wifi 20
setprop net.tcp.delack.lte 8
setprop net.tcp.usercfg.default 0
setprop net.tcp.usercfg.wifi 1
setprop net.tcp.usercfg.lte 1