summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/wifi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hardware_legacy/wifi.h')
-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"