linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Improve DRX-K statistics
@ 2013-03-20 14:02 Mauro Carvalho Chehab
  2013-03-20 14:02 ` [PATCH 1/5] [media] drxk: remove dummy BER read code Mauro Carvalho Chehab
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Mauro Carvalho Chehab @ 2013-03-20 14:02 UTC (permalink / raw)
  Cc: Mauro Carvalho Chehab, Linux Media Mailing List, Jean Delvare

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(-)

-- 
1.8.1.4


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

end of thread, other threads:[~2013-03-20 15:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-20 14:02 [PATCH 0/5] Improve DRX-K statistics Mauro Carvalho Chehab
2013-03-20 14:02 ` [PATCH 1/5] [media] drxk: remove dummy BER read code Mauro Carvalho Chehab
2013-03-20 14:02 ` [PATCH 2/5] [media] drxk: Add pre/post BER and PER/UCB stats Mauro Carvalho Chehab
2013-03-20 15:07   ` Mauro Carvalho Chehab
2013-03-20 14:02 ` [PATCH 3/5] [media] drxk: use a better calculus for RF strength Mauro Carvalho Chehab
2013-03-20 14:02 ` [PATCH 4/5] [media] drxk: Fix bogus signal strength indicator Mauro Carvalho Chehab
2013-03-20 14:02 ` [PATCH 5/5] [media] dvb-core: don't clear stats at DTV_CLEAR Mauro Carvalho Chehab

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).