]> Pileus Git - ~andy/linux/commit
[media] dib8000: make a better estimation for dBm
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 17 Dec 2013 00:45:19 +0000 (21:45 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 19 Dec 2013 10:17:46 +0000 (08:17 -0200)
commit42ff76bdb0bfe0675da507a35d893c8aa7c7a403
tree388395c2bfe4392e2f10bdaf27520d88dff6b69d
parentb4600d70c0927a9f61b26093c0f01db69f607a6f
[media] dib8000: make a better estimation for dBm

Use multiple linear segments to better interpolate the dBm
for the signal strength.

The table that converts from linear strength to dB was
empirically determinated with the help of a signal generator
(DTA-2111).

The entries from -35dBm to -22.5dBm were taken using just
the signal generator and the board.

For the entries from -36dBm to -51dBm, a 16 dB tap was used,
in order to extend its range.

Signals below to -51dBm are just linearly interpolated.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Acked-by: Patrick Boettcher <pboettcher@kernellabs.com>
drivers/media/dvb-frontends/dib8000.c