land: Switch to config based tcp buffer sizes
* Update overlay values from init.qcom.rc values * Remove init.qcom.rc deprecated properties * Add entry for wifi TCP buffers Change-Id: If5e4e60096a65119d2ec3a9a0abf24cfbca5b199
This commit is contained in:
parent
8b2ee0fab3
commit
0747b0f1c2
2 changed files with 7 additions and 21 deletions
|
@ -277,18 +277,21 @@
|
|||
If no value is found for the rat-name in use, the system default will be applied.
|
||||
-->
|
||||
<string-array name="config_mobile_tcp_buffers">
|
||||
<item>lte:2097152,4194304,8388608,262144,524288,1048576</item>
|
||||
<item>lte_ca:2097152,4194304,8388608,4096,1048576,2097152</item>
|
||||
<item>umts:4094,87380,1220608,4096,16384,1220608</item>
|
||||
<item>umts:4094,87380,110208,4096,16384,110208</item>
|
||||
<item>hspa:4094,87380,1220608,4096,16384,1220608</item>
|
||||
<item>hsupa:4094,87380,1220608,4096,16384,1220608</item>
|
||||
<item>hsdpa:4094,87380,1220608,4096,16384,1220608</item>
|
||||
<item>hspap:4094,87380,1220608,4096,16384,1220608</item>
|
||||
<item>edge:4093,26280,35040,4096,16384,35040</item>
|
||||
<item>edge:4093,26280,35040,4096,16384,350406</item>
|
||||
<item>gprs:4092,8760,11680,4096,8760,11680</item>
|
||||
<item>evdo:4094,87380,524288,4096,16384,262144</item>
|
||||
<item>lte:2097152,4194304,8388608,262144,524288,1048576</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Configure ethernet tcp buffersizes in the form:
|
||||
rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
|
||||
<string name="config_wifi_tcp_buffers">524288,2097152,4194304,262144,524288,1048576</string>
|
||||
|
||||
<!-- Boolean indicating if current platform supports BLE peripheral mode -->
|
||||
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
|
||||
|
||||
|
|
|
@ -94,29 +94,12 @@ on boot
|
|||
# Prevent permission denied error for telephony
|
||||
chmod 0644 /proc/cmdline
|
||||
|
||||
# Define TCP buffer sizes for various networks
|
||||
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
|
||||
setprop net.tcp.buffersize.wifi 524288,2097152,4194304,262144,524288,1048576
|
||||
|
||||
# enable camera read sensors data
|
||||
setprop persist.camera.gyro.disable 0
|
||||
|
||||
# Remove SUID bit for iproute2 ip tool
|
||||
chmod 0755 /system/bin/ip
|
||||
|
||||
# Define TCP buffer sizes for various networks
|
||||
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
|
||||
setprop net.tcp.buffersize.default 4096,87380,524288,4096,16384,110208
|
||||
setprop net.tcp.buffersize.lte 2097152,4194304,8388608,262144,524288,1048576
|
||||
setprop net.tcp.buffersize.umts 4094,87380,110208,4096,16384,110208
|
||||
setprop net.tcp.buffersize.hspa 4094,87380,1220608,4096,16384,1220608
|
||||
setprop net.tcp.buffersize.hsupa 4094,87380,1220608,4096,16384,1220608
|
||||
setprop net.tcp.buffersize.hsdpa 4094,87380,1220608,4096,16384,1220608
|
||||
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,8760,11680,4096,8760,11680
|
||||
setprop net.tcp.buffersize.evdo 4094,87380,524288,4096,16384,262144
|
||||
|
||||
setprop net.tcp.2g_init_rwnd 10
|
||||
|
||||
# Assign TCP buffer thresholds to be ceiling value of technology maximums
|
||||
|
|
Loading…
Reference in a new issue