aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/af9033_priv.h
diff options
context:
space:
mode:
authorBimow Chen <Bimow.Chen@ite.com.tw>2014-10-01 06:28:54 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-04 15:19:12 -0500
commit3adec272425f6bb72375436b9dd67b0f5a7f7eef (patch)
tree8d63726fd20f8d04bdae4daafa21c49a579e35f6 /drivers/media/dvb-frontends/af9033_priv.h
parent45c3cbb18462b76848476da596b8c1647929ab1f (diff)
[media] af9033: fix DVBv3 signal strength value not correct issue
Register 0x800048 is not dB measure but relative scale. Fix it and conform to NorDig specifications. Signed-off-by: Bimow Chen <Bimow.Chen@ite.com.tw> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/af9033_priv.h')
-rw-r--r--drivers/media/dvb-frontends/af9033_priv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/af9033_priv.h b/drivers/media/dvb-frontends/af9033_priv.h
index c12c92cb5855..c9c87981f80b 100644
--- a/drivers/media/dvb-frontends/af9033_priv.h
+++ b/drivers/media/dvb-frontends/af9033_priv.h
@@ -2051,4 +2051,10 @@ static const struct reg_val tuner_init_it9135_62[] = {
2051 { 0x80fd8b, 0x00 }, 2051 { 0x80fd8b, 0x00 },
2052}; 2052};
2053 2053
2054/* NorDig power reference table */
2055static const int power_reference[][5] = {
2056 {-93, -91, -90, -89, -88}, /* QPSK 1/2 ~ 7/8 */
2057 {-87, -85, -84, -83, -82}, /* 16QAM 1/2 ~ 7/8 */
2058 {-82, -80, -78, -77, -76}, /* 64QAM 1/2 ~ 7/8 */
2059};
2054#endif /* AF9033_PRIV_H */ 2060#endif /* AF9033_PRIV_H */