upstream: [media] dib7000p: Callibrate signal strength
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 29 May 2014 17:44:57 +0000 (14:44 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:32:07 +0000 (14:32 +0900)
commit2c0214c6493762b07bf1ea91f0e3e2c19d8e7afe
tree86b1e8a2f2fca90987c4bf05573579bf8df75cde
parent2c3cc03c18c90cffb3f10c9a02faa4d2eca328a8
upstream: [media] dib7000p: Callibrate signal strength

Calibrate the signal strength to dB.

For this callibration, I used adapter 0 (antenna 1), connected
via a normal cable to a DTF-2111 generator.

The same cabling and RF generator connected to adapter 1
(antenna 2) has a difference of +3dBm (signal was stronger
there).

Yet, changing the RF for a difference of, let's say, 6dB
reflected on a 6dB difference at the measured signal, with
is good.

So, the signal strengh can indeed be used to measure the
antenna gain, if the antenna is repositioned. It is
not precise to measure the absolute dBm value, however.

Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=3926d91a6b93
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/dib7000p.c