summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Honan <devnull@localhost>2003-11-01 09:09:34 +0000
committerJamie Honan <devnull@localhost>2003-11-01 09:09:34 +0000
commitefef0fcbf629591bb93fc1ba701cdc64945bdda6 (patch)
tree11a9e6f7693cf3cc85d1ab10ed648e0760321f6f
parent86ad12033d0c5534df6dfa4e354cfa6f5d96380a (diff)
downloadmediapointer-dvb-s2-efef0fcbf629591bb93fc1ba701cdc64945bdda6.tar.gz
mediapointer-dvb-s2-efef0fcbf629591bb93fc1ba701cdc64945bdda6.tar.bz2
Dimitri suggested some mods for signal/quality for terrestial.
-rw-r--r--linux/drivers/media/dvb/frontends/dst.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/linux/drivers/media/dvb/frontends/dst.c b/linux/drivers/media/dvb/frontends/dst.c
index 5ea354eef..1f56e68f8 100644
--- a/linux/drivers/media/dvb/frontends/dst.c
+++ b/linux/drivers/media/dvb/frontends/dst.c
@@ -110,9 +110,9 @@ static struct dvb_frontend_info dst_info_sat = {
static struct dvb_frontend_info dst_info_cable = {
.name = "DST CABLE",
.type = FE_QAM,
- .frequency_stepsize = 62500,
- .frequency_min = 51000000,
- .frequency_max = 858000000,
+ .frequency_stepsize = 62500,
+ .frequency_min = 51000000,
+ .frequency_max = 858000000,
.symbol_rate_min = 1000000,
.symbol_rate_max = 45000000,
/* . symbol_rate_tolerance = ???,*/
@@ -125,9 +125,9 @@ static struct dvb_frontend_info dst_info_cable = {
static struct dvb_frontend_info dst_info_tv = {
.name = "DST TERR",
.type = FE_OFDM,
- .frequency_min = 137000000,
- .frequency_max = 858000000,
- .frequency_stepsize = 166667,
+ .frequency_min = 137000000,
+ .frequency_max = 858000000,
+ .frequency_stepsize = 166667,
.caps = FE_CAN_INVERSION_AUTO |
FE_CAN_FEC_AUTO |
FE_CAN_QAM_AUTO |
@@ -704,10 +704,10 @@ static int dst_get_signal(struct dst_data *dst)
dst->rxbuffer[3];
} else if ((dst->dst_type == DST_TYPE_IS_TERR) ||
(dst->dst_type == DST_TYPE_IS_CABLE)) {
- dst->decode_lock = (dst->rxbuffer[2]) ?
+ dst->decode_lock = (dst->rxbuffer[1]) ?
1 : 0;
- dst->decode_strength = dst->rxbuffer[6] << 8;
- dst->decode_snr = dst->rxbuffer[4] << 8;
+ dst->decode_strength = dst->rxbuffer[4] << 8;
+ dst->decode_snr = dst->rxbuffer[3] << 8;
}
dst->cur_jiff = jiffies;
}