universal7580: overlay: p2p: add p2p regex for tethering modes
authorJimmy Chen <jimmycmchen@google.com>
Mon, 21 Oct 2019 06:12:48 +0000 (14:12 +0800)
committerDanny Wood <danwood76@gmail.com>
Tue, 14 Sep 2021 18:57:32 +0000 (19:57 +0100)
Bug: 137602441
Test: CtsVerifier - Wi-Fi Direct
Change-Id: I215da71e96348b6bba19d4a3c6fd8c8048ff46d6

overlay/frameworks/base/packages/Tethering/res/values/config.xml

index 29ac526ff54df2ce890c4bcb828d2b258c6f4b35..bdef661983f30cf8b74ce414b1c3489981c7b1c8 100644 (file)
         <item>"wlan\\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.*" -->
+    <string-array translatable="false" name="config_tether_wifi_p2p_regexs">
+        <item>"p2p-wlan\\d-.*"</item>
+    </string-array>
+
     <!-- List of regexpressions describing the interface (if any) that represent tetherable
          bluetooth interfaces.  If the device doesn't want to support tethering over bluetooth this
          should be empty. -->