Commit Bot submitted this change.
wificell: router: Port rng_configure from Autotest.
In Autotest, we select tpm-rng if available to avoid "Not enough
entropy" problem of on-chip rng in Gale.
(original cl: crrev.com/c/1162969)
Also port the logic to Tast.
BUG=chromium:1034875,chromium:774808
TEST=`tast run $DUT wifi.SimpleConnect\*` and then `cat
/sys/class/misc/hw_random/rng_current` to see if the router is using
tpm-rng.
Change-Id: I069e7e1009a77be999960483664fcdcc653fff1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/2119773
Tested-by: Yen-lin Lai <yenl...@google.com>
Commit-Queue: Yen-lin Lai <yenl...@google.com>
Reviewed-by: Brian Norris <brian...@chromium.org>
Reviewed-by: Keigo Oka <o...@chromium.org>
Reviewed-by: Shuo-Peng Liao <dean...@chromium.org>
---
M src/chromiumos/tast/remote/wificell/fileutil/utils.go
M src/chromiumos/tast/remote/wificell/router.go
2 files changed, 82 insertions(+), 1 deletion(-)
To view, visit change 2119773. To unsubscribe, or for help writing mail filters, visit settings.