tethering: add new entry for DHCP ranges

Extend the default list of DHCP ranges for tethering
and include ranges for Wigig and Wigig P2P.

CRs-Fixed: 997384
Change-Id: I8b90c5f2c08fcff1d39ebc9042faf7755a529157
This commit is contained in:
Lior David 2016-03-23 10:54:59 +02:00 committed by Gerrit - the friendly Code Review server
parent 1a788c89bf
commit 8f954ffdd0
1 changed files with 32 additions and 0 deletions

View File

@ -66,6 +66,38 @@
<item>"wlan0"</item> <item>"wlan0"</item>
</string-array> </string-array>
<!-- Dhcp range (min, max) to use for tethering purposes -->
<!-- USB is 192.168.42.1 and 255.255.255.0
Wifi is 192.168.43.1 and 255.255.255.0
BT is limited to max default of 5 connections. 192.168.44.1 to 192.168.48.1
with 255.255.255.0
P2P is 192.168.49.1 and 255.255.255.0
Wigig is 192.168.50.1 and 255.255.255.0
Wigig P2P is 192.168.51.1 and 255.255.255.0
-->
<string-array translatable="false" name="config_tether_dhcp_range">
<item>192.168.42.2</item>
<item>192.168.42.254</item>
<item>192.168.43.2</item>
<item>192.168.43.254</item>
<item>192.168.44.2</item>
<item>192.168.44.254</item>
<item>192.168.45.2</item>
<item>192.168.45.254</item>
<item>192.168.46.2</item>
<item>192.168.46.254</item>
<item>192.168.47.2</item>
<item>192.168.47.254</item>
<item>192.168.48.2</item>
<item>192.168.48.254</item>
<item>192.168.49.2</item>
<item>192.168.49.254</item>
<item>192.168.50.2</item>
<item>192.168.50.254</item>
<item>192.168.51.2</item>
<item>192.168.51.254</item>
</string-array>
<!-- This string array should be overridden by the device to present a list of network <!-- 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 attributes. This is used by the connectivity manager to decide which networks can coexist
based on the hardware --> based on the hardware -->