Commit 26a57306 authored by Sungmin Choi's avatar Sungmin Choi Committed by Brian Muramatsu
Browse files

mako: enable portable WiFi hotspot (AP) feature

Change-Id: I581d17b173b33402044a5f88be979d8eaf0f572a
parent 62dbf846
...@@ -39,21 +39,19 @@ TARGET_BOOTLOADER_NAME=mako ...@@ -39,21 +39,19 @@ TARGET_BOOTLOADER_NAME=mako
TARGET_BOARD_INFO_FILE := device/lge/mako/board-info.txt TARGET_BOARD_INFO_FILE := device/lge/mako/board-info.txt
# FIXME: HOSTAPD-derived wifi driver # FIXME: HOSTAPD-derived wifi driver
ifeq (0,0)
BOARD_HAS_QCOM_WLAN := true BOARD_HAS_QCOM_WLAN := true
BOARD_WPA_SUPPLICANT_DRIVER := NL80211 BOARD_WPA_SUPPLICANT_DRIVER := NL80211
BOARD_HOSTAPD_DRIVER := NL80211 BOARD_HOSTAPD_DRIVER := NL80211
WPA_SUPPLICANT_VERSION := VER_2_0_DEV WPA_SUPPLICANT_VERSION := VER_2_0_DEV
HOSTAPD_VERSION := VER_2_0_DEV HOSTAPD_VERSION := VER_2_0_DEV
WIFI_DRIVER_FW_PATH_STA := "sta" WIFI_DRIVER_FW_PATH_STA := "sta"
#WIFI_DRIVER_FW_PATH_AP := "ap" WIFI_DRIVER_FW_PATH_AP := "ap"
#WIFI_DRIVER_FW_PATH_P2P := "p2p" #WIFI_DRIVER_FW_PATH_P2P := "p2p"
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wlan.ko" WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wlan.ko"
WIFI_DRIVER_MODULE_NAME := "wlan" WIFI_DRIVER_MODULE_NAME := "wlan"
WIFI_DRIVER_CONF_FILE := "/data/misc/wifi/WCNSS_qcom_cfg.ini" WIFI_DRIVER_CONF_FILE := "/data/misc/wifi/WCNSS_qcom_cfg.ini"
WIFI_DRIVER_DEF_CONF_FILE := $(WIFI_DRIVER_CONF_FILE) WIFI_DRIVER_DEF_CONF_FILE := $(WIFI_DRIVER_CONF_FILE)
BOARD_WLAN_DEVICE := qcwcn BOARD_WLAN_DEVICE := qcwcn
endif
BOARD_EGL_CFG := device/lge/mako/egl.cfg BOARD_EGL_CFG := device/lge/mako/egl.cfg
......
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
Wifi interfaces. If the device doesn't want to support tethering over Wifi this Wifi interfaces. If the device doesn't want to support tethering over Wifi this
should be empty. An example would be "softap.*" --> should be empty. An example would be "softap.*" -->
<string-array translatable="false" name="config_tether_wifi_regexs"> <string-array translatable="false" name="config_tether_wifi_regexs">
<item>"wlan0"</item>
<item>"softap.*"</item> <item>"softap.*"</item>
</string-array> </string-array>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment