• Jean Delvare's avatar
    [media] cx22702: Fix signal strength · 06302ffb
    Jean Delvare authored
    The signal strength value returned is not quite correct, it decreases
    when I increase the gain of my antenna, and vice versa. It also
    doesn't span over the whole 0x0000-0xffff range. Compute a value which
    at least increases when signal strength increases, and spans the whole
    allowed range.
    
    In practice I get 67% with my antenna fully amplified and 51% with
    no amplification. This is close enough to what I get on my other
    DVB-T adapter with the same antenna.
    Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
    Cc: Steven Toth <stoth@kernellabs.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    06302ffb
cx22702.c 14.1 KB