OSDN Git Service

[media] siano: fix signal strength and CNR stats measurements
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 10 Mar 2013 15:06:30 +0000 (12:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 10:49:17 +0000 (07:49 -0300)
commitf5de95e2467b7b6b968e6c67489425265dd2a1c2
tree60d7c3ba80e1751b50fff8407ca2ae142d0eb1d5
parenta9b9fbdf0a6a65359cd97254a282526822de5257
[media] siano: fix signal strength and CNR stats measurements

There are a number of small issues with the stats refactoring:
- InBandPwr better represents the signal strength;
- Don't zero signal strength /cnr if no lock;
- Fix signal strength/cnr scale;
- Don't need to fill PER/BER if not locked, as the
  code will disable those stats anyway.

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