diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2011-07-25 10:46:00 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2011-07-25 10:48:45 -0700 |
commit | 3ab3e6696757541c098a251981c074fc980f4dc7 (patch) | |
tree | 8a38d173b371b13eb669b3178cc8d6f3220bbfe2 /include | |
parent | 9582057b29014df01d192c8b463e5f7c650d9f58 (diff) | |
download | hardware_libhardware_legacy-3ab3e6696757541c098a251981c074fc980f4dc7.zip hardware_libhardware_legacy-3ab3e6696757541c098a251981c074fc980f4dc7.tar.gz hardware_libhardware_legacy-3ab3e6696757541c098a251981c074fc980f4dc7.tar.bz2 |
wifi: Add entropy file support
Change-Id: Iee92ee9fee15037cffde86b9cd2c9407afb8d2ca
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hardware_legacy/wifi.h | 6 |
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 |