linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dvb-core: set default properties of ISDB-S
@ 2014-10-26 12:01 tskd08
  2014-10-26 12:13 ` Antti Palosaari
  0 siblings, 1 reply; 3+ messages in thread
From: tskd08 @ 2014-10-26 12:01 UTC (permalink / raw)
  To: linux-media; +Cc: m.chehab, Akihiro Tsukada

From: Akihiro Tsukada <tskd08@gmail.com>

delsys-fixed props should be set in dvb-core instead of in each driver.
---
 drivers/media/dvb-core/dvb_frontend.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c
index c862ad7..1e9b814 100644
--- a/drivers/media/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb-core/dvb_frontend.c
@@ -962,6 +962,10 @@ static int dvb_frontend_clear_cache(struct dvb_frontend *fe)
 	case SYS_ATSC:
 		c->modulation = VSB_8;
 		break;
+	case SYS_ISDBS:
+		c->symbol_rate = 28860000;
+		c->rolloff = ROLLOFF_35;
+		break;
 	default:
 		c->modulation = QAM_AUTO;
 		break;
@@ -2074,6 +2078,7 @@ static int dtv_set_frontend(struct dvb_frontend *fe)
 		break;
 	case SYS_DVBS:
 	case SYS_TURBO:
+	case SYS_ISDBS:
 		rolloff = 135;
 		break;
 	case SYS_DVBS2:
-- 
2.1.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dvb-core: set default properties of ISDB-S
  2014-10-26 12:01 [PATCH] dvb-core: set default properties of ISDB-S tskd08
@ 2014-10-26 12:13 ` Antti Palosaari
       [not found]   ` <544CF97D.80109@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Antti Palosaari @ 2014-10-26 12:13 UTC (permalink / raw)
  To: tskd08, linux-media; +Cc: m.chehab

Moikka
How is channel bandwidth defined? Is it static? 38961000 Hz?

regards
Antti

On 10/26/2014 02:01 PM, tskd08@gmail.com wrote:
> From: Akihiro Tsukada <tskd08@gmail.com>
>
> delsys-fixed props should be set in dvb-core instead of in each driver.
> ---
>   drivers/media/dvb-core/dvb_frontend.c | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c
> index c862ad7..1e9b814 100644
> --- a/drivers/media/dvb-core/dvb_frontend.c
> +++ b/drivers/media/dvb-core/dvb_frontend.c
> @@ -962,6 +962,10 @@ static int dvb_frontend_clear_cache(struct dvb_frontend *fe)
>   	case SYS_ATSC:
>   		c->modulation = VSB_8;
>   		break;
> +	case SYS_ISDBS:
> +		c->symbol_rate = 28860000;
> +		c->rolloff = ROLLOFF_35;
> +		break;
>   	default:
>   		c->modulation = QAM_AUTO;
>   		break;
> @@ -2074,6 +2078,7 @@ static int dtv_set_frontend(struct dvb_frontend *fe)
>   		break;
>   	case SYS_DVBS:
>   	case SYS_TURBO:
> +	case SYS_ISDBS:
>   		rolloff = 135;
>   		break;
>   	case SYS_DVBS2:
>

-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dvb-core: set default properties of ISDB-S
       [not found]     ` <544D2271.6050800@iki.fi>
@ 2014-10-27 12:15       ` Akihiro TSUKADA
  0 siblings, 0 replies; 3+ messages in thread
From: Akihiro TSUKADA @ 2014-10-27 12:15 UTC (permalink / raw)
  To: Antti Palosaari; +Cc: linux-media

On 2014年10月27日 01:33, Antti Palosaari wrote:
> You should calculate bw too as tuners needs set filters according to
> used channel bw. You could calculate nominal needed be using formula:
> bandwidth = roll-off factor * symbol rate

I'll include it in the next version.
thx
--
Akihiro

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-27 12:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-26 12:01 [PATCH] dvb-core: set default properties of ISDB-S tskd08
2014-10-26 12:13 ` Antti Palosaari
     [not found]   ` <544CF97D.80109@gmail.com>
     [not found]     ` <544D2271.6050800@iki.fi>
2014-10-27 12:15       ` Akihiro TSUKADA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).