From: Daniel Scheller <d.scheller.oss@gmail.com>
To: crope@iki.fi
Cc: linux-media@vger.kernel.org, mchehab@kernel.org,
mchehab@s-opensource.com, liplianin@netup.ru,
rjkm@metzlerbros.de
Subject: Re: [PATCH v2 0/4] STV0367/DDB DVBv5 signal statistics
Date: Wed, 21 Jun 2017 21:51:07 +0200 [thread overview]
Message-ID: <20170621215107.4e70bbee@audiostation.wuest.de> (raw)
In-Reply-To: <20170621194544.16949-1-d.scheller.oss@gmail.com>
Am Wed, 21 Jun 2017 21:45:40 +0200
schrieb Daniel Scheller <d.scheller.oss@gmail.com>:
> 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
Antti, FYI: statistics inquiry now lives in read_status(), didn't see any functional differences or problems due to this, so if your're comfortable with this, this variant works fine for me. Also, INTLOG10X100 is history, this even gave an improvement of two decimals of precision in dtv_property_cache, which will definitely work for everyone - we're still no scientific pro-measurement-gear. Readout of stats are still limited to FE_HAS_LOCK though, since, as explained, this is the only bit we'll receive at the moment.
Best regards,
Daniel Scheller
--
https://github.com/herrnst
prev parent reply other threads:[~2017-06-21 19:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Daniel Scheller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170621215107.4e70bbee@audiostation.wuest.de \
--to=d.scheller.oss@gmail.com \
--cc=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=liplianin@netup.ru \
--cc=mchehab@kernel.org \
--cc=mchehab@s-opensource.com \
--cc=rjkm@metzlerbros.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.