Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4810ebf2 authored by Steve Kondik's avatar Steve Kondik
Browse files

telephony: Configure additional TCP parameters

 * Improves throughput on LTE connections

Change-Id: I12627aff924aeaed278b35db4cbf1ebcaa5153fd
parent c7238acc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -930,6 +930,11 @@ public final class DataConnection extends StateMachine {
            }
        }
        mLinkProperties.setTcpBufferSizes(sizes);

        int segments = SystemProperties.getInt("net.tcp.delack." + ratName, 1);
        mLinkProperties.setTcpDelayedAckSegments(segments);
        int usercfg = SystemProperties.getInt("net.tcp.usercfg." + ratName, 0);
        mLinkProperties.setTcpUserCfg(usercfg);
    }

    private NetworkCapabilities makeNetworkCapabilities() {