linux/drivers/media
David Howells 3366cd5d72 [media] ts2020: Provide DVBv5 API signal strength
Provide a DVBv5 API signal strength.  This is in units of 0.001 dBm rather
than a percentage.

>From Antti Palosaari's testing with a signal generator, it appears that the
gain calculated according to Montage's specification if negated is a
reasonable representation of the signal strength of the generator.

To this end:

 (1) Polled statistic gathering needed to be implemented in the TS2020 driver.
     This is done in the ts2020_stat_work() function.

 (2) The calculated gain is placed as the signal strength in the
     dtv_property_cache associated with the front end with the scale set to
     FE_SCALE_DECIBEL.

 (3) The DVBv3 format signal strength then needed to be calculated from the
     signal strength stored in the dtv_property_cache rather than accessing
     the value when ts2020_read_signal_strength() is called.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-06-10 11:11:03 -03:00
..
common [media] b2c2: Add option to skip the first 6 pid filters 2015-06-09 20:57:56 -03:00
dvb-core [media] dvb-frontend: Replace timeval with ktime_t 2015-06-09 21:09:51 -03:00
dvb-frontends [media] ts2020: Provide DVBv5 API signal strength 2015-06-10 11:11:03 -03:00
firewire [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
i2c [media] ov2659: Don't depend on subdev API 2015-06-09 18:13:46 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] TS2020: Calculate tuner gain correctly 2015-06-10 11:10:27 -03:00
platform [media] coda: remove extraneous TRACE_SYSTEM_STRING 2015-06-09 18:36:04 -03:00
radio [media] radio-si470x-i2c: Pass the IRQF_ONESHOT flag 2015-06-06 07:34:08 -03:00
rc [media] rc: gpio-ir-recv: don't sleep in irq handler 2015-06-10 07:48:39 -03:00
tuners [media] fc2580: add missing error status when probe() fails 2015-06-09 17:22:57 -03:00
usb [media] TS2020: Calculate tuner gain correctly 2015-06-10 11:10:27 -03:00
v4l2-core [media] v4l2-dv-timings: add interlace support in detect cvt/gtf 2015-06-09 17:44:42 -03:00
Kconfig media controller: add EXPERIMENTAL to Kconfig option for DVB support 2015-05-08 14:48:49 -03:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Fix a compiler warning in media_entity_pipeline_start() 2014-11-03 19:09:13 -02:00