[media] siano: Convert it to report DVBv5 stats
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 9 Mar 2013 22:26:28 +0000 (19:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 10:47:31 +0000 (07:47 -0300)
commitd42f1cb25334bbcddf213a00bb67083414027933
tree698df33b58aa2d1a5486afb4c9f3d7050e51124e
parentff702eb8d9c8ca293e7f0343dd38b718d58815b0
[media] siano: Convert it to report DVBv5 stats

While this frontend provides a nice set of statistics, the
way it is currently reported to userspace is poor. Worse than
that, instead of using quality indicators that range from 0 to 65535,
as expected by userspace, most indicators range from 0 to 100.
Improve it by using DVBv5 statistics API. The legacy indicators
are still reported using the very same old way, but they're now
using a proper range (0 to 65535 for quality indicadors; 0.1 dB
for SNR).

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/siano/smsdvb.c