06a12f1c57c5be2b5691a0bf4ba7a1dc975b63a1
[linux-2.6-microblaze.git] / Documentation / DocBook / media / dvb / dvbproperty.xml
1 <section id="frontend-properties">
2 <title>DVB Frontend properties</title>
3 <para>Tuning into a Digital TV physical channel and starting decoding it
4     requires to change a set of parameters, in order to control the
5     tuner, the demodulator, the Linear Low-noise Amplifier (LNA) and to set the
6     antena subsystem via Satellite Equipment Control (SEC), on satellital
7     systems. The actual parameters are specific to each particular digital
8     TV standards, and may change as the digital TV specs evolutes.</para>
9 <para>In the past, the strategy used were to have an union with the parameters
10     needed to tune for DVB-S, DVB-C, DVB-T and ATSC delivery systems grouped
11     there. The problem is that, as the second generation standards appeared,
12     those structs were not big enough to contain the additional parameters.
13     Also, the union didn't have any space left to be expanded without breaking
14     userspace. So, the decision was to deprecate the legacy union/struct based
15     approach, in favor of a properties set approach.</para>
16 <para>By using a properties set, it is now possible to extend and support any
17     digital TV without needing to redesign the API</para>
18 <para>Example: with the properties based approach, in order to set the tuner
19     to a DVB-C channel at 651 kHz, modulated with 256-QAM, FEC 3/4 and symbol
20     rate of 5.217 Mbauds, those properties should be sent to
21     <link linkend="FE_GET_PROPERTY"><constant>FE_SET_PROPERTY</constant></link> ioctl:</para>
22     <itemizedlist>
23         <listitem>&DTV-FREQUENCY; = 651000000</listitem>
24         <listitem>&DTV-MODULATION; = QAM_256</listitem>
25         <listitem>&DTV-INVERSION; = INVERSION_AUTO</listitem>
26         <listitem>&DTV-SYMBOL-RATE; = 5217000</listitem>
27         <listitem>&DTV-INNER-FEC; = FEC_3_4</listitem>
28         <listitem>&DTV-TUNE;</listitem>
29     </itemizedlist>
30 <para>NOTE: This section describes the DVB version 5 extension of the DVB-API,
31 also called "S2API", as this API were added to provide support for DVB-S2. It
32 was designed to be able to replace the old frontend API. Yet, the DISEQC and
33 the capability ioctls weren't implemented yet via the new way.</para>
34 <para>The typical usage for the <constant>FE_GET_PROPERTY/FE_SET_PROPERTY</constant>
35 API is to replace the ioctl's were the <link linkend="dvb-frontend-parameters">
36 struct <constant>dvb_frontend_parameters</constant></link> were used.</para>
37
38 <section id="dtv-stats">
39 <title>DTV stats type</title>
40 <programlisting>
41 struct dtv_stats {
42         __u8 scale;     /* enum fecap_scale_params type */
43         union {
44                 __u64 uvalue;   /* for counters and relative scales */
45                 __s64 svalue;   /* for 1/1000 dB measures */
46         };
47 } __packed;
48 </programlisting>
49 </section>
50 <section id="dtv-fe-stats">
51 <title>DTV stats type</title>
52 <programlisting>
53 #define MAX_DTV_STATS   4
54
55 struct dtv_fe_stats {
56         __u8 len;
57         struct dtv_stats stat[MAX_DTV_STATS];
58 } __packed;
59 </programlisting>
60 </section>
61
62 <section id="dtv-property">
63 <title>DTV property type</title>
64 <programlisting>
65 /* Reserved fields should be set to 0 */
66
67 struct dtv_property {
68         __u32 cmd;
69         __u32 reserved[3];
70         union {
71                 __u32 data;
72                 struct dtv_fe_stats st;
73                 struct {
74                         __u8 data[32];
75                         __u32 len;
76                         __u32 reserved1[3];
77                         void *reserved2;
78                 } buffer;
79         } u;
80         int result;
81 } __attribute__ ((packed));
82
83 /* num of properties cannot exceed DTV_IOCTL_MAX_MSGS per ioctl */
84 #define DTV_IOCTL_MAX_MSGS 64
85 </programlisting>
86 </section>
87 <section id="dtv-properties">
88 <title>DTV properties type</title>
89 <programlisting>
90 struct dtv_properties {
91         __u32 num;
92         struct dtv_property *props;
93 };
94 </programlisting>
95 </section>
96
97 <section>
98         <title>Property types</title>
99 <para>
100 On <link linkend="FE_GET_PROPERTY">FE_GET_PROPERTY and FE_SET_PROPERTY</link>,
101 the actual action is determined by the dtv_property cmd/data pairs. With one single ioctl, is possible to
102 get/set up to 64 properties. The actual meaning of each property is described on the next sections.
103 </para>
104
105 <para>The available frontend property types are shown on the next section.</para>
106 </section>
107
108 <section id="fe_property_parameters">
109         <title>Digital TV property parameters</title>
110         <section id="DTV-UNDEFINED">
111         <title><constant>DTV_UNDEFINED</constant></title>
112         <para>Used internally. A GET/SET operation for it won't change or return anything.</para>
113         </section>
114         <section id="DTV-TUNE">
115         <title><constant>DTV_TUNE</constant></title>
116         <para>Interpret the cache of data, build either a traditional frontend tunerequest so we can pass validation in the <constant>FE_SET_FRONTEND</constant> ioctl.</para>
117         </section>
118         <section id="DTV-CLEAR">
119         <title><constant>DTV_CLEAR</constant></title>
120         <para>Reset a cache of data specific to the frontend here. This does not effect hardware.</para>
121         </section>
122         <section id="DTV-FREQUENCY">
123                 <title><constant>DTV_FREQUENCY</constant></title>
124
125                 <para>Central frequency of the channel.</para>
126
127                 <para>Notes:</para>
128                 <para>1)For satellital delivery systems, it is measured in kHz.
129                         For the other ones, it is measured in Hz.</para>
130                 <para>2)For ISDB-T, the channels are usually transmitted with an offset of 143kHz.
131                         E.g. a valid frequency could be 474143 kHz. The stepping is bound to the bandwidth of
132                         the channel which is 6MHz.</para>
133
134                 <para>3)As in ISDB-Tsb the channel consists of only one or three segments the
135                         frequency step is 429kHz, 3*429 respectively. As for ISDB-T the
136                         central frequency of the channel is expected.</para>
137         </section>
138         <section id="DTV-MODULATION">
139         <title><constant>DTV_MODULATION</constant></title>
140 <para>Specifies the frontend modulation type for delivery systems that supports
141     more than one modulation type. The modulation can be one of the types
142     defined by &fe-modulation;.</para>
143
144
145 <section id="fe-modulation-t">
146 <title>Modulation property</title>
147
148 <para>Most of the digital TV standards currently offers more than one possible
149     modulation (sometimes called as "constellation" on some standards). This
150     enum contains the values used by the Kernel. Please notice that not all
151     modulations are supported by a given standard.</para>
152
153 <table pgwide="1" frame="none" id="fe-modulation">
154     <title>enum fe_modulation</title>
155     <tgroup cols="2">
156         &cs-def;
157         <thead>
158         <row>
159             <entry>ID</entry>
160             <entry>Description</entry>
161         </row>
162         </thead>
163         <tbody valign="top">
164         <row>
165             <entry>QPSK</entry>
166             <entry>QPSK modulation</entry>
167         </row><row>
168             <entry>QAM_16</entry>
169             <entry>16-QAM modulation</entry>
170         </row><row>
171             <entry>QAM_32</entry>
172             <entry>32-QAM modulation</entry>
173         </row><row>
174             <entry>QAM_64</entry>
175             <entry>64-QAM modulation</entry>
176         </row><row>
177             <entry>QAM_128</entry>
178             <entry>128-QAM modulation</entry>
179         </row><row>
180             <entry>QAM_256</entry>
181             <entry>256-QAM modulation</entry>
182         </row><row>
183             <entry>QAM_AUTO</entry>
184             <entry>Autodetect QAM modulation</entry>
185         </row><row>
186             <entry>VSB_8</entry>
187             <entry>8-VSB modulation</entry>
188         </row><row>
189             <entry>VSB_16</entry>
190             <entry>16-VSB modulation</entry>
191         </row><row>
192             <entry>PSK_8</entry>
193             <entry>8-PSK modulation</entry>
194         </row><row>
195             <entry>APSK_16</entry>
196             <entry>16-APSK modulation</entry>
197         </row><row>
198             <entry>APSK_32</entry>
199             <entry>32-APSK modulation</entry>
200         </row><row>
201             <entry>DQPSK</entry>
202             <entry>DQPSK modulation</entry>
203         </row><row>
204             <entry>QAM_4_NR</entry>
205             <entry>4-QAM-NR modulation</entry>
206         </row>
207         </tbody>
208     </tgroup>
209 </table>
210 </section>
211
212         </section>
213         <section id="DTV-BANDWIDTH-HZ">
214                 <title><constant>DTV_BANDWIDTH_HZ</constant></title>
215
216                 <para>Bandwidth for the channel, in HZ.</para>
217
218                 <para>Possible values:
219                         <constant>1712000</constant>,
220                         <constant>5000000</constant>,
221                         <constant>6000000</constant>,
222                         <constant>7000000</constant>,
223                         <constant>8000000</constant>,
224                         <constant>10000000</constant>.
225                 </para>
226
227                 <para>Notes:</para>
228
229                 <para>1) For ISDB-T it should be always 6000000Hz (6MHz)</para>
230                 <para>2) For ISDB-Tsb it can vary depending on the number of connected segments</para>
231                 <para>3) Bandwidth doesn't apply for DVB-C transmissions, as the bandwidth
232                          for DVB-C depends on the symbol rate</para>
233                 <para>4) Bandwidth in ISDB-T is fixed (6MHz) or can be easily derived from
234                         other parameters (DTV_ISDBT_SB_SEGMENT_IDX,
235                         DTV_ISDBT_SB_SEGMENT_COUNT).</para>
236                 <para>5) DVB-T supports 6, 7 and 8MHz.</para>
237                 <para>6) In addition, DVB-T2 supports 1.172, 5 and 10MHz.</para>
238         </section>
239         <section id="DTV-INVERSION">
240         <title><constant>DTV_INVERSION</constant></title>
241
242         <para>Specifies if the frontend should do spectral inversion or not.</para>
243
244 <section id="fe-spectral-inversion-t">
245 <title>enum fe_modulation: Frontend spectral inversion</title>
246
247 <para>This parameter indicates if spectral inversion should be presumed or not.
248     In the automatic setting (<constant>INVERSION_AUTO</constant>) the hardware
249     will try to figure out the correct setting by itself. If the hardware
250     doesn't support, the DVB core will try to lock at the carrier first with
251     inversion off. If it fails, it will try to enable inversion.
252 </para>
253
254 <table pgwide="1" frame="none" id="fe-spectral-inversion">
255     <title>enum fe_modulation</title>
256     <tgroup cols="2">
257         &cs-def;
258         <thead>
259         <row>
260             <entry>ID</entry>
261             <entry>Description</entry>
262         </row>
263         </thead>
264         <tbody valign="top">
265         <row>
266             <entry>INVERSION_OFF</entry>
267             <entry>Don't do spectral band inversion.</entry>
268         </row><row>
269             <entry>INVERSION_ON</entry>
270             <entry>Do spectral band inversion.</entry>
271         </row><row>
272             <entry>INVERSION_AUTO</entry>
273             <entry>Autodetect spectral band inversion.</entry>
274         </row>
275         </tbody>
276     </tgroup>
277 </table>
278 </section>
279
280         </section>
281         <section id="DTV-DISEQC-MASTER">
282         <title><constant>DTV_DISEQC_MASTER</constant></title>
283         <para>Currently not implemented.</para>
284         </section>
285         <section id="DTV-SYMBOL-RATE">
286         <title><constant>DTV_SYMBOL_RATE</constant></title>
287         <para>Digital TV symbol rate, in bauds (symbols/second). Used on cable standards.</para>
288         </section>
289         <section id="DTV-INNER-FEC">
290         <title><constant>DTV_INNER_FEC</constant></title>
291         <para>Used cable/satellite transmissions. The acceptable values are:
292         </para>
293         <programlisting>
294 typedef enum fe_code_rate {
295         FEC_NONE = 0,
296         FEC_1_2,
297         FEC_2_3,
298         FEC_3_4,
299         FEC_4_5,
300         FEC_5_6,
301         FEC_6_7,
302         FEC_7_8,
303         FEC_8_9,
304         FEC_AUTO,
305         FEC_3_5,
306         FEC_9_10,
307         FEC_2_5,
308 } fe_code_rate_t;
309         </programlisting>
310         <para>which correspond to error correction rates of 1/2, 2/3, etc.,
311         no error correction or auto detection.</para>
312         </section>
313         <section id="DTV-VOLTAGE">
314         <title><constant>DTV_VOLTAGE</constant></title>
315         <para>The voltage is usually used with non-DiSEqC capable LNBs to switch
316         the polarzation (horizontal/vertical). When using DiSEqC epuipment this
317         voltage has to be switched consistently to the DiSEqC commands as
318         described in the DiSEqC spec.</para>
319         <programlisting>
320                 typedef enum fe_sec_voltage {
321                 SEC_VOLTAGE_13,
322                 SEC_VOLTAGE_18
323                 } fe_sec_voltage_t;
324         </programlisting>
325         </section>
326         <section id="DTV-TONE">
327         <title><constant>DTV_TONE</constant></title>
328         <para>Currently not used.</para>
329         </section>
330         <section id="DTV-PILOT">
331         <title><constant>DTV_PILOT</constant></title>
332         <para>Sets DVB-S2 pilot</para>
333         <section id="fe-pilot-t">
334                 <title>fe_pilot type</title>
335                 <programlisting>
336 typedef enum fe_pilot {
337         PILOT_ON,
338         PILOT_OFF,
339         PILOT_AUTO,
340 } fe_pilot_t;
341                 </programlisting>
342                 </section>
343         </section>
344         <section id="DTV-ROLLOFF">
345         <title><constant>DTV_ROLLOFF</constant></title>
346                 <para>Sets DVB-S2 rolloff</para>
347
348         <section id="fe-rolloff-t">
349                 <title>fe_rolloff type</title>
350                 <programlisting>
351 typedef enum fe_rolloff {
352         ROLLOFF_35, /* Implied value in DVB-S, default for DVB-S2 */
353         ROLLOFF_20,
354         ROLLOFF_25,
355         ROLLOFF_AUTO,
356 } fe_rolloff_t;
357                 </programlisting>
358                 </section>
359         </section>
360         <section id="DTV-DISEQC-SLAVE-REPLY">
361         <title><constant>DTV_DISEQC_SLAVE_REPLY</constant></title>
362         <para>Currently not implemented.</para>
363         </section>
364         <section id="DTV-FE-CAPABILITY-COUNT">
365         <title><constant>DTV_FE_CAPABILITY_COUNT</constant></title>
366         <para>Currently not implemented.</para>
367         </section>
368         <section id="DTV-FE-CAPABILITY">
369         <title><constant>DTV_FE_CAPABILITY</constant></title>
370         <para>Currently not implemented.</para>
371         </section>
372         <section id="DTV-DELIVERY-SYSTEM">
373                 <title><constant>DTV_DELIVERY_SYSTEM</constant></title>
374                 <para>Specifies the type of Delivery system</para>
375                 <section id="fe-delivery-system-t">
376                 <title>fe_delivery_system type</title>
377                 <para>Possible values: </para>
378 <programlisting>
379
380 typedef enum fe_delivery_system {
381         SYS_UNDEFINED,
382         SYS_DVBC_ANNEX_A,
383         SYS_DVBC_ANNEX_B,
384         SYS_DVBT,
385         SYS_DSS,
386         SYS_DVBS,
387         SYS_DVBS2,
388         SYS_DVBH,
389         SYS_ISDBT,
390         SYS_ISDBS,
391         SYS_ISDBC,
392         SYS_ATSC,
393         SYS_ATSCMH,
394         SYS_DTMB,
395         SYS_CMMB,
396         SYS_DAB,
397         SYS_DVBT2,
398         SYS_TURBO,
399         SYS_DVBC_ANNEX_C,
400 } fe_delivery_system_t;
401 </programlisting>
402                 </section>
403         </section>
404         <section id="DTV-ISDBT-PARTIAL-RECEPTION">
405                 <title><constant>DTV_ISDBT_PARTIAL_RECEPTION</constant></title>
406
407                 <para>If <constant>DTV_ISDBT_SOUND_BROADCASTING</constant> is '0' this bit-field represents whether
408                         the channel is in partial reception mode or not.</para>
409
410                 <para>If '1' <constant>DTV_ISDBT_LAYERA_*</constant> values are assigned to the center segment and
411                         <constant>DTV_ISDBT_LAYERA_SEGMENT_COUNT</constant> has to be '1'.</para>
412
413                 <para>If in addition <constant>DTV_ISDBT_SOUND_BROADCASTING</constant> is '1'
414                         <constant>DTV_ISDBT_PARTIAL_RECEPTION</constant> represents whether this ISDB-Tsb channel
415                         is consisting of one segment and layer or three segments and two layers.</para>
416
417                 <para>Possible values: 0, 1, -1 (AUTO)</para>
418         </section>
419         <section id="DTV-ISDBT-SOUND-BROADCASTING">
420                 <title><constant>DTV_ISDBT_SOUND_BROADCASTING</constant></title>
421
422                 <para>This field represents whether the other DTV_ISDBT_*-parameters are
423                         referring to an ISDB-T and an ISDB-Tsb channel. (See also
424                         <constant>DTV_ISDBT_PARTIAL_RECEPTION</constant>).</para>
425
426                 <para>Possible values: 0, 1, -1 (AUTO)</para>
427         </section>
428         <section id="DTV-ISDBT-SB-SUBCHANNEL-ID">
429                 <title><constant>DTV_ISDBT_SB_SUBCHANNEL_ID</constant></title>
430
431                 <para>This field only applies if <constant>DTV_ISDBT_SOUND_BROADCASTING</constant> is '1'.</para>
432
433                 <para>(Note of the author: This might not be the correct description of the
434                         <constant>SUBCHANNEL-ID</constant> in all details, but it is my understanding of the technical
435                         background needed to program a device)</para>
436
437                 <para>An ISDB-Tsb channel (1 or 3 segments) can be broadcasted alone or in a
438                         set of connected ISDB-Tsb channels. In this set of channels every
439                         channel can be received independently. The number of connected
440                         ISDB-Tsb segment can vary, e.g. depending on the frequency spectrum
441                         bandwidth available.</para>
442
443                 <para>Example: Assume 8 ISDB-Tsb connected segments are broadcasted. The
444                         broadcaster has several possibilities to put those channels in the
445                         air: Assuming a normal 13-segment ISDB-T spectrum he can align the 8
446                         segments from position 1-8 to 5-13 or anything in between.</para>
447
448                 <para>The underlying layer of segments are subchannels: each segment is
449                         consisting of several subchannels with a predefined IDs. A sub-channel
450                         is used to help the demodulator to synchronize on the channel.</para>
451
452                 <para>An ISDB-T channel is always centered over all sub-channels. As for
453                         the example above, in ISDB-Tsb it is no longer as simple as that.</para>
454
455                 <para><constant>The DTV_ISDBT_SB_SUBCHANNEL_ID</constant> parameter is used to give the
456                         sub-channel ID of the segment to be demodulated.</para>
457
458                 <para>Possible values: 0 .. 41, -1 (AUTO)</para>
459         </section>
460         <section id="DTV-ISDBT-SB-SEGMENT-IDX">
461                 <title><constant>DTV_ISDBT_SB_SEGMENT_IDX</constant></title>
462                 <para>This field only applies if <constant>DTV_ISDBT_SOUND_BROADCASTING</constant> is '1'.</para>
463                 <para><constant>DTV_ISDBT_SB_SEGMENT_IDX</constant> gives the index of the segment to be
464                         demodulated for an ISDB-Tsb channel where several of them are
465                         transmitted in the connected manner.</para>
466                 <para>Possible values: 0 .. <constant>DTV_ISDBT_SB_SEGMENT_COUNT</constant> - 1</para>
467                 <para>Note: This value cannot be determined by an automatic channel search.</para>
468         </section>
469         <section id="DTV-ISDBT-SB-SEGMENT-COUNT">
470                 <title><constant>DTV_ISDBT_SB_SEGMENT_COUNT</constant></title>
471                 <para>This field only applies if <constant>DTV_ISDBT_SOUND_BROADCASTING</constant> is '1'.</para>
472                 <para><constant>DTV_ISDBT_SB_SEGMENT_COUNT</constant> gives the total count of connected ISDB-Tsb
473                         channels.</para>
474                 <para>Possible values: 1 .. 13</para>
475                 <para>Note: This value cannot be determined by an automatic channel search.</para>
476         </section>
477         <section id="isdb-hierq-layers">
478                 <title><constant>DTV-ISDBT-LAYER*</constant> parameters</title>
479                 <para>ISDB-T channels can be coded hierarchically. As opposed to DVB-T in
480                         ISDB-T hierarchical layers can be decoded simultaneously. For that
481                         reason a ISDB-T demodulator has 3 Viterbi and 3 Reed-Solomon decoders.</para>
482                 <para>ISDB-T has 3 hierarchical layers which each can use a part of the
483                         available segments. The total number of segments over all layers has
484                         to 13 in ISDB-T.</para>
485                 <para>There are 3 parameter sets, for Layers A, B and C.</para>
486                 <section id="DTV-ISDBT-LAYER-ENABLED">
487                         <title><constant>DTV_ISDBT_LAYER_ENABLED</constant></title>
488                         <para>Hierarchical reception in ISDB-T is achieved by enabling or disabling
489                                 layers in the decoding process. Setting all bits of
490                                 <constant>DTV_ISDBT_LAYER_ENABLED</constant> to '1' forces all layers (if applicable) to be
491                                 demodulated. This is the default.</para>
492                         <para>If the channel is in the partial reception mode
493                                 (<constant>DTV_ISDBT_PARTIAL_RECEPTION</constant> = 1) the central segment can be decoded
494                                 independently of the other 12 segments. In that mode layer A has to
495                                 have a <constant>SEGMENT_COUNT</constant> of 1.</para>
496                         <para>In ISDB-Tsb only layer A is used, it can be 1 or 3 in ISDB-Tsb
497                                 according to <constant>DTV_ISDBT_PARTIAL_RECEPTION</constant>. <constant>SEGMENT_COUNT</constant> must be filled
498                                 accordingly.</para>
499                         <para>Possible values: 0x1, 0x2, 0x4 (|-able)</para>
500                         <para><constant>DTV_ISDBT_LAYER_ENABLED[0:0]</constant> - layer A</para>
501                         <para><constant>DTV_ISDBT_LAYER_ENABLED[1:1]</constant> - layer B</para>
502                         <para><constant>DTV_ISDBT_LAYER_ENABLED[2:2]</constant> - layer C</para>
503                         <para><constant>DTV_ISDBT_LAYER_ENABLED[31:3]</constant> unused</para>
504                 </section>
505                 <section id="DTV-ISDBT-LAYER-FEC">
506                         <title><constant>DTV_ISDBT_LAYER*_FEC</constant></title>
507                         <para>Possible values: <constant>FEC_AUTO</constant>, <constant>FEC_1_2</constant>, <constant>FEC_2_3</constant>, <constant>FEC_3_4</constant>, <constant>FEC_5_6</constant>, <constant>FEC_7_8</constant></para>
508                 </section>
509                 <section id="DTV-ISDBT-LAYER-MODULATION">
510                         <title><constant>DTV_ISDBT_LAYER*_MODULATION</constant></title>
511                         <para>Possible values: <constant>QAM_AUTO</constant>, QP<constant>SK, QAM_16</constant>, <constant>QAM_64</constant>, <constant>DQPSK</constant></para>
512                         <para>Note: If layer C is <constant>DQPSK</constant> layer B has to be <constant>DQPSK</constant>. If layer B is <constant>DQPSK</constant>
513                                 and <constant>DTV_ISDBT_PARTIAL_RECEPTION</constant>=0 layer has to be <constant>DQPSK</constant>.</para>
514                 </section>
515                 <section id="DTV-ISDBT-LAYER-SEGMENT-COUNT">
516                         <title><constant>DTV_ISDBT_LAYER*_SEGMENT_COUNT</constant></title>
517                         <para>Possible values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, -1 (AUTO)</para>
518                         <para>Note: Truth table for <constant>DTV_ISDBT_SOUND_BROADCASTING</constant> and
519                                 <constant>DTV_ISDBT_PARTIAL_RECEPTION</constant> and <constant>LAYER</constant>*_SEGMENT_COUNT</para>
520                         <informaltable id="isdbt-layer_seg-cnt-table">
521                                 <tgroup cols="6">
522                                         <tbody>
523                                                 <row>
524                                                         <entry>PR</entry>
525                                                         <entry>SB</entry>
526                                                         <entry>Layer A width</entry>
527                                                         <entry>Layer B width</entry>
528                                                         <entry>Layer C width</entry>
529                                                         <entry>total width</entry>
530                                                 </row>
531                                                 <row>
532                                                         <entry>0</entry>
533                                                         <entry>0</entry>
534                                                         <entry>1 .. 13</entry>
535                                                         <entry>1 .. 13</entry>
536                                                         <entry>1 .. 13</entry>
537                                                         <entry>13</entry>
538                                                 </row>
539                                                 <row>
540                                                         <entry>1</entry>
541                                                         <entry>0</entry>
542                                                         <entry>1</entry>
543                                                         <entry>1 .. 13</entry>
544                                                         <entry>1 .. 13</entry>
545                                                         <entry>13</entry>
546                                                 </row>
547                                                 <row>
548                                                         <entry>0</entry>
549                                                         <entry>1</entry>
550                                                         <entry>1</entry>
551                                                         <entry>0</entry>
552                                                         <entry>0</entry>
553                                                         <entry>1</entry>
554                                                 </row>
555                                                 <row>
556                                                         <entry>1</entry>
557                                                         <entry>1</entry>
558                                                         <entry>1</entry>
559                                                         <entry>2</entry>
560                                                         <entry>0</entry>
561                                                         <entry>13</entry>
562                                                 </row>
563                                         </tbody>
564                                 </tgroup>
565                         </informaltable>
566                 </section>
567                 <section id="DTV-ISDBT-LAYER-TIME-INTERLEAVING">
568                         <title><constant>DTV_ISDBT_LAYER*_TIME_INTERLEAVING</constant></title>
569                         <para>Valid values: 0, 1, 2, 4, -1 (AUTO)</para>
570                         <para>when DTV_ISDBT_SOUND_BROADCASTING is active, value 8 is also valid.</para>
571                         <para>Note: The real time interleaving length depends on the mode (fft-size). The values
572                                 here are referring to what can be found in the TMCC-structure, as shown in the table below.</para>
573                         <informaltable id="isdbt-layer-interleaving-table">
574                                 <tgroup cols="4" align="center">
575                                         <tbody>
576                                                 <row>
577                                                         <entry>DTV_ISDBT_LAYER*_TIME_INTERLEAVING</entry>
578                                                         <entry>Mode 1 (2K FFT)</entry>
579                                                         <entry>Mode 2 (4K FFT)</entry>
580                                                         <entry>Mode 3 (8K FFT)</entry>
581                                                 </row>
582                                                 <row>
583                                                         <entry>0</entry>
584                                                         <entry>0</entry>
585                                                         <entry>0</entry>
586                                                         <entry>0</entry>
587                                                 </row>
588                                                 <row>
589                                                         <entry>1</entry>
590                                                         <entry>4</entry>
591                                                         <entry>2</entry>
592                                                         <entry>1</entry>
593                                                 </row>
594                                                 <row>
595                                                         <entry>2</entry>
596                                                         <entry>8</entry>
597                                                         <entry>4</entry>
598                                                         <entry>2</entry>
599                                                 </row>
600                                                 <row>
601                                                         <entry>4</entry>
602                                                         <entry>16</entry>
603                                                         <entry>8</entry>
604                                                         <entry>4</entry>
605                                                 </row>
606                                         </tbody>
607                                 </tgroup>
608                         </informaltable>
609                 </section>
610                 <section id="DTV-ATSCMH-FIC-VER">
611                         <title><constant>DTV_ATSCMH_FIC_VER</constant></title>
612                         <para>Version number of the FIC (Fast Information Channel) signaling data.</para>
613                         <para>FIC is used for relaying information to allow rapid service acquisition by the receiver.</para>
614                         <para>Possible values: 0, 1, 2, 3, ..., 30, 31</para>
615                 </section>
616                 <section id="DTV-ATSCMH-PARADE-ID">
617                         <title><constant>DTV_ATSCMH_PARADE_ID</constant></title>
618                         <para>Parade identification number</para>
619                         <para>A parade is a collection of up to eight MH groups, conveying one or two ensembles.</para>
620                         <para>Possible values: 0, 1, 2, 3, ..., 126, 127</para>
621                 </section>
622                 <section id="DTV-ATSCMH-NOG">
623                         <title><constant>DTV_ATSCMH_NOG</constant></title>
624                         <para>Number of MH groups per MH subframe for a designated parade.</para>
625                         <para>Possible values: 1, 2, 3, 4, 5, 6, 7, 8</para>
626                 </section>
627                 <section id="DTV-ATSCMH-TNOG">
628                         <title><constant>DTV_ATSCMH_TNOG</constant></title>
629                         <para>Total number of MH groups including all MH groups belonging to all MH parades in one MH subframe.</para>
630                         <para>Possible values: 0, 1, 2, 3, ..., 30, 31</para>
631                 </section>
632                 <section id="DTV-ATSCMH-SGN">
633                         <title><constant>DTV_ATSCMH_SGN</constant></title>
634                         <para>Start group number.</para>
635                         <para>Possible values: 0, 1, 2, 3, ..., 14, 15</para>
636                 </section>
637                 <section id="DTV-ATSCMH-PRC">
638                         <title><constant>DTV_ATSCMH_PRC</constant></title>
639                         <para>Parade repetition cycle.</para>
640                         <para>Possible values: 1, 2, 3, 4, 5, 6, 7, 8</para>
641                 </section>
642                 <section id="DTV-ATSCMH-RS-FRAME-MODE">
643                         <title><constant>DTV_ATSCMH_RS_FRAME_MODE</constant></title>
644                         <para>RS frame mode.</para>
645                         <para>Possible values are:</para>
646                   <para id="atscmh-rs-frame-mode">
647 <programlisting>
648 typedef enum atscmh_rs_frame_mode {
649         ATSCMH_RSFRAME_PRI_ONLY  = 0,
650         ATSCMH_RSFRAME_PRI_SEC   = 1,
651 } atscmh_rs_frame_mode_t;
652 </programlisting>
653                   </para>
654                 </section>
655                 <section id="DTV-ATSCMH-RS-FRAME-ENSEMBLE">
656                         <title><constant>DTV_ATSCMH_RS_FRAME_ENSEMBLE</constant></title>
657                         <para>RS frame ensemble.</para>
658                         <para>Possible values are:</para>
659                   <para id="atscmh-rs-frame-ensemble">
660 <programlisting>
661 typedef enum atscmh_rs_frame_ensemble {
662         ATSCMH_RSFRAME_ENS_PRI   = 0,
663         ATSCMH_RSFRAME_ENS_SEC   = 1,
664 } atscmh_rs_frame_ensemble_t;
665 </programlisting>
666                   </para>
667                 </section>
668                 <section id="DTV-ATSCMH-RS-CODE-MODE-PRI">
669                         <title><constant>DTV_ATSCMH_RS_CODE_MODE_PRI</constant></title>
670                         <para>RS code mode (primary).</para>
671                         <para>Possible values are:</para>
672                   <para id="atscmh-rs-code-mode">
673 <programlisting>
674 typedef enum atscmh_rs_code_mode {
675         ATSCMH_RSCODE_211_187    = 0,
676         ATSCMH_RSCODE_223_187    = 1,
677         ATSCMH_RSCODE_235_187    = 2,
678 } atscmh_rs_code_mode_t;
679 </programlisting>
680                   </para>
681                 </section>
682                 <section id="DTV-ATSCMH-RS-CODE-MODE-SEC">
683                         <title><constant>DTV_ATSCMH_RS_CODE_MODE_SEC</constant></title>
684                         <para>RS code mode (secondary).</para>
685                         <para>Possible values are:</para>
686 <programlisting>
687 typedef enum atscmh_rs_code_mode {
688         ATSCMH_RSCODE_211_187    = 0,
689         ATSCMH_RSCODE_223_187    = 1,
690         ATSCMH_RSCODE_235_187    = 2,
691 } atscmh_rs_code_mode_t;
692 </programlisting>
693                 </section>
694                 <section id="DTV-ATSCMH-SCCC-BLOCK-MODE">
695                         <title><constant>DTV_ATSCMH_SCCC_BLOCK_MODE</constant></title>
696                         <para>Series Concatenated Convolutional Code Block Mode.</para>
697                         <para>Possible values are:</para>
698                   <para id="atscmh-sccc-block-mode">
699 <programlisting>
700 typedef enum atscmh_sccc_block_mode {
701         ATSCMH_SCCC_BLK_SEP      = 0,
702         ATSCMH_SCCC_BLK_COMB     = 1,
703 } atscmh_sccc_block_mode_t;
704 </programlisting>
705                   </para>
706                 </section>
707                 <section id="DTV-ATSCMH-SCCC-CODE-MODE-A">
708                         <title><constant>DTV_ATSCMH_SCCC_CODE_MODE_A</constant></title>
709                         <para>Series Concatenated Convolutional Code Rate.</para>
710                         <para>Possible values are:</para>
711                   <para id="atscmh-sccc-code-mode">
712 <programlisting>
713 typedef enum atscmh_sccc_code_mode {
714         ATSCMH_SCCC_CODE_HLF     = 0,
715         ATSCMH_SCCC_CODE_QTR     = 1,
716 } atscmh_sccc_code_mode_t;
717 </programlisting>
718                   </para>
719                 </section>
720                 <section id="DTV-ATSCMH-SCCC-CODE-MODE-B">
721                         <title><constant>DTV_ATSCMH_SCCC_CODE_MODE_B</constant></title>
722                         <para>Series Concatenated Convolutional Code Rate.</para>
723                         <para>Possible values are:</para>
724 <programlisting>
725 typedef enum atscmh_sccc_code_mode {
726         ATSCMH_SCCC_CODE_HLF     = 0,
727         ATSCMH_SCCC_CODE_QTR     = 1,
728 } atscmh_sccc_code_mode_t;
729 </programlisting>
730                 </section>
731                 <section id="DTV-ATSCMH-SCCC-CODE-MODE-C">
732                         <title><constant>DTV_ATSCMH_SCCC_CODE_MODE_C</constant></title>
733                         <para>Series Concatenated Convolutional Code Rate.</para>
734                         <para>Possible values are:</para>
735 <programlisting>
736 typedef enum atscmh_sccc_code_mode {
737         ATSCMH_SCCC_CODE_HLF     = 0,
738         ATSCMH_SCCC_CODE_QTR     = 1,
739 } atscmh_sccc_code_mode_t;
740 </programlisting>
741                 </section>
742                 <section id="DTV-ATSCMH-SCCC-CODE-MODE-D">
743                         <title><constant>DTV_ATSCMH_SCCC_CODE_MODE_D</constant></title>
744                         <para>Series Concatenated Convolutional Code Rate.</para>
745                         <para>Possible values are:</para>
746 <programlisting>
747 typedef enum atscmh_sccc_code_mode {
748         ATSCMH_SCCC_CODE_HLF     = 0,
749         ATSCMH_SCCC_CODE_QTR     = 1,
750 } atscmh_sccc_code_mode_t;
751 </programlisting>
752                 </section>
753         </section>
754         <section id="DTV-API-VERSION">
755         <title><constant>DTV_API_VERSION</constant></title>
756         <para>Returns the major/minor version of the DVB API</para>
757         </section>
758         <section id="DTV-CODE-RATE-HP">
759         <title><constant>DTV_CODE_RATE_HP</constant></title>
760         <para>Used on terrestrial transmissions. The acceptable values are:
761         </para>
762         <programlisting>
763 typedef enum fe_code_rate {
764         FEC_NONE = 0,
765         FEC_1_2,
766         FEC_2_3,
767         FEC_3_4,
768         FEC_4_5,
769         FEC_5_6,
770         FEC_6_7,
771         FEC_7_8,
772         FEC_8_9,
773         FEC_AUTO,
774         FEC_3_5,
775         FEC_9_10,
776 } fe_code_rate_t;
777         </programlisting>
778         </section>
779         <section id="DTV-CODE-RATE-LP">
780         <title><constant>DTV_CODE_RATE_LP</constant></title>
781         <para>Used on terrestrial transmissions. The acceptable values are:
782         </para>
783         <programlisting>
784 typedef enum fe_code_rate {
785         FEC_NONE = 0,
786         FEC_1_2,
787         FEC_2_3,
788         FEC_3_4,
789         FEC_4_5,
790         FEC_5_6,
791         FEC_6_7,
792         FEC_7_8,
793         FEC_8_9,
794         FEC_AUTO,
795         FEC_3_5,
796         FEC_9_10,
797 } fe_code_rate_t;
798         </programlisting>
799         </section>
800         <section id="DTV-GUARD-INTERVAL">
801                 <title><constant>DTV_GUARD_INTERVAL</constant></title>
802
803                 <para>Possible values are:</para>
804 <programlisting>
805 typedef enum fe_guard_interval {
806         GUARD_INTERVAL_1_32,
807         GUARD_INTERVAL_1_16,
808         GUARD_INTERVAL_1_8,
809         GUARD_INTERVAL_1_4,
810         GUARD_INTERVAL_AUTO,
811         GUARD_INTERVAL_1_128,
812         GUARD_INTERVAL_19_128,
813         GUARD_INTERVAL_19_256,
814         GUARD_INTERVAL_PN420,
815         GUARD_INTERVAL_PN595,
816         GUARD_INTERVAL_PN945,
817 } fe_guard_interval_t;
818 </programlisting>
819
820                 <para>Notes:</para>
821                 <para>1) If <constant>DTV_GUARD_INTERVAL</constant> is set the <constant>GUARD_INTERVAL_AUTO</constant> the hardware will
822                         try to find the correct guard interval (if capable) and will use TMCC to fill
823                         in the missing parameters.</para>
824                 <para>2) Intervals 1/128, 19/128 and 19/256 are used only for DVB-T2 at present</para>
825                 <para>3) DTMB specifies PN420, PN595 and PN945.</para>
826         </section>
827         <section id="DTV-TRANSMISSION-MODE">
828                 <title><constant>DTV_TRANSMISSION_MODE</constant></title>
829
830                 <para>Specifies the number of carriers used by the standard.
831                     This is used only on OFTM-based standards, e. g.
832                     DVB-T/T2, ISDB-T, DTMB</para>
833
834 <section id="fe-transmit-mode-t">
835 <title>enum fe_transmit_mode: Number of carriers per channel</title>
836
837 <table pgwide="1" frame="none" id="fe-transmit-mode">
838     <title>enum fe_transmit_mode</title>
839     <tgroup cols="2">
840         &cs-def;
841         <thead>
842         <row>
843             <entry>ID</entry>
844             <entry>Description</entry>
845         </row>
846         </thead>
847         <tbody valign="top">
848         <row>
849             <entry>TRANSMISSION_MODE_AUTO</entry>
850             <entry>Autodetect transmission mode. The hardware will try to find
851                 the correct FFT-size (if capable) to fill in the missing
852                 parameters.</entry>
853         </row><row>
854             <entry>TRANSMISSION_MODE_1K</entry>
855             <entry>Transmission mode 1K</entry>
856         </row><row>
857             <entry>TRANSMISSION_MODE_2K</entry>
858             <entry>Transmission mode 2K</entry>
859         </row><row>
860             <entry>TRANSMISSION_MODE_8K</entry>
861             <entry>Transmission mode 8K</entry>
862         </row><row>
863             <entry>TRANSMISSION_MODE_4K</entry>
864             <entry>Transmission mode 4K</entry>
865         </row><row>
866             <entry>TRANSMISSION_MODE_16K</entry>
867             <entry>Transmission mode 16K</entry>
868         </row><row>
869             <entry>TRANSMISSION_MODE_32K</entry>
870             <entry>Transmission mode 32K</entry>
871         </row><row>
872             <entry>TRANSMISSION_MODE_C1</entry>
873             <entry>Single Carrier (C=1) transmission mode (DTMB)</entry>
874         </row><row>
875             <entry>TRANSMISSION_MODE_C3780</entry>
876             <entry>Multi Carrier (C=3780) transmission mode (DTMB)</entry>
877         </row><row>
878         </row>
879         </tbody>
880     </tgroup>
881 </table>
882 </section>
883
884
885                 <para>Notes:</para>
886                 <para>1) ISDB-T supports three carrier/symbol-size: 8K, 4K, 2K. It is called
887                         'mode' in the standard: Mode 1 is 2K, mode 2 is 4K, mode 3 is 8K</para>
888
889                 <para>2) If <constant>DTV_TRANSMISSION_MODE</constant> is set the <constant>TRANSMISSION_MODE_AUTO</constant> the
890                         hardware will try to find the correct FFT-size (if capable) and will
891                         use TMCC to fill in the missing parameters.</para>
892                 <para>3) DVB-T specifies 2K and 8K as valid sizes.</para>
893                 <para>4) DVB-T2 specifies 1K, 2K, 4K, 8K, 16K and 32K.</para>
894                 <para>5) DTMB specifies C1 and C3780.</para>
895         </section>
896         <section id="DTV-HIERARCHY">
897         <title><constant>DTV_HIERARCHY</constant></title>
898         <para>Frontend hierarchy</para>
899         <programlisting>
900 typedef enum fe_hierarchy {
901          HIERARCHY_NONE,
902          HIERARCHY_1,
903          HIERARCHY_2,
904          HIERARCHY_4,
905          HIERARCHY_AUTO
906  } fe_hierarchy_t;
907         </programlisting>
908         </section>
909         <section id="DTV-STREAM-ID">
910         <title><constant>DTV_STREAM_ID</constant></title>
911         <para>DVB-S2, DVB-T2 and ISDB-S support the transmission of several
912               streams on a single transport stream.
913               This property enables the DVB driver to handle substream filtering,
914               when supported by the hardware.
915               By default, substream filtering is disabled.
916         </para><para>
917               For DVB-S2 and DVB-T2, the valid substream id range is from 0 to 255.
918         </para><para>
919               For ISDB, the valid substream id range is from 1 to 65535.
920         </para><para>
921               To disable it, you should use the special macro NO_STREAM_ID_FILTER.
922         </para><para>
923               Note: any value outside the id range also disables filtering.
924         </para>
925         </section>
926         <section id="DTV-DVBT2-PLP-ID-LEGACY">
927                 <title><constant>DTV_DVBT2_PLP_ID_LEGACY</constant></title>
928                 <para>Obsolete, replaced with DTV_STREAM_ID.</para>
929         </section>
930         <section id="DTV-ENUM-DELSYS">
931                 <title><constant>DTV_ENUM_DELSYS</constant></title>
932                 <para>A Multi standard frontend needs to advertise the delivery systems provided.
933                         Applications need to enumerate the provided delivery systems, before using
934                         any other operation with the frontend. Prior to it's introduction,
935                         FE_GET_INFO was used to determine a frontend type. A frontend which
936                         provides more than a single delivery system, FE_GET_INFO doesn't help much.
937                         Applications which intends to use a multistandard frontend must enumerate
938                         the delivery systems associated with it, rather than trying to use
939                         FE_GET_INFO. In the case of a legacy frontend, the result is just the same
940                         as with FE_GET_INFO, but in a more structured format </para>
941         </section>
942         <section id="DTV-INTERLEAVING">
943         <title><constant>DTV_INTERLEAVING</constant></title>
944         <para id="fe-interleaving">Interleaving mode</para>
945         <programlisting>
946 enum fe_interleaving {
947         INTERLEAVING_NONE,
948         INTERLEAVING_AUTO,
949         INTERLEAVING_240,
950         INTERLEAVING_720,
951 };
952         </programlisting>
953         </section>
954         <section id="DTV-LNA">
955         <title><constant>DTV_LNA</constant></title>
956         <para>Low-noise amplifier.</para>
957         <para>Hardware might offer controllable LNA which can be set manually
958                 using that parameter. Usually LNA could be found only from
959                 terrestrial devices if at all.</para>
960         <para>Possible values: 0, 1, LNA_AUTO</para>
961         <para>0, LNA off</para>
962         <para>1, LNA on</para>
963         <para>use the special macro LNA_AUTO to set LNA auto</para>
964         </section>
965 </section>
966
967         <section id="frontend-stat-properties">
968         <title>Frontend statistics indicators</title>
969         <para>The values are returned via <constant>dtv_property.stat</constant>.
970               If the property is supported, <constant>dtv_property.stat.len</constant> is bigger than zero.</para>
971         <para>For most delivery systems, <constant>dtv_property.stat.len</constant>
972               will be 1 if the stats is supported, and the properties will
973               return a single value for each parameter.</para>
974         <para>It should be noticed, however, that new OFDM delivery systems
975               like ISDB can use different modulation types for each group of
976               carriers. On such standards, up to 3 groups of statistics can be
977               provided, and <constant>dtv_property.stat.len</constant> is updated
978               to reflect the "global" metrics, plus one metric per each carrier
979               group (called "layer" on ISDB).</para>
980         <para>So, in order to be consistent with other delivery systems, the first
981               value at <link linkend="dtv-stats"><constant>dtv_property.stat.dtv_stats</constant></link>
982               array refers to the global metric. The other elements of the array
983               represent each layer, starting from layer A(index 1),
984               layer B (index 2) and so on.</para>
985         <para>The number of filled elements are stored at <constant>dtv_property.stat.len</constant>.</para>
986         <para>Each element of the <constant>dtv_property.stat.dtv_stats</constant> array consists on two elements:</para>
987         <itemizedlist mark='opencircle'>
988                 <listitem><para><constant>svalue</constant> or <constant>uvalue</constant>, where
989                         <constant>svalue</constant> is for signed values of the measure (dB measures)
990                         and <constant>uvalue</constant> is for unsigned values (counters, relative scale)</para></listitem>
991                 <listitem><para><constant>scale</constant> - Scale for the value. It can be:</para>
992                         <itemizedlist mark='bullet' id="fecap-scale-params">
993                                 <listitem><para><constant>FE_SCALE_NOT_AVAILABLE</constant> - The parameter is supported by the frontend, but it was not possible to collect it (could be a transitory or permanent condition)</para></listitem>
994                                 <listitem><para><constant>FE_SCALE_DECIBEL</constant> - parameter is a signed value, measured in 1/1000 dB</para></listitem>
995                                 <listitem><para><constant>FE_SCALE_RELATIVE</constant> - parameter is a unsigned value, where 0 means 0% and 65535 means 100%.</para></listitem>
996                                 <listitem><para><constant>FE_SCALE_COUNTER</constant> - parameter is a unsigned value that counts the occurrence of an event, like bit error, block error, or lapsed time.</para></listitem>
997                         </itemizedlist>
998                 </listitem>
999         </itemizedlist>
1000         <section id="DTV-STAT-SIGNAL-STRENGTH">
1001                 <title><constant>DTV_STAT_SIGNAL_STRENGTH</constant></title>
1002                 <para>Indicates the signal strength level at the analog part of the tuner or of the demod.</para>
1003                 <para>Possible scales for this metric are:</para>
1004                 <itemizedlist mark='bullet'>
1005                         <listitem><para><constant>FE_SCALE_NOT_AVAILABLE</constant> - it failed to measure it, or the measurement was not complete yet.</para></listitem>
1006                         <listitem><para><constant>FE_SCALE_DECIBEL</constant> - signal strength is in 0.001 dBm units, power measured in miliwatts. This value is generally negative.</para></listitem>
1007                         <listitem><para><constant>FE_SCALE_RELATIVE</constant> - The frontend provides a 0% to 100% measurement for power (actually, 0 to 65535).</para></listitem>
1008                 </itemizedlist>
1009         </section>
1010         <section id="DTV-STAT-CNR">
1011                 <title><constant>DTV_STAT_CNR</constant></title>
1012                 <para>Indicates the Signal to Noise ratio for the main carrier.</para>
1013                 <para>Possible scales for this metric are:</para>
1014                 <itemizedlist mark='bullet'>
1015                         <listitem><para><constant>FE_SCALE_NOT_AVAILABLE</constant> - it failed to measure it, or the measurement was not complete yet.</para></listitem>
1016                         <listitem><para><constant>FE_SCALE_DECIBEL</constant> - Signal/Noise ratio is in 0.001 dB units.</para></listitem>
1017                         <listitem><para><constant>FE_SCALE_RELATIVE</constant> - The frontend provides a 0% to 100% measurement for Signal/Noise (actually, 0 to 65535).</para></listitem>
1018                 </itemizedlist>
1019         </section>
1020         <section id="DTV-STAT-PRE-ERROR-BIT-COUNT">
1021                 <title><constant>DTV_STAT_PRE_ERROR_BIT_COUNT</constant></title>
1022                 <para>Measures the number of bit errors before the forward error correction (FEC) on the inner coding block (before Viterbi, LDPC or other inner code).</para>
1023                 <para>This measure is taken during the same interval as <constant>DTV_STAT_PRE_TOTAL_BIT_COUNT</constant>.</para>
1024                 <para>In order to get the BER (Bit Error Rate) measurement, it should be divided by
1025                 <link linkend="DTV-STAT-PRE-TOTAL-BIT-COUNT"><constant>DTV_STAT_PRE_TOTAL_BIT_COUNT</constant></link>.</para>
1026                 <para>This measurement is monotonically increased, as the frontend gets more bit count measurements.
1027                       The frontend may reset it when a channel/transponder is tuned.</para>
1028                 <para>Possible scales for this metric are:</para>
1029                 <itemizedlist mark='bullet'>
1030                         <listitem><para><constant>FE_SCALE_NOT_AVAILABLE</constant> - it failed to measure it, or the measurement was not complete yet.</para></listitem>
1031                         <listitem><para><constant>FE_SCALE_COUNTER</constant> - Number of error bits counted before the inner coding.</para></listitem>
1032                 </itemizedlist>
1033         </section>
1034         <section id="DTV-STAT-PRE-TOTAL-BIT-COUNT">
1035                 <title><constant>DTV_STAT_PRE_TOTAL_BIT_COUNT</constant></title>
1036                 <para>Measures the amount of bits received before the inner code block, during the same period as
1037                 <link linkend="DTV-STAT-PRE-ERROR-BIT-COUNT"><constant>DTV_STAT_PRE_ERROR_BIT_COUNT</constant></link> measurement was taken.</para>
1038                 <para>It should be noticed that this measurement can be smaller than the total amount of bits on the transport stream,
1039                       as the frontend may need to manually restart the measurement, losing some data between each measurement interval.</para>
1040                 <para>This measurement is monotonically increased, as the frontend gets more bit count measurements.
1041                       The frontend may reset it when a channel/transponder is tuned.</para>
1042                 <para>Possible scales for this metric are:</para>
1043                 <itemizedlist mark='bullet'>
1044                         <listitem><para><constant>FE_SCALE_NOT_AVAILABLE</constant> - it failed to measure it, or the measurement was not complete yet.</para></listitem>
1045                         <listitem><para><constant>FE_SCALE_COUNTER</constant> - Number of bits counted while measuring
1046                                  <link linkend="DTV-STAT-PRE-ERROR-BIT-COUNT"><constant>DTV_STAT_PRE_ERROR_BIT_COUNT</constant></link>.</para></listitem>
1047                 </itemizedlist>
1048         </section>
1049         <section id="DTV-STAT-POST-ERROR-BIT-COUNT">
1050                 <title><constant>DTV_STAT_POST_ERROR_BIT_COUNT</constant></title>
1051                 <para>Measures the number of bit errors after the forward error correction (FEC) done by inner code block (after Viterbi, LDPC or other inner code).</para>
1052                 <para>This measure is taken during the same interval as <constant>DTV_STAT_POST_TOTAL_BIT_COUNT</constant>.</para>
1053                 <para>In order to get the BER (Bit Error Rate) measurement, it should be divided by
1054                 <link linkend="DTV-STAT-POST-TOTAL-BIT-COUNT"><constant>DTV_STAT_POST_TOTAL_BIT_COUNT</constant></link>.</para>
1055                 <para>This measurement is monotonically increased, as the frontend gets more bit count measurements.
1056                       The frontend may reset it when a channel/transponder is tuned.</para>
1057                 <para>Possible scales for this metric are:</para>
1058                 <itemizedlist mark='bullet'>
1059                         <listitem><para><constant>FE_SCALE_NOT_AVAILABLE</constant> - it failed to measure it, or the measurement was not complete yet.</para></listitem>
1060                         <listitem><para><constant>FE_SCALE_COUNTER</constant> - Number of error bits counted after the inner coding.</para></listitem>
1061                 </itemizedlist>
1062         </section>
1063         <section id="DTV-STAT-POST-TOTAL-BIT-COUNT">
1064                 <title><constant>DTV_STAT_POST_TOTAL_BIT_COUNT</constant></title>
1065                 <para>Measures the amount of bits received after the inner coding, during the same period as
1066                 <link linkend="DTV-STAT-POST-ERROR-BIT-COUNT"><constant>DTV_STAT_POST_ERROR_BIT_COUNT</constant></link> measurement was taken.</para>
1067                 <para>It should be noticed that this measurement can be smaller than the total amount of bits on the transport stream,
1068                       as the frontend may need to manually restart the measurement, losing some data between each measurement interval.</para>
1069                 <para>This measurement is monotonically increased, as the frontend gets more bit count measurements.
1070                       The frontend may reset it when a channel/transponder is tuned.</para>
1071                 <para>Possible scales for this metric are:</para>
1072                 <itemizedlist mark='bullet'>
1073                         <listitem><para><constant>FE_SCALE_NOT_AVAILABLE</constant> - it failed to measure it, or the measurement was not complete yet.</para></listitem>
1074                         <listitem><para><constant>FE_SCALE_COUNTER</constant> - Number of bits counted while measuring
1075                                  <link linkend="DTV-STAT-POST-ERROR-BIT-COUNT"><constant>DTV_STAT_POST_ERROR_BIT_COUNT</constant></link>.</para></listitem>
1076                 </itemizedlist>
1077         </section>
1078         <section id="DTV-STAT-ERROR-BLOCK-COUNT">
1079                 <title><constant>DTV_STAT_ERROR_BLOCK_COUNT</constant></title>
1080                 <para>Measures the number of block errors after the outer forward error correction coding (after Reed-Solomon or other outer code).</para>
1081                 <para>This measurement is monotonically increased, as the frontend gets more bit count measurements.
1082                       The frontend may reset it when a channel/transponder is tuned.</para>
1083                 <para>Possible scales for this metric are:</para>
1084                 <itemizedlist mark='bullet'>
1085                         <listitem><para><constant>FE_SCALE_NOT_AVAILABLE</constant> - it failed to measure it, or the measurement was not complete yet.</para></listitem>
1086                         <listitem><para><constant>FE_SCALE_COUNTER</constant> - Number of error blocks counted after the outer coding.</para></listitem>
1087                 </itemizedlist>
1088         </section>
1089         <section id="DTV-STAT-TOTAL-BLOCK-COUNT">
1090                 <title><constant>DTV-STAT_TOTAL_BLOCK_COUNT</constant></title>
1091                 <para>Measures the total number of blocks received during the same period as
1092                 <link linkend="DTV-STAT-ERROR-BLOCK-COUNT"><constant>DTV_STAT_ERROR_BLOCK_COUNT</constant></link> measurement was taken.</para>
1093                 <para>It can be used to calculate the PER indicator, by dividing
1094                 <link linkend="DTV-STAT-ERROR-BLOCK-COUNT"><constant>DTV_STAT_ERROR_BLOCK_COUNT</constant></link>
1095                 by <link linkend="DTV-STAT-TOTAL-BLOCK-COUNT"><constant>DTV-STAT-TOTAL-BLOCK-COUNT</constant></link>.</para>
1096                 <para>Possible scales for this metric are:</para>
1097                 <itemizedlist mark='bullet'>
1098                         <listitem><para><constant>FE_SCALE_NOT_AVAILABLE</constant> - it failed to measure it, or the measurement was not complete yet.</para></listitem>
1099                         <listitem><para><constant>FE_SCALE_COUNTER</constant> - Number of blocks counted while measuring
1100                         <link linkend="DTV-STAT-ERROR-BLOCK-COUNT"><constant>DTV_STAT_ERROR_BLOCK_COUNT</constant></link>.</para></listitem>
1101                 </itemizedlist>
1102         </section>
1103         </section>
1104
1105         <section id="frontend-property-terrestrial-systems">
1106         <title>Properties used on terrestrial delivery systems</title>
1107                 <section id="dvbt-params">
1108                         <title>DVB-T delivery system</title>
1109                         <para>The following parameters are valid for DVB-T:</para>
1110                         <itemizedlist mark='opencircle'>
1111                                 <listitem><para><link linkend="DTV-API-VERSION"><constant>DTV_API_VERSION</constant></link></para></listitem>
1112                                 <listitem><para><link linkend="DTV-DELIVERY-SYSTEM"><constant>DTV_DELIVERY_SYSTEM</constant></link></para></listitem>
1113                                 <listitem><para><link linkend="DTV-TUNE"><constant>DTV_TUNE</constant></link></para></listitem>
1114                                 <listitem><para><link linkend="DTV-CLEAR"><constant>DTV_CLEAR</constant></link></para></listitem>
1115                                 <listitem><para><link linkend="DTV-FREQUENCY"><constant>DTV_FREQUENCY</constant></link></para></listitem>
1116                                 <listitem><para><link linkend="DTV-MODULATION"><constant>DTV_MODULATION</constant></link></para></listitem>
1117                                 <listitem><para><link linkend="DTV-BANDWIDTH-HZ"><constant>DTV_BANDWIDTH_HZ</constant></link></para></listitem>
1118                                 <listitem><para><link linkend="DTV-INVERSION"><constant>DTV_INVERSION</constant></link></para></listitem>
1119                                 <listitem><para><link linkend="DTV-CODE-RATE-HP"><constant>DTV_CODE_RATE_HP</constant></link></para></listitem>
1120                                 <listitem><para><link linkend="DTV-CODE-RATE-LP"><constant>DTV_CODE_RATE_LP</constant></link></para></listitem>
1121                                 <listitem><para><link linkend="DTV-GUARD-INTERVAL"><constant>DTV_GUARD_INTERVAL</constant></link></para></listitem>
1122                                 <listitem><para><link linkend="DTV-TRANSMISSION-MODE"><constant>DTV_TRANSMISSION_MODE</constant></link></para></listitem>
1123                                 <listitem><para><link linkend="DTV-HIERARCHY"><constant>DTV_HIERARCHY</constant></link></para></listitem>
1124                                 <listitem><para><link linkend="DTV-LNA"><constant>DTV_LNA</constant></link></para></listitem>
1125                         </itemizedlist>
1126                         <para>In addition, the <link linkend="frontend-stat-properties">DTV QoS statistics</link> are also valid.</para>
1127                 </section>
1128                 <section id="dvbt2-params">
1129                         <title>DVB-T2 delivery system</title>
1130                         <para>DVB-T2 support is currently in the early stages
1131                         of development, so expect that this section maygrow and become
1132                         more detailed with time.</para>
1133                 <para>The following parameters are valid for DVB-T2:</para>
1134                 <itemizedlist mark='opencircle'>
1135                         <listitem><para><link linkend="DTV-API-VERSION"><constant>DTV_API_VERSION</constant></link></para></listitem>
1136                         <listitem><para><link linkend="DTV-DELIVERY-SYSTEM"><constant>DTV_DELIVERY_SYSTEM</constant></link></para></listitem>
1137                         <listitem><para><link linkend="DTV-TUNE"><constant>DTV_TUNE</constant></link></para></listitem>
1138                         <listitem><para><link linkend="DTV-CLEAR"><constant>DTV_CLEAR</constant></link></para></listitem>
1139                         <listitem><para><link linkend="DTV-FREQUENCY"><constant>DTV_FREQUENCY</constant></link></para></listitem>
1140                         <listitem><para><link linkend="DTV-MODULATION"><constant>DTV_MODULATION</constant></link></para></listitem>
1141                         <listitem><para><link linkend="DTV-BANDWIDTH-HZ"><constant>DTV_BANDWIDTH_HZ</constant></link></para></listitem>
1142                         <listitem><para><link linkend="DTV-INVERSION"><constant>DTV_INVERSION</constant></link></para></listitem>
1143                         <listitem><para><link linkend="DTV-CODE-RATE-HP"><constant>DTV_CODE_RATE_HP</constant></link></para></listitem>
1144                         <listitem><para><link linkend="DTV-CODE-RATE-LP"><constant>DTV_CODE_RATE_LP</constant></link></para></listitem>
1145                         <listitem><para><link linkend="DTV-GUARD-INTERVAL"><constant>DTV_GUARD_INTERVAL</constant></link></para></listitem>
1146                         <listitem><para><link linkend="DTV-TRANSMISSION-MODE"><constant>DTV_TRANSMISSION_MODE</constant></link></para></listitem>
1147                         <listitem><para><link linkend="DTV-HIERARCHY"><constant>DTV_HIERARCHY</constant></link></para></listitem>
1148                         <listitem><para><link linkend="DTV-STREAM-ID"><constant>DTV_STREAM_ID</constant></link></para></listitem>
1149                         <listitem><para><link linkend="DTV-LNA"><constant>DTV_LNA</constant></link></para></listitem>
1150                 </itemizedlist>
1151                 <para>In addition, the <link linkend="frontend-stat-properties">DTV QoS statistics</link> are also valid.</para>
1152                 </section>
1153                 <section id="isdbt">
1154                 <title>ISDB-T delivery system</title>
1155                 <para>This ISDB-T/ISDB-Tsb API extension should reflect all information
1156                         needed to tune any ISDB-T/ISDB-Tsb hardware. Of course it is possible
1157                         that some very sophisticated devices won't need certain parameters to
1158                         tune.</para>
1159                 <para>The information given here should help application writers to know how
1160                         to handle ISDB-T and ISDB-Tsb hardware using the Linux DVB-API.</para>
1161                 <para>The details given here about ISDB-T and ISDB-Tsb are just enough to
1162                         basically show the dependencies between the needed parameter values,
1163                         but surely some information is left out. For more detailed information
1164                         see the following documents:</para>
1165                 <para>ARIB STD-B31 - "Transmission System for Digital Terrestrial
1166                         Television Broadcasting" and</para>
1167                 <para>ARIB TR-B14 - "Operational Guidelines for Digital Terrestrial
1168                         Television Broadcasting".</para>
1169                 <para>In order to understand the ISDB specific parameters,
1170                         one has to have some knowledge the channel structure in
1171                         ISDB-T and ISDB-Tsb. I.e. it has to be known to
1172                         the reader that an ISDB-T channel consists of 13 segments,
1173                         that it can have up to 3 layer sharing those segments,
1174                         and things like that.</para>
1175                 <para>The following parameters are valid for ISDB-T:</para>
1176                 <itemizedlist mark='opencircle'>
1177                         <listitem><para><link linkend="DTV-API-VERSION"><constant>DTV_API_VERSION</constant></link></para></listitem>
1178                         <listitem><para><link linkend="DTV-DELIVERY-SYSTEM"><constant>DTV_DELIVERY_SYSTEM</constant></link></para></listitem>
1179                         <listitem><para><link linkend="DTV-TUNE"><constant>DTV_TUNE</constant></link></para></listitem>
1180                         <listitem><para><link linkend="DTV-CLEAR"><constant>DTV_CLEAR</constant></link></para></listitem>
1181                         <listitem><para><link linkend="DTV-FREQUENCY"><constant>DTV_FREQUENCY</constant></link></para></listitem>
1182                         <listitem><para><link linkend="DTV-BANDWIDTH-HZ"><constant>DTV_BANDWIDTH_HZ</constant></link></para></listitem>
1183                         <listitem><para><link linkend="DTV-INVERSION"><constant>DTV_INVERSION</constant></link></para></listitem>
1184                         <listitem><para><link linkend="DTV-GUARD-INTERVAL"><constant>DTV_GUARD_INTERVAL</constant></link></para></listitem>
1185                         <listitem><para><link linkend="DTV-TRANSMISSION-MODE"><constant>DTV_TRANSMISSION_MODE</constant></link></para></listitem>
1186                         <listitem><para><link linkend="DTV-ISDBT-LAYER-ENABLED"><constant>DTV_ISDBT_LAYER_ENABLED</constant></link></para></listitem>
1187                         <listitem><para><link linkend="DTV-ISDBT-PARTIAL-RECEPTION"><constant>DTV_ISDBT_PARTIAL_RECEPTION</constant></link></para></listitem>
1188                         <listitem><para><link linkend="DTV-ISDBT-SOUND-BROADCASTING"><constant>DTV_ISDBT_SOUND_BROADCASTING</constant></link></para></listitem>
1189                         <listitem><para><link linkend="DTV-ISDBT-SB-SUBCHANNEL-ID"><constant>DTV_ISDBT_SB_SUBCHANNEL_ID</constant></link></para></listitem>
1190                         <listitem><para><link linkend="DTV-ISDBT-SB-SEGMENT-IDX"><constant>DTV_ISDBT_SB_SEGMENT_IDX</constant></link></para></listitem>
1191                         <listitem><para><link linkend="DTV-ISDBT-SB-SEGMENT-COUNT"><constant>DTV_ISDBT_SB_SEGMENT_COUNT</constant></link></para></listitem>
1192                         <listitem><para><link linkend="DTV-ISDBT-LAYER-FEC"><constant>DTV_ISDBT_LAYERA_FEC</constant></link></para></listitem>
1193                         <listitem><para><link linkend="DTV-ISDBT-LAYER-MODULATION"><constant>DTV_ISDBT_LAYERA_MODULATION</constant></link></para></listitem>
1194                         <listitem><para><link linkend="DTV-ISDBT-LAYER-SEGMENT-COUNT"><constant>DTV_ISDBT_LAYERA_SEGMENT_COUNT</constant></link></para></listitem>
1195                         <listitem><para><link linkend="DTV-ISDBT-LAYER-TIME-INTERLEAVING"><constant>DTV_ISDBT_LAYERA_TIME_INTERLEAVING</constant></link></para></listitem>
1196                         <listitem><para><link linkend="DTV-ISDBT-LAYER-FEC"><constant>DTV_ISDBT_LAYERB_FEC</constant></link></para></listitem>
1197                         <listitem><para><link linkend="DTV-ISDBT-LAYER-MODULATION"><constant>DTV_ISDBT_LAYERB_MODULATION</constant></link></para></listitem>
1198                         <listitem><para><link linkend="DTV-ISDBT-LAYER-SEGMENT-COUNT"><constant>DTV_ISDBT_LAYERB_SEGMENT_COUNT</constant></link></para></listitem>
1199                         <listitem><para><link linkend="DTV-ISDBT-LAYER-TIME-INTERLEAVING"><constant>DTV_ISDBT_LAYERB_TIME_INTERLEAVING</constant></link></para></listitem>
1200                         <listitem><para><link linkend="DTV-ISDBT-LAYER-FEC"><constant>DTV_ISDBT_LAYERC_FEC</constant></link></para></listitem>
1201                         <listitem><para><link linkend="DTV-ISDBT-LAYER-MODULATION"><constant>DTV_ISDBT_LAYERC_MODULATION</constant></link></para></listitem>
1202                         <listitem><para><link linkend="DTV-ISDBT-LAYER-SEGMENT-COUNT"><constant>DTV_ISDBT_LAYERC_SEGMENT_COUNT</constant></link></para></listitem>
1203                         <listitem><para><link linkend="DTV-ISDBT-LAYER-TIME-INTERLEAVING"><constant>DTV_ISDBT_LAYERC_TIME_INTERLEAVING</constant></link></para></listitem>
1204                 </itemizedlist>
1205                 <para>In addition, the <link linkend="frontend-stat-properties">DTV QoS statistics</link> are also valid.</para>
1206                 </section>
1207                 <section id="atsc-params">
1208                         <title>ATSC delivery system</title>
1209                         <para>The following parameters are valid for ATSC:</para>
1210                         <itemizedlist mark='opencircle'>
1211                                 <listitem><para><link linkend="DTV-API-VERSION"><constant>DTV_API_VERSION</constant></link></para></listitem>
1212                                 <listitem><para><link linkend="DTV-DELIVERY-SYSTEM"><constant>DTV_DELIVERY_SYSTEM</constant></link></para></listitem>
1213                                 <listitem><para><link linkend="DTV-TUNE"><constant>DTV_TUNE</constant></link></para></listitem>
1214                                 <listitem><para><link linkend="DTV-CLEAR"><constant>DTV_CLEAR</constant></link></para></listitem>
1215                                 <listitem><para><link linkend="DTV-FREQUENCY"><constant>DTV_FREQUENCY</constant></link></para></listitem>
1216                                 <listitem><para><link linkend="DTV-MODULATION"><constant>DTV_MODULATION</constant></link></para></listitem>
1217                                 <listitem><para><link linkend="DTV-BANDWIDTH-HZ"><constant>DTV_BANDWIDTH_HZ</constant></link></para></listitem>
1218                         </itemizedlist>
1219                         <para>In addition, the <link linkend="frontend-stat-properties">DTV QoS statistics</link> are also valid.</para>
1220                 </section>
1221                 <section id="atscmh-params">
1222                         <title>ATSC-MH delivery system</title>
1223                         <para>The following parameters are valid for ATSC-MH:</para>
1224                         <itemizedlist mark='opencircle'>
1225                                 <listitem><para><link linkend="DTV-API-VERSION"><constant>DTV_API_VERSION</constant></link></para></listitem>
1226                                 <listitem><para><link linkend="DTV-DELIVERY-SYSTEM"><constant>DTV_DELIVERY_SYSTEM</constant></link></para></listitem>
1227                                 <listitem><para><link linkend="DTV-TUNE"><constant>DTV_TUNE</constant></link></para></listitem>
1228                                 <listitem><para><link linkend="DTV-CLEAR"><constant>DTV_CLEAR</constant></link></para></listitem>
1229                                 <listitem><para><link linkend="DTV-FREQUENCY"><constant>DTV_FREQUENCY</constant></link></para></listitem>
1230                                 <listitem><para><link linkend="DTV-BANDWIDTH-HZ"><constant>DTV_BANDWIDTH_HZ</constant></link></para></listitem>
1231                                 <listitem><para><link linkend="DTV-ATSCMH-FIC-VER"><constant>DTV_ATSCMH_FIC_VER</constant></link></para></listitem>
1232                                 <listitem><para><link linkend="DTV-ATSCMH-PARADE-ID"><constant>DTV_ATSCMH_PARADE_ID</constant></link></para></listitem>
1233                                 <listitem><para><link linkend="DTV-ATSCMH-NOG"><constant>DTV_ATSCMH_NOG</constant></link></para></listitem>
1234                                 <listitem><para><link linkend="DTV-ATSCMH-TNOG"><constant>DTV_ATSCMH_TNOG</constant></link></para></listitem>
1235                                 <listitem><para><link linkend="DTV-ATSCMH-SGN"><constant>DTV_ATSCMH_SGN</constant></link></para></listitem>
1236                                 <listitem><para><link linkend="DTV-ATSCMH-PRC"><constant>DTV_ATSCMH_PRC</constant></link></para></listitem>
1237                                 <listitem><para><link linkend="DTV-ATSCMH-RS-FRAME-MODE"><constant>DTV_ATSCMH_RS_FRAME_MODE</constant></link></para></listitem>
1238                                 <listitem><para><link linkend="DTV-ATSCMH-RS-FRAME-ENSEMBLE"><constant>DTV_ATSCMH_RS_FRAME_ENSEMBLE</constant></link></para></listitem>
1239                                 <listitem><para><link linkend="DTV-ATSCMH-RS-CODE-MODE-PRI"><constant>DTV_ATSCMH_RS_CODE_MODE_PRI</constant></link></para></listitem>
1240                                 <listitem><para><link linkend="DTV-ATSCMH-RS-CODE-MODE-SEC"><constant>DTV_ATSCMH_RS_CODE_MODE_SEC</constant></link></para></listitem>
1241                                 <listitem><para><link linkend="DTV-ATSCMH-SCCC-BLOCK-MODE"><constant>DTV_ATSCMH_SCCC_BLOCK_MODE</constant></link></para></listitem>
1242                                 <listitem><para><link linkend="DTV-ATSCMH-SCCC-CODE-MODE-A"><constant>DTV_ATSCMH_SCCC_CODE_MODE_A</constant></link></para></listitem>
1243                                 <listitem><para><link linkend="DTV-ATSCMH-SCCC-CODE-MODE-B"><constant>DTV_ATSCMH_SCCC_CODE_MODE_B</constant></link></para></listitem>
1244                                 <listitem><para><link linkend="DTV-ATSCMH-SCCC-CODE-MODE-C"><constant>DTV_ATSCMH_SCCC_CODE_MODE_C</constant></link></para></listitem>
1245                                 <listitem><para><link linkend="DTV-ATSCMH-SCCC-CODE-MODE-D"><constant>DTV_ATSCMH_SCCC_CODE_MODE_D</constant></link></para></listitem>
1246                         </itemizedlist>
1247                         <para>In addition, the <link linkend="frontend-stat-properties">DTV QoS statistics</link> are also valid.</para>
1248                 </section>
1249                 <section id="dtmb-params">
1250                         <title>DTMB delivery system</title>
1251                         <para>The following parameters are valid for DTMB:</para>
1252                         <itemizedlist mark='opencircle'>
1253                                 <listitem><para><link linkend="DTV-API-VERSION"><constant>DTV_API_VERSION</constant></link></para></listitem>
1254                                 <listitem><para><link linkend="DTV-DELIVERY-SYSTEM"><constant>DTV_DELIVERY_SYSTEM</constant></link></para></listitem>
1255                                 <listitem><para><link linkend="DTV-TUNE"><constant>DTV_TUNE</constant></link></para></listitem>
1256                                 <listitem><para><link linkend="DTV-CLEAR"><constant>DTV_CLEAR</constant></link></para></listitem>
1257                                 <listitem><para><link linkend="DTV-FREQUENCY"><constant>DTV_FREQUENCY</constant></link></para></listitem>
1258                                 <listitem><para><link linkend="DTV-MODULATION"><constant>DTV_MODULATION</constant></link></para></listitem>
1259                                 <listitem><para><link linkend="DTV-BANDWIDTH-HZ"><constant>DTV_BANDWIDTH_HZ</constant></link></para></listitem>
1260                                 <listitem><para><link linkend="DTV-INVERSION"><constant>DTV_INVERSION</constant></link></para></listitem>
1261                                 <listitem><para><link linkend="DTV-INNER-FEC"><constant>DTV_INNER_FEC</constant></link></para></listitem>
1262                                 <listitem><para><link linkend="DTV-GUARD-INTERVAL"><constant>DTV_GUARD_INTERVAL</constant></link></para></listitem>
1263                                 <listitem><para><link linkend="DTV-TRANSMISSION-MODE"><constant>DTV_TRANSMISSION_MODE</constant></link></para></listitem>
1264                                 <listitem><para><link linkend="DTV-INTERLEAVING"><constant>DTV_INTERLEAVING</constant></link></para></listitem>
1265                                 <listitem><para><link linkend="DTV-LNA"><constant>DTV_LNA</constant></link></para></listitem>
1266                         </itemizedlist>
1267                         <para>In addition, the <link linkend="frontend-stat-properties">DTV QoS statistics</link> are also valid.</para>
1268                 </section>
1269         </section>
1270         <section id="frontend-property-cable-systems">
1271         <title>Properties used on cable delivery systems</title>
1272         <section id="dvbc-params">
1273                 <title>DVB-C delivery system</title>
1274                 <para>The DVB-C Annex-A is the widely used cable standard. Transmission uses QAM modulation.</para>
1275                 <para>The DVB-C Annex-C is optimized for 6MHz, and is used in Japan. It supports a subset of the Annex A modulation types, and a roll-off of 0.13, instead of 0.15</para>
1276                 <para>The following parameters are valid for DVB-C Annex A/C:</para>
1277                 <itemizedlist mark='opencircle'>
1278                         <listitem><para><link linkend="DTV-API-VERSION"><constant>DTV_API_VERSION</constant></link></para></listitem>
1279                         <listitem><para><link linkend="DTV-DELIVERY-SYSTEM"><constant>DTV_DELIVERY_SYSTEM</constant></link></para></listitem>
1280                         <listitem><para><link linkend="DTV-TUNE"><constant>DTV_TUNE</constant></link></para></listitem>
1281                         <listitem><para><link linkend="DTV-CLEAR"><constant>DTV_CLEAR</constant></link></para></listitem>
1282                         <listitem><para><link linkend="DTV-FREQUENCY"><constant>DTV_FREQUENCY</constant></link></para></listitem>
1283                         <listitem><para><link linkend="DTV-MODULATION"><constant>DTV_MODULATION</constant></link></para></listitem>
1284                         <listitem><para><link linkend="DTV-INVERSION"><constant>DTV_INVERSION</constant></link></para></listitem>
1285                         <listitem><para><link linkend="DTV-SYMBOL-RATE"><constant>DTV_SYMBOL_RATE</constant></link></para></listitem>
1286                         <listitem><para><link linkend="DTV-INNER-FEC"><constant>DTV_INNER_FEC</constant></link></para></listitem>
1287                         <listitem><para><link linkend="DTV-LNA"><constant>DTV_LNA</constant></link></para></listitem>
1288                 </itemizedlist>
1289                 <para>In addition, the <link linkend="frontend-stat-properties">DTV QoS statistics</link> are also valid.</para>
1290         </section>
1291         <section id="dvbc-annex-b-params">
1292                 <title>DVB-C Annex B delivery system</title>
1293                 <para>The DVB-C Annex-B is only used on a few Countries like the United States.</para>
1294                 <para>The following parameters are valid for DVB-C Annex B:</para>
1295                 <itemizedlist mark='opencircle'>
1296                         <listitem><para><link linkend="DTV-API-VERSION"><constant>DTV_API_VERSION</constant></link></para></listitem>
1297                         <listitem><para><link linkend="DTV-DELIVERY-SYSTEM"><constant>DTV_DELIVERY_SYSTEM</constant></link></para></listitem>
1298                         <listitem><para><link linkend="DTV-TUNE"><constant>DTV_TUNE</constant></link></para></listitem>
1299                         <listitem><para><link linkend="DTV-CLEAR"><constant>DTV_CLEAR</constant></link></para></listitem>
1300                         <listitem><para><link linkend="DTV-FREQUENCY"><constant>DTV_FREQUENCY</constant></link></para></listitem>
1301                         <listitem><para><link linkend="DTV-MODULATION"><constant>DTV_MODULATION</constant></link></para></listitem>
1302                         <listitem><para><link linkend="DTV-INVERSION"><constant>DTV_INVERSION</constant></link></para></listitem>
1303                         <listitem><para><link linkend="DTV-LNA"><constant>DTV_LNA</constant></link></para></listitem>
1304                 </itemizedlist>
1305                 <para>In addition, the <link linkend="frontend-stat-properties">DTV QoS statistics</link> are also valid.</para>
1306         </section>
1307         </section>
1308         <section id="frontend-property-satellital-systems">
1309         <title>Properties used on satellital delivery systems</title>
1310         <section id="dvbs-params">
1311                 <title>DVB-S delivery system</title>
1312                 <para>The following parameters are valid for DVB-S:</para>
1313                 <itemizedlist mark='opencircle'>
1314                         <listitem><para><link linkend="DTV-API-VERSION"><constant>DTV_API_VERSION</constant></link></para></listitem>
1315                         <listitem><para><link linkend="DTV-DELIVERY-SYSTEM"><constant>DTV_DELIVERY_SYSTEM</constant></link></para></listitem>
1316                         <listitem><para><link linkend="DTV-TUNE"><constant>DTV_TUNE</constant></link></para></listitem>
1317                         <listitem><para><link linkend="DTV-CLEAR"><constant>DTV_CLEAR</constant></link></para></listitem>
1318                         <listitem><para><link linkend="DTV-FREQUENCY"><constant>DTV_FREQUENCY</constant></link></para></listitem>
1319                         <listitem><para><link linkend="DTV-INVERSION"><constant>DTV_INVERSION</constant></link></para></listitem>
1320                         <listitem><para><link linkend="DTV-SYMBOL-RATE"><constant>DTV_SYMBOL_RATE</constant></link></para></listitem>
1321                         <listitem><para><link linkend="DTV-INNER-FEC"><constant>DTV_INNER_FEC</constant></link></para></listitem>
1322                         <listitem><para><link linkend="DTV-VOLTAGE"><constant>DTV_VOLTAGE</constant></link></para></listitem>
1323                         <listitem><para><link linkend="DTV-TONE"><constant>DTV_TONE</constant></link></para></listitem>
1324                 </itemizedlist>
1325                 <para>In addition, the <link linkend="frontend-stat-properties">DTV QoS statistics</link> are also valid.</para>
1326                 <para>Future implementations might add those two missing parameters:</para>
1327                 <itemizedlist mark='opencircle'>
1328                         <listitem><para><link linkend="DTV-DISEQC-MASTER"><constant>DTV_DISEQC_MASTER</constant></link></para></listitem>
1329                         <listitem><para><link linkend="DTV-DISEQC-SLAVE-REPLY"><constant>DTV_DISEQC_SLAVE_REPLY</constant></link></para></listitem>
1330                 </itemizedlist>
1331         </section>
1332         <section id="dvbs2-params">
1333                 <title>DVB-S2 delivery system</title>
1334                 <para>In addition to all parameters valid for DVB-S, DVB-S2 supports the following parameters:</para>
1335                 <itemizedlist mark='opencircle'>
1336                         <listitem><para><link linkend="DTV-MODULATION"><constant>DTV_MODULATION</constant></link></para></listitem>
1337                         <listitem><para><link linkend="DTV-PILOT"><constant>DTV_PILOT</constant></link></para></listitem>
1338                         <listitem><para><link linkend="DTV-ROLLOFF"><constant>DTV_ROLLOFF</constant></link></para></listitem>
1339                         <listitem><para><link linkend="DTV-STREAM-ID"><constant>DTV_STREAM_ID</constant></link></para></listitem>
1340                 </itemizedlist>
1341                 <para>In addition, the <link linkend="frontend-stat-properties">DTV QoS statistics</link> are also valid.</para>
1342         </section>
1343         <section id="turbo-params">
1344                 <title>Turbo code delivery system</title>
1345                 <para>In addition to all parameters valid for DVB-S, turbo code supports the following parameters:</para>
1346                 <itemizedlist mark='opencircle'>
1347                         <listitem><para><link linkend="DTV-MODULATION"><constant>DTV_MODULATION</constant></link></para></listitem>
1348                 </itemizedlist>
1349         </section>
1350         <section id="isdbs-params">
1351                 <title>ISDB-S delivery system</title>
1352                 <para>The following parameters are valid for ISDB-S:</para>
1353                 <itemizedlist mark='opencircle'>
1354                         <listitem><para><link linkend="DTV-API-VERSION"><constant>DTV_API_VERSION</constant></link></para></listitem>
1355                         <listitem><para><link linkend="DTV-DELIVERY-SYSTEM"><constant>DTV_DELIVERY_SYSTEM</constant></link></para></listitem>
1356                         <listitem><para><link linkend="DTV-TUNE"><constant>DTV_TUNE</constant></link></para></listitem>
1357                         <listitem><para><link linkend="DTV-CLEAR"><constant>DTV_CLEAR</constant></link></para></listitem>
1358                         <listitem><para><link linkend="DTV-FREQUENCY"><constant>DTV_FREQUENCY</constant></link></para></listitem>
1359                         <listitem><para><link linkend="DTV-INVERSION"><constant>DTV_INVERSION</constant></link></para></listitem>
1360                         <listitem><para><link linkend="DTV-SYMBOL-RATE"><constant>DTV_SYMBOL_RATE</constant></link></para></listitem>
1361                         <listitem><para><link linkend="DTV-INNER-FEC"><constant>DTV_INNER_FEC</constant></link></para></listitem>
1362                         <listitem><para><link linkend="DTV-VOLTAGE"><constant>DTV_VOLTAGE</constant></link></para></listitem>
1363                         <listitem><para><link linkend="DTV-STREAM-ID"><constant>DTV_STREAM_ID</constant></link></para></listitem>
1364                 </itemizedlist>
1365         </section>
1366         </section>
1367 </section>