blob: 7bd905c9887afb07d773b17133421b695452565e [file] [log] [blame]
markchien6fbbdff2020-01-12 17:13:58 +08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2020 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16<resources xmlns:android="http://schemas.android.com/apk/res/android">
17 <overlayable name="TetheringConfig">
18 <policy type="product|system|vendor">
paulhu08294f92020-01-16 19:35:46 +080019 <!-- Params from config.xml that can be overlaid -->
markchien6fbbdff2020-01-12 17:13:58 +080020 <item type="array" name="config_tether_usb_regexs"/>
Milim Lee45a971b2019-10-17 05:02:33 +090021 <item type="array" name="config_tether_ncm_regexs" />
markchien6fbbdff2020-01-12 17:13:58 +080022 <item type="array" name="config_tether_wifi_regexs"/>
Dedy Lansky6896f612019-11-21 00:36:14 +020023 <item type="array" name="config_tether_wigig_regexs"/>
markchien6fbbdff2020-01-12 17:13:58 +080024 <item type="array" name="config_tether_wifi_p2p_regexs"/>
25 <item type="array" name="config_tether_bluetooth_regexs"/>
26 <item type="array" name="config_tether_dhcp_range"/>
markchiencab01b72021-06-01 22:25:24 +080027 <item type="integer" name="config_tether_usb_functions"/>
Hungming Chen8bf2e7e2020-04-02 18:47:19 +080028 <!-- Use the BPF offload for tethering when the kernel has support. True by default.
29 If the device doesn't want to support tether BPF offload, this should be false.
Hungming Chen5bc3af92020-05-12 19:15:24 +080030 Note that this setting could be overridden by device config.
Hungming Chen8bf2e7e2020-04-02 18:47:19 +080031 -->
32 <item type="bool" name="config_tether_enable_bpf_offload"/>
markchien9a0b95d2020-01-13 16:09:42 +080033 <item type="bool" name="config_tether_enable_legacy_dhcp_server"/>
markchieneb8fec22020-08-03 12:01:59 +080034 <item type="bool" name="config_tether_enable_legacy_wifi_p2p_dedicated_ip"/>
markchienfb65dfe2022-02-25 23:14:58 +080035 <item type="integer" name="config_p2p_leases_subnet_prefix_length"/>
junyulai9606a222020-04-30 15:21:55 +080036 <item type="integer" name="config_tether_offload_poll_interval"/>
markchien6fbbdff2020-01-12 17:13:58 +080037 <item type="array" name="config_tether_upstream_types"/>
38 <item type="bool" name="config_tether_upstream_automatic"/>
39 <!-- Configuration values for tethering entitlement check -->
40 <item type="array" name="config_mobile_hotspot_provision_app"/>
41 <item type="string" name="config_mobile_hotspot_provision_app_no_ui"/>
42 <item type="string" name="config_mobile_hotspot_provision_response"/>
43 <item type="integer" name="config_mobile_hotspot_provision_check_period"/>
44 <item type="string" name="config_wifi_tether_enable"/>
paulhu08294f92020-01-16 19:35:46 +080045 <!-- Params from config.xml that can be overlaid -->
markchien6fbbdff2020-01-12 17:13:58 +080046 </policy>
47 </overlayable>
48</resources>