klte: Clean up TCP buffer settings
Change-Id: I6a54c285d0cc0a645d2467fc7b5625f082dbfbc4
This commit is contained in:
parent
553428763c
commit
144a58a99e
2 changed files with 4 additions and 14 deletions
|
@ -278,4 +278,8 @@
|
|||
<!-- enable doze powersaving mode -->
|
||||
<bool name="config_enableAutoPowerModes">true</bool>
|
||||
|
||||
<!-- Configure wifi tcp buffersizes in the form:
|
||||
rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
|
||||
<string name="config_wifi_tcp_buffers" translatable="false">524288,2097152,4194304,262144,524288,1048576</string>
|
||||
|
||||
</resources>
|
||||
|
|
|
@ -888,20 +888,6 @@ on boot
|
|||
# Permissions for gpio_keys
|
||||
chown system radio /sys/class/sec/sec_key/hall_irq_ctrl
|
||||
|
||||
# Define TCP buffer sizes for various networks
|
||||
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
|
||||
setprop net.tcp.buffersize.default 4096,87380,704512,4096,16384,110208
|
||||
setprop net.tcp.buffersize.wifi 524288,1048576,4525824,524288,1048576,4525824
|
||||
setprop net.tcp.buffersize.lte 524288,1048576,2560000,524288,1048576,2560000
|
||||
setprop net.tcp.buffersize.umts 4094,87380,704512,4096,16384,110208
|
||||
setprop net.tcp.buffersize.hspa 4094,87380,704512,4096,16384,262144
|
||||
setprop net.tcp.buffersize.hsupa 4094,87380,704512,4096,16384,262144
|
||||
setprop net.tcp.buffersize.hsdpa 4094,87380,704512,4096,16384,262144
|
||||
setprop net.tcp.buffersize.hspap 4094,87380,1220608,4096,16384,1220608
|
||||
setprop net.tcp.buffersize.edge 4093,26280,35040,4096,16384,35040
|
||||
setprop net.tcp.buffersize.gprs 4092,30000,30000,4096,8760,11680
|
||||
setprop net.tcp.buffersize.evdo 4094,87380,262144,4096,16384,262144
|
||||
|
||||
# Assign TCP buffer thresholds to be ceiling value of technology maximums
|
||||
# Increased technology maximums should be reflected here.
|
||||
write /proc/sys/net/core/rmem_max 1048576
|
||||
|
|
Loading…
Reference in a new issue