init.rc: Adding setprop entries for tcp delayed ack for Wifi & LTE
TCP delayed ack settings are expected to be modified when the Wifi or LTE connection is established and the configurations will be reverted back when the Wifi connection is terminated. The change also modifies the /sys/kernel/ipv4/tcp_delack_seg and /sys/kernel/ipv4/tcp_use_useconfig file owner to "system" Requires: https://www.codeaurora.org/cgit/quic/la/kernel/msm/commit/?h=kk_2.7-stable&id=73989a4b345bba0efca96cc86b0258e83884ff63 Change-Id: I008e36931752d6db29454c5ce41e3cfe19b15ecb
This commit is contained in:
parent
81d0557a2c
commit
1f3653ebde
@ -101,6 +101,16 @@ on boot
|
||||
chown system system /dev/cpuctl/apps/cpu.notify_on_migrate
|
||||
chmod 0644 /dev/cpuctl/apps/cpu.notify_on_migrate
|
||||
|
||||
# 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
|
||||
|
||||
# adb over network
|
||||
on property:service.adb.tcp.port=5555
|
||||
stop adbd
|
||||
|
Loading…
Reference in New Issue
Block a user