Vidya Srinivas wrote:
it's just a heuristic to get the SNR values into the useful 0x0000...0xffff range.Hi, According to the universal driver for STV0299 obtained from this site, s32 snr = 0xffff - ((stv0299_readreg (i2c, 0x24) << 8) | stv0299_readreg (i2c, 0x25)); snr = 3 * (snr - 0xa100); *((u16*) arg) = (snr > 0xffff) ? 0xffff : (snr < 0) ? 0 : snr; Is this according to any formula? Please help me out.