OSDN Git Service

[media] drx-j: properly handle bit counts on stats
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 10 Mar 2014 11:08:53 +0000 (08:08 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 10:37:20 +0000 (07:37 -0300)
commit6983257813dcc052cb46639f28ac77f46ec7350f
tree80f10abde7eb4b521f98dd1346438e4253e25700
parent03fdfbfd3b5944bfd210541a83c9b222e2c20920
[media] drx-j: properly handle bit counts on stats

Instead of just assuming that the min resolution is 1E-6,
pass both bit error and bit counts for userspace to calculate
BER. The same applies for PER, for 8VSB. It is not clear how
to get the packet count for QAM. So, for now, don't expose PER
for QAM.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/drx39xyj/drxj.c