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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/hardware_legacy/wifi.h b/include/hardware_legacy/wifi.h
index 9b81677..fe48553 100644
--- a/include/hardware_legacy/wifi.h
+++ b/include/hardware_legacy/wifi.h
@@ -172,6 +172,14 @@ int do_dhcp_request(int *ipaddr, int *gateway, int *mask,
*/
const char *get_dhcp_error_string();
+/**
+ * Return the path to requested firmware
+ */
+#define WIFI_GET_FW_PATH_STA 0
+#define WIFI_GET_FW_PATH_AP 1
+#define WIFI_GET_FW_PATH_P2P 2
+const char *wifi_get_fw_path(int fw_type);
+
#if __cplusplus
}; // extern "C"
#endif