dvb-core: set default properties of ISDB-S
PATCH 1/1 dvb-core: set default properties of ISDB-S
From: Akihiro Tsukada <[email protected]>
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(+)
drivers/media/dvb-core/dvb_frontend.c +5 -0
@@ -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 :
Signature · 1 line
2.1.2
Moikka
How is channel bandwidth defined? Is it static? 38961000 Hz?
regards
Antti
Quoted 31 lines · On 10/26/2014 02:01 PM, [email protected] wrote:
From: Akihiro Tsukada <[email protected]>
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(+)drivers/media/dvb-core/dvb_frontend.c +5
-0@@ -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 :
Signature · 1 line
http://palosaari.fi/
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · Antti Palosaari
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