gs101: overlay: Provide tethering configuration
Matches PixelTetheringOverlay2021. Change-Id: I90ef9cd9c89b1bfacf5680cb1e42bb61ad275393
This commit is contained in:
parent
ae977b4970
commit
2d3cf325a1
4 changed files with 86 additions and 0 deletions
46
rro_overlays/TetheringOverlay/res/values/config.xml
Normal file
46
rro_overlays/TetheringOverlay/res/values/config.xml
Normal file
|
@ -0,0 +1,46 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
* Copyright (C) 2021 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<!-- 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>rndis\\d</item>
|
||||
</string-array>
|
||||
|
||||
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
||||
NCM interfaces. If the device doesn't want to support tethering over NCM this should
|
||||
be empty. -->
|
||||
<string-array translatable="false" name="config_tether_ncm_regexs">
|
||||
<item>ncm\\d</item>
|
||||
</string-array>
|
||||
|
||||
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
||||
Wifi P2P interfaces. If the device doesn't want to support tethering over Wifi P2p this
|
||||
should be empty. An example would be "p2p-p2p\\d-.*" -->
|
||||
<string-array translatable="false" name="config_tether_wifi_p2p_regexs">
|
||||
<item>p2p-p2p\\d-.*</item>
|
||||
<item>p2p\\d</item>
|
||||
<item>p2p-wlan\\d-.*</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Which USB function should be enabled when TETHERING_USB is requested. 0: RNDIS, 1: NCM.
|
||||
-->
|
||||
<integer translatable="false" name="config_tether_usb_functions">1</integer>
|
||||
</resources>
|
Loading…
Add table
Add a link
Reference in a new issue