Re: [1/2] ath9k: change entropy formula for easier understanding

2016-10-13 Thread Kalle Valo
miaoqing pan wrote: > From: Miaoqing Pan > > The quality of ADC entropy is 10 bits of min-entropy for > a 32-bit value, change '(((x) * 8 * 320) >> 10)' to > '(((x) * 8 * 10) >> 5)' for easier understanding. > > Signed-off-by: Miaoqing Pan Patch applied to ath-next branch of ath.git, thanks.

Re: [1/2] ath9k: change entropy formula for easier understanding

2016-09-27 Thread Kalle Valo
miaoqing pan wrote: > From: Miaoqing Pan > > The quality of ADC entropy is 10 bits of min-entropy for > a 32-bit value, change '(((x) * 8 * 320) >> 10)' to > '(((x) * 8 * 10) >> 5)' for easier understanding. > > Signed-off-by: Miaoqing Pan I need some help here, it this patch ok to take or sh

[PATCH 1/2] ath9k: change entropy formula for easier understanding

2016-08-09 Thread miaoqing
From: Miaoqing Pan The quality of ADC entropy is 10 bits of min-entropy for a 32-bit value, change '(((x) * 8 * 320) >> 10)' to '(((x) * 8 * 10) >> 5)' for easier understanding. Signed-off-by: Miaoqing Pan --- drivers/net/wireless/ath/ath9k/rng.c | 2 +- 1 file changed, 1 insertion(+), 1 delet