Skip to content

Improve DRX-K statistics

Mauro Carvalho Chehab linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drxk: remove dummy BER read codedrivers/media/dvb-frontends/drxk_hard.c+0 -160 replies
2/5drxk: Add pre/post BER and PER/UCB statsdrivers/media/dvb-frontends/drxk_hard.c drivers/media/dvb-frontends/drxk_hard.h drivers/media/dvb-frontends/drxk_map.h+172 -121 reply
3/5drxk: use a better calculus for RF strengthdrivers/media/dvb-frontends/drxk_hard.c+109 -170 replies
4/5drxk: Fix bogus signal strength indicatordrivers/media/dvb-frontends/drxk_hard.c+3 -300 replies
5/5dvb-core: don't clear stats at DTV_CLEARdrivers/media/dvb-core/dvb_frontend.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Improve DRX-K statistics

As reported by Jean, the drxk statistics are not ok.

While we don't have enough documentation about this device, it is possible to do better, by using what's available. In particular, the AZ6007 driver released a few years ago by Terratec, with served as the basis for the Kernel's driver has a version of the drxk driver with some statistics code on it.

Import the needed bits from it, in order to provide a better set of statistics.

After this change, the stats looks nicer, especially if used with a dvbv5 stats application:

Lock (0x1f) Quality= Good Signal= 100.00% C/N= 3.55dB UCB= 135 postBER= 22.3x10^-6 PER= 0

Yet:

- Signal is a relative measure. Didn't find a way to convert it to a real scale, and that would also depend on a proper tuner setting;
- Carrier S/N ratio seems too low for DVB-C. I suspect that it is not being measured ok.

However, this seems better than before.

Mauro Carvalho Chehab (5):
[media] drxk: remove dummy BER read code [media] drxk: Add pre/post BER and PER/UCB stats [media] drxk: use a better calculus for RF strength [media] drxk: Fix bogus signal strength indicator [media] dvb-core: don't clear stats at DTV_CLEAR

 drivers/media/dvb-core/dvb_frontend.c   |   2 +-
 drivers/media/dvb-frontends/drxk_hard.c | 302 ++++++++++++++++++++++++++------
 drivers/media/dvb-frontends/drxk_hard.h |   2 +
 drivers/media/dvb-frontends/drxk_map.h  |   3 +
 4 files changed, 259 insertions(+), 50 deletions(-)
Signature · 1 line
1.8.1.4