summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2014-08-21 16:01:56 -0700
committerRobert Greenwalt <rgreenwalt@google.com>2014-08-21 18:01:58 -0700
commitbb42274e87d1ce974cd5caa0718b997fd6613164 (patch)
tree4ace5a168bf8049219e4e963133cc9c326b12d06
parentc54a76cbcd1e4bc7f27de2010c1c1fd4ed6f845a (diff)
downloadframeworks_base-bb42274e87d1ce974cd5caa0718b997fd6613164.zip
frameworks_base-bb42274e87d1ce974cd5caa0718b997fd6613164.tar.gz
frameworks_base-bb42274e87d1ce974cd5caa0718b997fd6613164.tar.bz2
Add config settings for ethernet/wifi tcp buffers
Replaces the old system properties. bug:16549611 Change-Id: Id9b238888a6e31cf99ca72b10bd9c57f1589c04d
-rw-r--r--core/res/res/values/config.xml8
-rw-r--r--core/res/res/values/symbols.xml2
2 files changed, 10 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index cf9a415..c456f53 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -1378,6 +1378,14 @@
<string-array name="config_mobile_tcp_buffers">
</string-array>
+ <!-- Configure ethernet tcp buffersizes in the form:
+ rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
+ <string name="config_ethernet_tcp_buffers" translatable="false">524288,1048576,3145728,524288,1048576,2097152</string>
+
+ <!-- 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,1048576,2097152,262144,524288,1048576</string>
+
<!-- Whether WiFi display is supported by this device.
There are many prerequisites for this feature to work correctly.
Here are a few of them:
diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml
index 3c4e881..2a28fa2 100644
--- a/core/res/res/values/symbols.xml
+++ b/core/res/res/values/symbols.xml
@@ -987,6 +987,8 @@
<java-symbol type="string" name="ssl_ca_cert_warning" />
<java-symbol type="string" name="lockscreen_transport_play_description" />
<java-symbol type="string" name="lockscreen_transport_pause_description" />
+ <java-symbol type="string" name="config_ethernet_tcp_buffers" />
+ <java-symbol type="string" name="config_wifi_tcp_buffers" />
<java-symbol type="plurals" name="abbrev_in_num_days" />
<java-symbol type="plurals" name="abbrev_in_num_hours" />