summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2012-12-20 20:39:18 -0800
committerSteve Kondik <steve@cyngn.com>2015-10-26 15:49:35 -0700
commit88ea21bab1bd4e89819d62cbee7954120f458dcf (patch)
treee02ef49fe9f4adaf71441782164e7ad2ffdf8fcd /include
parent12374d726faeb2aaa87d4e22a6558ca24d0c8695 (diff)
downloadhardware_libhardware_legacy-88ea21bab1bd4e89819d62cbee7954120f458dcf.zip
hardware_libhardware_legacy-88ea21bab1bd4e89819d62cbee7954120f458dcf.tar.gz
hardware_libhardware_legacy-88ea21bab1bd4e89819d62cbee7954120f458dcf.tar.bz2
wifi: Add support for AP module args
* Needed for Samsung's goofy handling of AP mode Change-Id: I5ec65460b7c9f8ef34170473cf1bdaa36587767b
Diffstat (limited to 'include')
-rw-r--r--include/hardware_legacy/wifi.h5
1 files changed, 5 insertions, 0 deletions
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"