summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/stb0899_drv.c
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2008-01-18 17:28:48 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 22:53:21 +0300
commit763fbaf65a3f7fd571db427a376e727faeb5bfc5 (patch)
tree39192052e71a1de6331822a3b54f4b34763abed4 /drivers/media/dvb/frontends/stb0899_drv.c
parent27a330d1240ffeaca8c7cf2a2eb6a5fbeef3c4ec (diff)
downloadlinux-763fbaf65a3f7fd571db427a376e727faeb5bfc5.tar.xz
V4L/DVB (9443): Bug: Bandwidth calculation
Bug #1: The 5 tap equaliser is set to correct simple perturbations like reflections on the IF cable for DVB-S. In the case of DVB-S2 a more powerful equalizer is used to correct the filter group delay allowing the bandwidth to be reduced by a factor of 1/3 Bug #2: The ZIF tuner takes badwidth to be set in Hz Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stb0899_drv.c')
-rw-r--r--drivers/media/dvb/frontends/stb0899_drv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c
index d21396450259..45961193272b 100644
--- a/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/drivers/media/dvb/frontends/stb0899_drv.c
@@ -1554,8 +1554,7 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa
}
dprintk(verbose, FE_DEBUG, 1, "delivery system=%d", state->delsys);
- SearchRange = 3000000; /* Search Bandwidth (3 Mhz, was initially 10 Mhz) */
-// SearchRange = 10000000; /* Search Bandwidth (3 Mhz, was initially 10 Mhz) */
+ SearchRange = 10000000;
dprintk(verbose, FE_DEBUG, 1, "Frequency=%d, Srate=%d", i_params->freq, i_params->srate);
/* checking Search Range is meaningless for a fixed 3 Mhz */
if (INRANGE(i_params->srate, 1000000, 45000000)) {
@@ -1626,7 +1625,7 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa
internal->srch_range = SearchRange;
if (state->config->tuner_set_bandwidth)
- state->config->tuner_set_bandwidth(fe, (135 * (stb0899_carr_width(state) + SearchRange)) / 100);
+ state->config->tuner_set_bandwidth(fe, (stb0899_carr_width(state) + SearchRange));
if (state->config->tuner_get_bandwidth)
state->config->tuner_get_bandwidth(fe, &internal->tuner_bw);