diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2009-08-20 13:41:14 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-20 11:36:08 -0400 |
commit | ff36041652fcb9f5c17bdbeb081414f69521f1af (patch) | |
tree | f16b621fdaf648af95d18d0f7c1c4b81218e0793 /drivers/spi/spi_sh_sci.c | |
parent | 035d0243ebbdbd5f8f07d6ce378c9a9b36415bc9 (diff) |
ath9k: Fix bug in retrieving average beacon rssi
Currently the beacon rssi that LPF gives is divided and rounded
up by ATH_RSSI_EP_MULTIPLIER twice. This will leave the incorrect rssi
in ANI. Having correct rssi in ANI fixes the connection stability at
< 30dB rssi range. This patch removes the unncessary computation of average
rssi over already valid average rssi. Also removes the redundant macros to
find average rssi.
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/spi/spi_sh_sci.c')
0 files changed, 0 insertions, 0 deletions