summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2016-04-12 00:29:09 +0530
committerDmitry Shmidt <dimitrysh@google.com>2016-04-20 14:19:44 -0700
commitd606563d79dd1e2abaf9361bbeed138bfc8dbab5 (patch)
treec0596cf768d6efa12f25447ccc030d0649ad9abb
parent7ce29db9c04f78b6b8d589f03df2af9024c82974 (diff)
downloadhikey-d606563d79dd1e2abaf9361bbeed138bfc8dbab5.tar.gz
hikey: Enable USB tethering support
Enable USB tethering on Hikey with WiFi (wlan0) interface. Change-Id: I4231f444a8464c4e659bb9822bf205a0ddf7051c Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 69ebf405..22be7bf9 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -64,4 +64,19 @@
<item>"softap.*"</item>
</string-array>
+ <!-- List of regexpressions describing the interface (if any) that represent tetherable
+ USB interfaces. If the device doesn't want to support tethering over USB this should
+ be empty. An example would be "usb.*" -->
+ <string-array translatable="false" name="config_tether_usb_regexs">
+ <item>"usb\\d"</item>
+ <item>"rndis\\d"</item>
+ </string-array>
+
+ <!-- Array of allowable ConnectivityManager network types for tethering -->
+ <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
+ [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
+ <integer-array translatable="false" name="config_tether_upstream_types">
+ <item>1</item>
+ </integer-array>
+
</resources>