]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc50a29d525c394172c744ad91c1ec5cb0b7c68f0
tree09da61c650e82a2d6dca4b3cd4ad4a7c0304c07a
parent062c2f72c0876c6f192264d6b0e6e571cb41f7e2
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