linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] STV0367/DDB DVBv5 signal statistics
@ 2017-06-21 19:45 Daniel Scheller
  2017-06-21 19:45 ` [PATCH v2 1/4] [media] dvb-frontends/stv0367: initial DDB DVBv5 stats, implement ucblocks Daniel Scheller
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Daniel Scheller @ 2017-06-21 19:45 UTC (permalink / raw)
  To: linux-media, mchehab, mchehab; +Cc: liplianin, rjkm, crope

From: Daniel Scheller <d.scheller@gmx.net>

This series adds DVBv5 statistics support to the new DDB codepath of the
stv0367 demodulator driver.

The changes utilise already existing functionality (in form of register
readouts), but wraps the reads in separate functions so the existing
relative scale reporting can be kept as-is, while adding the v5 stats
in dB scale where appropriate.

>From my own testing: Reported values look approx. the same as those
reported by the cxd2841er driver for both -C and -T.

Changes from v1 to v2:
 - INTLOG10X100() macro for QAM SNR calculation removed and replaced by
   directly utilising intlog2 plus a div
 - factored statistics collection into *_read_status()
 - prevent a possible division by zero (though requires ridiculously good
   SNR to trigger)
 - _read_status() doesn't return -EINVAL anymore if no demod state is set,
   prevents falsely reported errors from inquiries of userspace tools

Daniel Scheller (4):
  [media] dvb-frontends/stv0367: initial DDB DVBv5 stats, implement
    ucblocks
  [media] dvb-frontends/stv0367: split SNR determination into functions
  [media] dvb-frontends/stv0367: SNR DVBv5 statistics for DVB-C and T
  [media] dvb-frontends/stv0367: DVB-C signal strength statistics

 drivers/media/dvb-frontends/stv0367.c | 178 ++++++++++++++++++++++++++++------
 1 file changed, 148 insertions(+), 30 deletions(-)

-- 
2.13.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-06-24 21:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-21 19:45 [PATCH v2 0/4] STV0367/DDB DVBv5 signal statistics Daniel Scheller
2017-06-21 19:45 ` [PATCH v2 1/4] [media] dvb-frontends/stv0367: initial DDB DVBv5 stats, implement ucblocks Daniel Scheller
2017-06-21 19:45 ` [PATCH v2 2/4] [media] dvb-frontends/stv0367: split SNR determination into functions Daniel Scheller
2017-06-21 19:45 ` [PATCH v2 3/4] [media] dvb-frontends/stv0367: SNR DVBv5 statistics for DVB-C and T Daniel Scheller
2017-06-24 21:17   ` Mauro Carvalho Chehab
2017-06-21 19:45 ` [PATCH v2 4/4] [media] dvb-frontends/stv0367: DVB-C signal strength statistics Daniel Scheller
2017-06-24 21:45   ` Mauro Carvalho Chehab
2017-06-21 19:51 ` [PATCH v2 0/4] STV0367/DDB DVBv5 signal statistics Daniel Scheller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).