stv0297: improvement for qam256 modulated channels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I did eavesdrop the i2c-bus on the TT-C2300 on windows. The initialization of the stv0297 is a
little bit different. If I change the value for the initial demodulation frequency, the ber value is
reduced to a fourths.

- Hartmut

diff -r f9de5dc4b05e linux/drivers/media/dvb/frontends/stv0297.c
--- a/linux/drivers/media/dvb/frontends/stv0297.c	Wed Sep 12 01:04:48 2007 +0200
+++ b/linux/drivers/media/dvb/frontends/stv0297.c	Fri Sep 21 20:15:14 2007 +0200
@@ -451,7 +451,7 @@ static int stv0297_set_frontend(struct d
 	stv0297_writereg(state, 0x82, 0x0);
 
 	/* set initial demodulation frequency */
-	stv0297_set_initialdemodfreq(state, 7250);
+	stv0297_set_initialdemodfreq(state, p->u.qam.modulation == QAM_256 ? 6718 : 7250);
 
 	/* setup AGC */
 	stv0297_writereg_mask(state, 0x43, 0x10, 0x00);
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux