summaryrefslogtreecommitdiff
path: root/drivers/media/tuners/mxl5007t.h
diff options
context:
space:
mode:
authorJoerg Riechardt <J.Riechardt@gmx.de>2015-08-29 12:02:57 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-23 12:41:49 -0200
commit386701892b4821c4d127710fa35b1309c4355bbf (patch)
tree4d15f859b09e608b59242d4e49ce929b6722f159 /drivers/media/tuners/mxl5007t.h
parent8ccd22db927995313a9ab3526c1765c7c157f3e9 (diff)
[media] stv090x: use lookup tables for carrier/noise ratio
The stv090x driver uses the lookup table for signal strength already, with this patch we use the lookup tables for carrier/noise ratio as well. This has the advantage, that values for DVB-S and DVB-S2 are now corresponding, while before they were way off. The values are now proportional to real carrier/noise ratio, while before they were corresponding to register values. So now applications are able to give the user real carrier/noise ratio. Because the output has to be within 0x0000...0xFFFF the three negative values for DVB-S2 are omitted. This is no significant loss, because reception is lost at 7.5 dB already (TT S2-1600, Cine S2), so the negative values are not really important, and also for DVB-S they donĀ“t exist. Signed-off-by: Joerg Riechardt <j.riechardt@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/tuners/mxl5007t.h')
0 files changed, 0 insertions, 0 deletions