diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 1fc5cf0..9a55b52 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -277,18 +277,21 @@ If no value is found for the rat-name in use, the system default will be applied. --> - lte:2097152,4194304,8388608,262144,524288,1048576 - lte_ca:2097152,4194304,8388608,4096,1048576,2097152 - umts:4094,87380,1220608,4096,16384,1220608 + umts:4094,87380,110208,4096,16384,110208 hspa:4094,87380,1220608,4096,16384,1220608 hsupa:4094,87380,1220608,4096,16384,1220608 hsdpa:4094,87380,1220608,4096,16384,1220608 hspap:4094,87380,1220608,4096,16384,1220608 - edge:4093,26280,35040,4096,16384,35040 + edge:4093,26280,35040,4096,16384,350406 gprs:4092,8760,11680,4096,8760,11680 evdo:4094,87380,524288,4096,16384,262144 + lte:2097152,4194304,8388608,262144,524288,1048576 + + 524288,2097152,4194304,262144,524288,1048576 + true diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 9c66fda..7b51c9d 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -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