mirror of
				https://github.com/oplus-giulia-dev/android_hardware_oplus
				synced 2025-11-04 13:55:35 +08:00 
			
		
		
		
	overlay: Configure TCP buffer sizes per network type
Change-Id: I80d228b6eeb61ba9264c212c345ee03fc53aacc3
This commit is contained in:
		@@ -203,6 +203,31 @@
 | 
			
		||||
        <item>evdo:4094,87380,524288,4096,16384,262144</item>
 | 
			
		||||
    </string-array>
 | 
			
		||||
 | 
			
		||||
    <!-- Configure tcp buffer sizes per network type in the form:
 | 
			
		||||
         network-type:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
 | 
			
		||||
 | 
			
		||||
         The network-type must be a valid DataConfigNetworkType value. If no value is found for the
 | 
			
		||||
         network-type in use, config_tcp_buffers will be used instead.
 | 
			
		||||
    -->
 | 
			
		||||
    <string-array name="config_network_type_tcp_buffers">
 | 
			
		||||
        <item>NR_SA_MMWAVE:2097152,6291456,16777216,512000,2097152,8388608</item>
 | 
			
		||||
        <item>NR_SA:2097152,6291456,16777216,512000,2097152,8388608</item>
 | 
			
		||||
        <item>NR_NSA_MMWAVE:2097152,6291456,16777216,512000,2097152,8388608</item>
 | 
			
		||||
        <item>NR_NSA:2097152,6291456,16777216,512000,2097152,8388608</item>
 | 
			
		||||
        <item>LTE:2097152,4194304,8388608,262144,524288,1048576</item>
 | 
			
		||||
        <item>LTE_CA:4096,6291456,12582912,4096,1048576,2097152</item>
 | 
			
		||||
        <item>UMTS:4094,87380,1220608,4096,16384,1220608</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>HSPA+:4094,87380,1220608,4096,16384,1220608</item>
 | 
			
		||||
        <item>EDGE:4093,26280,35040,4096,16384,35040</item>
 | 
			
		||||
        <item>GPRS:4092,8760,11680,4096,8760,11680</item>
 | 
			
		||||
        <item>EvDo_0:4094,87380,524288,4096,16384,262144</item>
 | 
			
		||||
        <item>EvDo_A:4094,87380,524288,4096,16384,262144</item>
 | 
			
		||||
        <item>EvDo_B:4094,87380,524288,4096,16384,262144</item>
 | 
			
		||||
    </string-array>
 | 
			
		||||
 | 
			
		||||
    <!-- This string array should be overridden by the device to present a list of network
 | 
			
		||||
         attributes.  This is used by the connectivity manager to decide which networks can coexist
 | 
			
		||||
         based on the hardware -->
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user