From 88ea21bab1bd4e89819d62cbee7954120f458dcf Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Thu, 20 Dec 2012 20:39:18 -0800 Subject: wifi: Add support for AP module args * Needed for Samsung's goofy handling of AP mode Change-Id: I5ec65460b7c9f8ef34170473cf1bdaa36587767b --- include/hardware_legacy/wifi.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/hardware_legacy/wifi.h b/include/hardware_legacy/wifi.h index e4aa93c..8e05397 100644 --- a/include/hardware_legacy/wifi.h +++ b/include/hardware_legacy/wifi.h @@ -159,6 +159,11 @@ const char *wifi_get_fw_path(int fw_type); int wifi_change_fw_path(const char *fwpath); /** + * Set the wifi mode (0 = normal, 1 = ap) + */ +int wifi_set_mode(int mode); + +/** * Check and create if necessary initial entropy file */ #define WIFI_ENTROPY_FILE "/data/misc/wifi/entropy.bin" -- cgit v1.1