diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2006-10-29 13:35:39 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-10 08:51:09 -0200 |
commit | 19be685a4a5475ecdbbbb579458eeda890d27a96 (patch) | |
tree | 192c6c2fbeb1c3eea1561cef209cbc7226205a12 /mm/util.c | |
parent | dbb2e6392b4fe350e549cdc2d42cebf3b3574a6a (diff) |
V4L/DVB (4789): Lgdt330x: SNR and signal strength reporting
Update the SNR calculations to use the new dvb_math log function, and add
SNR calculations for all supported modulations for both lg dt3302 and dt3303.
The QAM equations don't appear in the dt3302 datasheet, so the ones from the
dt3303 datasheet were used.
SNR returned is the actual value in dB as 8.8 fixed point.
Reporting of real signal strength isn't supported, so rather than return 0,
which confuses some software and users, a re-scaled SNR value is returned.
Code originally by Rusty Scott.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Rusty Scott <rustys@ieee.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions