aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2017-11-30 22:46:26 (GMT)
committerJouni Malinen <j@w1.fi>2017-12-09 15:47:42 (GMT)
commitb65353a767522a5d7215a6f55ec36b96a94aee28 (patch)
tree739cb9e7736dbf0b604b54c7f9ab6f55bfef59f9 /wpa_supplicant
parentff28df739a09ed018591d407d8b5385c664037c2 (diff)
downloadhostap-b65353a767522a5d7215a6f55ec36b96a94aee28.zip
hostap-b65353a767522a5d7215a6f55ec36b96a94aee28.tar.gz
hostap-b65353a767522a5d7215a6f55ec36b96a94aee28.tar.bz2
Android: Set CONFIG_NO_RANDOM_POOL=y
Wpa_supplicant's random pool is not necessary on Android. Randomness is already provided by the entropymixer service which ensures sufficient entropy is maintained across reboots. Commit b410eb1913 'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with that entropy before either wpa_supplicant or hostapd are run. Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/android.config8
1 files changed, 7 insertions, 1 deletions
diff --git a/wpa_supplicant/android.config b/wpa_supplicant/android.config
index a4b17b0..7dfaa0f 100644
--- a/wpa_supplicant/android.config
+++ b/wpa_supplicant/android.config
@@ -442,7 +442,13 @@ CONFIG_ANDROID_LOG=y
# disabled. This will save some in binary size and CPU use. However, this
# should only be considered for builds that are known to be used on devices
# that meet the requirements described above.
-#CONFIG_NO_RANDOM_POOL=y
+
+# Wpa_supplicant's random pool is not necessary on Android. Randomness is
+# already provided by the entropymixer service which ensures sufficient
+# entropy is maintained across reboots. Commit b410eb1913 'Initialize
+# /dev/urandom earlier in boot' seeds /dev/urandom with that entropy before
+# either wpa_supplicant or hostapd are run.
+CONFIG_NO_RANDOM_POOL=y
# IEEE 802.11n (High Throughput) support (mainly for AP mode)
CONFIG_IEEE80211N=y