ath9k: Mix the received FFT bins to the random pool
authorNick Kossifidis <mickflemm@gmail.com>
Wed, 29 Apr 2015 23:51:21 +0000 (23:51 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 9 May 2015 13:46:18 +0000 (16:46 +0300)
commit2aa56cca3571fd08c0c38f3e2d4bb0bfb3def3c5
tree09da61c650e82a2d6dca4b3cd4ad4a7c0304c07a
parent3ea2ce3f7e63728b97fb52be4034ba3d8f5ddba5
ath9k: Mix the received FFT bins to the random pool

E/M noise is a pretty good source of entropy so we mix the FFT
measurements of the E/M spectrum to /dev/random pool. Note that
this doesn't increase the pool's entropy count but it still helps
on improving the output of /dev/(u)random.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/common-spectral.c