diff options
-rw-r--r-- | Documentation/DocBook/media/dvb/dvbproperty.xml | 4 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-core/dvb_frontend.c | 2 | ||||
-rw-r--r-- | include/linux/dvb/frontend.h | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dvb/dvbproperty.xml index 3bc8a61efe30..6ac803959a47 100644 --- a/Documentation/DocBook/media/dvb/dvbproperty.xml +++ b/Documentation/DocBook/media/dvb/dvbproperty.xml | |||
@@ -311,6 +311,8 @@ typedef enum fe_rolloff { | |||
311 | ROLLOFF_20, | 311 | ROLLOFF_20, |
312 | ROLLOFF_25, | 312 | ROLLOFF_25, |
313 | ROLLOFF_AUTO, | 313 | ROLLOFF_AUTO, |
314 | ROLLOFF_15, /* DVB-C Annex A */ | ||
315 | ROLLOFF_13, /* DVB-C Annex C */ | ||
314 | } fe_rolloff_t; | 316 | } fe_rolloff_t; |
315 | </programlisting> | 317 | </programlisting> |
316 | </section> | 318 | </section> |
@@ -778,8 +780,10 @@ typedef enum fe_hierarchy { | |||
778 | <listitem><para><link linkend="DTV-MODULATION"><constant>DTV_MODULATION</constant></link></para></listitem> | 780 | <listitem><para><link linkend="DTV-MODULATION"><constant>DTV_MODULATION</constant></link></para></listitem> |
779 | <listitem><para><link linkend="DTV-INVERSION"><constant>DTV_INVERSION</constant></link></para></listitem> | 781 | <listitem><para><link linkend="DTV-INVERSION"><constant>DTV_INVERSION</constant></link></para></listitem> |
780 | <listitem><para><link linkend="DTV-SYMBOL-RATE"><constant>DTV_SYMBOL_RATE</constant></link></para></listitem> | 782 | <listitem><para><link linkend="DTV-SYMBOL-RATE"><constant>DTV_SYMBOL_RATE</constant></link></para></listitem> |
783 | <listitem><para><link linkend="DTV-ROLLOFF"><constant>DTV_ROLLOFF</constant></link></para></listitem> | ||
781 | <listitem><para><link linkend="DTV-INNER-FEC"><constant>DTV_INNER_FEC</constant></link></para></listitem> | 784 | <listitem><para><link linkend="DTV-INNER-FEC"><constant>DTV_INNER_FEC</constant></link></para></listitem> |
782 | </itemizedlist> | 785 | </itemizedlist> |
786 | <para>The Rolloff of 0.15 (ROLLOFF_15) is assumed, as ITU-T J.83 Annex A is more common. For Annex C, rolloff should be 0.13 (ROLLOFF_13). All other values are invalid.</para> | ||
783 | </section> | 787 | </section> |
784 | <section id="dvbc-annex-b-params"> | 788 | <section id="dvbc-annex-b-params"> |
785 | <title>DVB-C Annex B delivery system</title> | 789 | <title>DVB-C Annex B delivery system</title> |
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c index 2c0acdb4d811..c849455458ea 100644 --- a/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb/dvb-core/dvb_frontend.c | |||
@@ -876,6 +876,7 @@ static int dvb_frontend_clear_cache(struct dvb_frontend *fe) | |||
876 | c->symbol_rate = QAM_AUTO; | 876 | c->symbol_rate = QAM_AUTO; |
877 | c->code_rate_HP = FEC_AUTO; | 877 | c->code_rate_HP = FEC_AUTO; |
878 | c->code_rate_LP = FEC_AUTO; | 878 | c->code_rate_LP = FEC_AUTO; |
879 | c->rolloff = ROLLOFF_AUTO; | ||
879 | 880 | ||
880 | c->isdbt_partial_reception = -1; | 881 | c->isdbt_partial_reception = -1; |
881 | c->isdbt_sb_mode = -1; | 882 | c->isdbt_sb_mode = -1; |
@@ -1030,6 +1031,7 @@ static void dtv_property_cache_init(struct dvb_frontend *fe, | |||
1030 | break; | 1031 | break; |
1031 | case FE_QAM: | 1032 | case FE_QAM: |
1032 | c->delivery_system = SYS_DVBC_ANNEX_AC; | 1033 | c->delivery_system = SYS_DVBC_ANNEX_AC; |
1034 | c->rolloff = ROLLOFF_15; /* implied for Annex A */ | ||
1033 | break; | 1035 | break; |
1034 | case FE_OFDM: | 1036 | case FE_OFDM: |
1035 | c->delivery_system = SYS_DVBT; | 1037 | c->delivery_system = SYS_DVBT; |
diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h index 1b1094c35e4f..d9251df867b5 100644 --- a/include/linux/dvb/frontend.h +++ b/include/linux/dvb/frontend.h | |||
@@ -329,6 +329,8 @@ typedef enum fe_rolloff { | |||
329 | ROLLOFF_20, | 329 | ROLLOFF_20, |
330 | ROLLOFF_25, | 330 | ROLLOFF_25, |
331 | ROLLOFF_AUTO, | 331 | ROLLOFF_AUTO, |
332 | ROLLOFF_15, /* DVB-C Annex A */ | ||
333 | ROLLOFF_13, /* DVB-C Annex C */ | ||
332 | } fe_rolloff_t; | 334 | } fe_rolloff_t; |
333 | 335 | ||
334 | typedef enum fe_delivery_system { | 336 | typedef enum fe_delivery_system { |