summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-07-25 14:45:28 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-25 14:45:28 -0700
commitea8ec41edf532ad86ad8cc5c1da6574b4224b101 (patch)
tree8f55ed597ae23240a66b70763073551b04c85215 /include
parentebcaf07421dc87f9814d63d9952c1dee709db5d2 (diff)
parent3ab3e6696757541c098a251981c074fc980f4dc7 (diff)
downloadhardware_libhardware_legacy-ea8ec41edf532ad86ad8cc5c1da6574b4224b101.tar.gz
hardware_libhardware_legacy-ea8ec41edf532ad86ad8cc5c1da6574b4224b101.tar.bz2
hardware_libhardware_legacy-ea8ec41edf532ad86ad8cc5c1da6574b4224b101.zip
Merge "wifi: Add entropy file support"
Diffstat (limited to 'include')
-rw-r--r--include/hardware_legacy/wifi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hardware_legacy/wifi.h b/include/hardware_legacy/wifi.h
index e83e6ba..5b13fd7 100644
--- a/include/hardware_legacy/wifi.h
+++ b/include/hardware_legacy/wifi.h
@@ -185,6 +185,12 @@ const char *wifi_get_fw_path(int fw_type);
*/
int wifi_change_fw_path(const char *fwpath);
+/**
+ * Check and create if necessary initial entropy file
+ */
+#define WIFI_ENTROPY_FILE "/data/misc/wifi/entropy.bin"
+int ensure_entropy_file_exists();
+
#if __cplusplus
}; // extern "C"
#endif