Permalink
Browse files

Native WiFi Tethering (3 of 4)

  • Loading branch information...
C3C0 committed Nov 14, 2012
1 parent c9231c9 commit 32b06e9eaf757ce9b119da3aee5d27bf42ceedc2
Showing with 9 additions and 2 deletions.
  1. +2 −2 BoardConfig.mk
  2. +7 −0 overlay/frameworks/base/core/res/res/values/config.xml
View
@@ -69,8 +69,8 @@ BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
# I know we have the bcm4319 but this is a hack to get around incompatibility
BOARD_WLAN_DEVICE := bcmdhd
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/dhd.ko"
-WIFI_DRIVER_FW_PATH_AP := "/system/etc/fw_4319.bin"
-WIFI_DRIVER_FW_PATH_STA := "/system/etc/fw_4319_apsta.bin"
+WIFI_DRIVER_FW_PATH_STA := "/system/etc/fw_4319.bin"
+WIFI_DRIVER_FW_PATH_AP := "/system/etc/fw_4319_apsta.bin"
WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/fw_4319.bin,nvram_path=/system/etc/nv_4319.txt iface_name=wlan"
WIFI_DRIVER_MODULE_NAME := "dhd"
@@ -34,6 +34,13 @@
<integer name="config_screenOnAnimation">0</integer>
+ <!-- List of regexpressions describing the interface (if any) that represent tetherable
+ Wifi interfaces. If the device doesn't want to support tethering over Wifi this
+ should be empty. An example would be "softap.*" -->
+ <string-array translatable="false" name="config_tether_wifi_regexs">
+ <item>"wl0.1"</item>
+ </string-array>
+
<string-array translatable="false" name="config_tether_usb_regexs">
<item>"usb0"</item>
</string-array>

0 comments on commit 32b06e9

Please sign in to comment.