diff options
Diffstat (limited to 'include/hardware_legacy')
-rw-r--r-- | include/hardware_legacy/wifi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hardware_legacy/wifi.h b/include/hardware_legacy/wifi.h index 4d051e7..01d73e4 100644 --- a/include/hardware_legacy/wifi.h +++ b/include/hardware_legacy/wifi.h @@ -145,6 +145,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" |