summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/af9033_priv.h
diff options
context:
space:
mode:
authorBimow Chen <Bimow.Chen@ite.com.tw>2014-10-01 14:28:54 +0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-04 23:19:12 +0300
commit3adec272425f6bb72375436b9dd67b0f5a7f7eef (patch)
tree8d63726fd20f8d04bdae4daafa21c49a579e35f6 /drivers/media/dvb-frontends/af9033_priv.h
parent45c3cbb18462b76848476da596b8c1647929ab1f (diff)
downloadlinux-3adec272425f6bb72375436b9dd67b0f5a7f7eef.tar.xz
[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[] = {
{ 0x80fd8b, 0x00 },
};
+/* NorDig power reference table */
+static const int power_reference[][5] = {
+ {-93, -91, -90, -89, -88}, /* QPSK 1/2 ~ 7/8 */
+ {-87, -85, -84, -83, -82}, /* 16QAM 1/2 ~ 7/8 */
+ {-82, -80, -78, -77, -76}, /* 64QAM 1/2 ~ 7/8 */
+};
#endif /* AF9033_PRIV_H */