summaryrefslogtreecommitdiffstats
path: root/sound/oss/pas2_pcm.c
diff options
context:
space:
mode:
authorLars Ericsson <Lars_Ericsson@telia.com>2009-08-08 23:54:51 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-08-14 15:13:52 +0200
commit66679a65efffffb62dc2650960b3aff758d575f9 (patch)
tree75f3f323331e89fd7c4a8cc87339cceb1959037b /sound/oss/pas2_pcm.c
parentrt2x00: Fix quality houskeeping for software diversity (diff)
downloadlinux-66679a65efffffb62dc2650960b3aff758d575f9.tar.xz
linux-66679a65efffffb62dc2650960b3aff758d575f9.zip
rt2x00: Fix rounding errors in RSSI average calculation
Small changes in signal level was not detected up by the MOVING_AVERAGE() due to a rounding error, using 'int' type. rt2x00lib_antenna_diversity_eval: rssi: -62 -62 -62 -62 -62 -62 -62 -62 -62 -62 -62 -62 -62 -62 -62 rssi_avg: -57 -57 -57 -57 -57 -57 -57 -57 -57 -57 -57 -57 -57 -57 -57 The signal level reported back could be significantly (5dBm) different from the actual value. A level +3dBm is the same as double the AP output power. Signed-off-by: Lars Ericsson <Lars_Ericsson@telia.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'sound/oss/pas2_pcm.c')
0 files changed, 0 insertions, 0 deletions