← Documents Documentation/userspace-api/media/dvb/fe_property_parameters.rst GitHub 원문 ↗

Linux 6.18.37 · Userspace API / Media / DVB / Frontend

Digital TV property parameters

Digital TV frontend의 공통, 위성, ISDB-T/Tsb, ATSC-M/H, OFDM 계열 property와 값 범위를 설명합니다.

Source pathDocumentation/userspace-api/media/dvb/fe_property_parameters.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

fe_property_parameters.rst:1-1013

이 문서는 DVBv5 frontend property의 핵심 사전입니다. 공통 tuning 값부터 ISDB-T 계층과 ATSC-M/H signaling, multi-standard frontend 열거, DVB-S2 scrambling까지 각 property의 적용 표준·단위·허용 범위를 연결해 설명합니다. 표에 있는 수치와 enum symbol은 Linux v6.18.37 원문을 우선해 그대로 보존했으며, 원문 자체의 `OFTM-based`, 마지막 ISDB 진리표의 전체 폭 `13`, `DTV_CODE_RATE_*`가 참조하는 `fe_transmit_mode` 같은 표현도 임의로 고치지 않았습니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2
3 .. _fe_property_parameters:
4
5 ******************************
6 Digital TV property parameters
7 ******************************
8
9 There are several different Digital TV parameters that can be used by
10 :ref:`FE_SET_PROPERTY and FE_GET_PROPERTY ioctls<FE_GET_PROPERTY>`.
11 This section describes each of them. Please notice, however, that only
12 a subset of them are needed to setup a frontend.
13
14
15 .. _DTV-UNDEFINED:
16
17 DTV_UNDEFINED
18 =============
19
20 Used internally. A GET/SET operation for it won't change or return
21 anything.
22
23
24 .. _DTV-TUNE:
25
26 DTV_TUNE
27 ========
28
29 Interpret the cache of data, build either a traditional frontend
30 tunerequest so we can pass validation in the ``FE_SET_FRONTEND`` ioctl.
31
32
33 .. _DTV-CLEAR:
34
35 DTV_CLEAR
36 =========
37
38 Reset a cache of data specific to the frontend here. This does not
39 effect hardware.
40
41
42 .. _DTV-FREQUENCY:
43
44 DTV_FREQUENCY
45 =============
46
47 Frequency of the digital TV transponder/channel.
48
49 .. note::
50
51 #. For satellite delivery systems, the frequency is in kHz.
52
53 #. For cable and terrestrial delivery systems, the frequency is in
54 Hz.
55
56 #. On most delivery systems, the frequency is the center frequency
57 of the transponder/channel. The exception is for ISDB-T, where
58 the main carrier has a 1/7 offset from the center.
59
60 #. For ISDB-T, the channels are usually transmitted with an offset of
61 about 143kHz. E.g. a valid frequency could be 474,143 kHz. The
62 stepping is bound to the bandwidth of the channel which is
63 typically 6MHz.
64
65 #. In ISDB-Tsb, the channel consists of only one or three segments the
66 frequency step is 429kHz, 3*429 respectively.
67
68
69 .. _DTV-MODULATION:
70
71 DTV_MODULATION
72 ==============
73
74 Specifies the frontend modulation type for delivery systems that
75 support multiple modulations.
76
77 The modulation can be one of the types defined by enum :c:type:`fe_modulation`.
78
79 Most of the digital TV standards offer more than one possible
80 modulation type.
81
82 The table below presents a summary of the types of modulation types
83 supported by each delivery system, as currently defined by specs.
84
85 ======================= =======================================================
86 Standard Modulation types
87 ======================= =======================================================
88 ATSC (version 1) 8-VSB and 16-VSB.
89 DMTB 4-QAM, 16-QAM, 32-QAM, 64-QAM and 4-QAM-NR.
90 DVB-C Annex A/C 16-QAM, 32-QAM, 64-QAM and 256-QAM.
91 DVB-C Annex B 64-QAM.
92 DVB-C2 QPSK, 16-QAM, 64-QAM, 256-QAM, 1024-QAM and 4096-QAM.
93 DVB-T QPSK, 16-QAM and 64-QAM.
94 DVB-T2 QPSK, 16-QAM, 64-QAM and 256-QAM.
95 DVB-S No need to set. It supports only QPSK.
96 DVB-S2 QPSK, 8-PSK, 16-APSK and 32-APSK.
97 DVB-S2X 8-APSK-L, 16-APSK-L, 32-APSK-L, 64-APSK and 64-APSK-L.
98 ISDB-T QPSK, DQPSK, 16-QAM and 64-QAM.
99 ISDB-S 8-PSK, QPSK and BPSK.
100 ======================= =======================================================
101
102 .. note::
103
104 As DVB-S2X specifies extensions to the DVB-S2 standard, the same
105 delivery system enum value is used (SYS_DVBS2).
106
107 Please notice that some of the above modulation types may not be
108 defined currently at the Kernel. The reason is simple: no driver
109 needed such definition yet.
110
111
112 .. _DTV-BANDWIDTH-HZ:
113
114 DTV_BANDWIDTH_HZ
115 ================
116
117 Bandwidth for the channel, in HZ.
118
119 Should be set only for terrestrial delivery systems.
120
121 Possible values: ``1712000``, ``5000000``, ``6000000``, ``7000000``,
122 ``8000000``, ``10000000``.
123
124 ======================= =======================================================
125 Terrestrial Standard Possible values for bandwidth
126 ======================= =======================================================
127 ATSC (version 1) No need to set. It is always 6MHz.
128 DMTB No need to set. It is always 8MHz.
129 DVB-T 6MHz, 7MHz and 8MHz.
130 DVB-T2 1.172 MHz, 5MHz, 6MHz, 7MHz, 8MHz and 10MHz
131 ISDB-T 5MHz, 6MHz, 7MHz and 8MHz, although most places
132 use 6MHz.
133 ======================= =======================================================
134
135
136 .. note::
137
138
139 #. For ISDB-Tsb, the bandwidth can vary depending on the number of
140 connected segments.
141
142 It can be easily derived from other parameters
143 (DTV_ISDBT_SB_SEGMENT_IDX, DTV_ISDBT_SB_SEGMENT_COUNT).
144
145 #. On Satellite and Cable delivery systems, the bandwidth depends on
146 the symbol rate. The kernel will silently ignore any :ref:`DTV-BANDWIDTH-HZ`
147 setting and overwrites it with bandwidth estimation.
148
149 Such bandwidth estimation takes into account the symbol rate set with
150 :ref:`DTV-SYMBOL-RATE`, and the rolloff factor, with is fixed for
151 DVB-C and DVB-S.
152
153 For DVB-S2, the rolloff should also be set via :ref:`DTV-ROLLOFF`.
154
155
156 .. _DTV-INVERSION:
157
158 DTV_INVERSION
159 =============
160
161 Specifies if the frontend should do spectral inversion or not.
162
163 The acceptable values are defined by :c:type:`fe_spectral_inversion`.
164
165
166 .. _DTV-DISEQC-MASTER:
167
168 DTV_DISEQC_MASTER
169 =================
170
171 Currently not implemented.
172
173
174 .. _DTV-SYMBOL-RATE:
175
176 DTV_SYMBOL_RATE
177 ===============
178
179 Used on cable and satellite delivery systems.
180
181 Digital TV symbol rate, in bauds (symbols/second).
182
183
184 .. _DTV-INNER-FEC:
185
186 DTV_INNER_FEC
187 =============
188
189 Used on cable and satellite delivery systems.
190
191 The acceptable values are defined by :c:type:`fe_code_rate`.
192
193
194 .. _DTV-VOLTAGE:
195
196 DTV_VOLTAGE
197 ===========
198
199 Used on satellite delivery systems.
200
201 The voltage is usually used with non-DiSEqC capable LNBs to switch the
202 polarization (horizontal/vertical). When using DiSEqC equipment this
203 voltage has to be switched consistently to the DiSEqC commands as
204 described in the DiSEqC spec.
205
206 The acceptable values are defined by :c:type:`fe_sec_voltage`.
207
208
209 .. _DTV-TONE:
210
211 DTV_TONE
212 ========
213
214 Currently not used.
215
216
217 .. _DTV-PILOT:
218
219 DTV_PILOT
220 =========
221
222 Used on DVB-S2.
223
224 Sets DVB-S2 pilot.
225
226 The acceptable values are defined by :c:type:`fe_pilot`.
227
228
229 .. _DTV-ROLLOFF:
230
231 DTV_ROLLOFF
232 ===========
233
234 Used on DVB-S2.
235
236 Sets DVB-S2 rolloff.
237
238 The acceptable values are defined by :c:type:`fe_rolloff`.
239
240
241 .. _DTV-DISEQC-SLAVE-REPLY:
242
243 DTV_DISEQC_SLAVE_REPLY
244 ======================
245
246 Currently not implemented.
247
248
249 .. _DTV-FE-CAPABILITY-COUNT:
250
251 DTV_FE_CAPABILITY_COUNT
252 =======================
253
254 Currently not implemented.
255
256
257 .. _DTV-FE-CAPABILITY:
258
259 DTV_FE_CAPABILITY
260 =================
261
262 Currently not implemented.
263
264
265 .. _DTV-DELIVERY-SYSTEM:
266
267 DTV_DELIVERY_SYSTEM
268 ===================
269
270 Specifies the type of the delivery system.
271
272 The acceptable values are defined by :c:type:`fe_delivery_system`.
273
274
275 .. _DTV-ISDBT-PARTIAL-RECEPTION:
276
277 DTV_ISDBT_PARTIAL_RECEPTION
278 ===========================
279
280 Used only on ISDB.
281
282 If ``DTV_ISDBT_SOUND_BROADCASTING`` is '0' this bit field represents
283 whether the channel is in partial reception mode or not.
284
285 If '1' ``DTV_ISDBT_LAYERA_*`` values are assigned to the center segment
286 and ``DTV_ISDBT_LAYERA_SEGMENT_COUNT`` has to be '1'.
287
288 If in addition ``DTV_ISDBT_SOUND_BROADCASTING`` is '1'
289 ``DTV_ISDBT_PARTIAL_RECEPTION`` represents whether this ISDB-Tsb channel
290 is consisting of one segment and layer or three segments and two layers.
291
292 Possible values: 0, 1, -1 (AUTO)
293
294
295 .. _DTV-ISDBT-SOUND-BROADCASTING:
296
297 DTV_ISDBT_SOUND_BROADCASTING
298 ============================
299
300 Used only on ISDB.
301
302 This field represents whether the other DTV_ISDBT_*-parameters are
303 referring to an ISDB-T and an ISDB-Tsb channel. (See also
304 ``DTV_ISDBT_PARTIAL_RECEPTION``).
305
306 Possible values: 0, 1, -1 (AUTO)
307
308
309 .. _DTV-ISDBT-SB-SUBCHANNEL-ID:
310
311 DTV_ISDBT_SB_SUBCHANNEL_ID
312 ==========================
313
314 Used only on ISDB.
315
316 This field only applies if ``DTV_ISDBT_SOUND_BROADCASTING`` is '1'.
317
318 (Note of the author: This might not be the correct description of the
319 ``SUBCHANNEL-ID`` in all details, but it is my understanding of the
320 technical background needed to program a device)
321
322 An ISDB-Tsb channel (1 or 3 segments) can be broadcasted alone or in a
323 set of connected ISDB-Tsb channels. In this set of channels every
324 channel can be received independently. The number of connected ISDB-Tsb
325 segment can vary, e.g. depending on the frequency spectrum bandwidth
326 available.
327
328 Example: Assume 8 ISDB-Tsb connected segments are broadcasted. The
329 broadcaster has several possibilities to put those channels in the air:
330 Assuming a normal 13-segment ISDB-T spectrum he can align the 8 segments
331 from position 1-8 to 5-13 or anything in between.
332
333 The underlying layer of segments are sub-channels: each segment is
334 consisting of several sub-channels with a predefined IDs. A sub-channel
335 is used to help the demodulator to synchronize on the channel.
336
337 An ISDB-T channel is always centered over all sub-channels. As for the
338 example above, in ISDB-Tsb it is no longer as simple as that.
339
340 ``The DTV_ISDBT_SB_SUBCHANNEL_ID`` parameter is used to give the
341 sub-channel ID of the segment to be demodulated.
342
343 Possible values: 0 .. 41, -1 (AUTO)
344
345
346 .. _DTV-ISDBT-SB-SEGMENT-IDX:
347
348 DTV_ISDBT_SB_SEGMENT_IDX
349 ========================
350
351 Used only on ISDB.
352
353 This field only applies if ``DTV_ISDBT_SOUND_BROADCASTING`` is '1'.
354
355 ``DTV_ISDBT_SB_SEGMENT_IDX`` gives the index of the segment to be
356 demodulated for an ISDB-Tsb channel where several of them are
357 transmitted in the connected manner.
358
359 Possible values: 0 .. ``DTV_ISDBT_SB_SEGMENT_COUNT`` - 1
360
361 Note: This value cannot be determined by an automatic channel search.
362
363
364 .. _DTV-ISDBT-SB-SEGMENT-COUNT:
365
366 DTV_ISDBT_SB_SEGMENT_COUNT
367 ==========================
368
369 Used only on ISDB.
370
371 This field only applies if ``DTV_ISDBT_SOUND_BROADCASTING`` is '1'.
372
373 ``DTV_ISDBT_SB_SEGMENT_COUNT`` gives the total count of connected
374 ISDB-Tsb channels.
375
376 Possible values: 1 .. 13
377
378 Note: This value cannot be determined by an automatic channel search.
379
380
381 .. _isdb-hierq-layers:
382
383 DTV-ISDBT-LAYER[A-C] parameters
384 ===============================
385
386 Used only on ISDB.
387
388 ISDB-T channels can be coded hierarchically. As opposed to DVB-T in
389 ISDB-T hierarchical layers can be decoded simultaneously. For that
390 reason a ISDB-T demodulator has 3 Viterbi and 3 Reed-Solomon decoders.
391
392 ISDB-T has 3 hierarchical layers which each can use a part of the
393 available segments. The total number of segments over all layers has to
394 13 in ISDB-T.
395
396 There are 3 parameter sets, for Layers A, B and C.
397
398
399 .. _DTV-ISDBT-LAYER-ENABLED:
400
401 DTV_ISDBT_LAYER_ENABLED
402 -----------------------
403
404 Used only on ISDB.
405
406 Hierarchical reception in ISDB-T is achieved by enabling or disabling
407 layers in the decoding process. Setting all bits of
408 ``DTV_ISDBT_LAYER_ENABLED`` to '1' forces all layers (if applicable) to
409 be demodulated. This is the default.
410
411 If the channel is in the partial reception mode
412 (``DTV_ISDBT_PARTIAL_RECEPTION`` = 1) the central segment can be decoded
413 independently of the other 12 segments. In that mode layer A has to have
414 a ``SEGMENT_COUNT`` of 1.
415
416 In ISDB-Tsb only layer A is used, it can be 1 or 3 in ISDB-Tsb according
417 to ``DTV_ISDBT_PARTIAL_RECEPTION``. ``SEGMENT_COUNT`` must be filled
418 accordingly.
419
420 Only the values of the first 3 bits are used. Other bits will be silently ignored:
421
422 ``DTV_ISDBT_LAYER_ENABLED`` bit 0: layer A enabled
423
424 ``DTV_ISDBT_LAYER_ENABLED`` bit 1: layer B enabled
425
426 ``DTV_ISDBT_LAYER_ENABLED`` bit 2: layer C enabled
427
428 ``DTV_ISDBT_LAYER_ENABLED`` bits 3-31: unused
429
430
431 .. _DTV-ISDBT-LAYER-FEC:
432
433 DTV_ISDBT_LAYER[A-C]_FEC
434 ------------------------
435
436 Used only on ISDB.
437
438 The Forward Error Correction mechanism used by a given ISDB Layer, as
439 defined by :c:type:`fe_code_rate`.
440
441
442 Possible values are: ``FEC_AUTO``, ``FEC_1_2``, ``FEC_2_3``, ``FEC_3_4``,
443 ``FEC_5_6``, ``FEC_7_8``
444
445
446 .. _DTV-ISDBT-LAYER-MODULATION:
447
448 DTV_ISDBT_LAYER[A-C]_MODULATION
449 -------------------------------
450
451 Used only on ISDB.
452
453 The modulation used by a given ISDB Layer, as defined by
454 :c:type:`fe_modulation`.
455
456 Possible values are: ``QAM_AUTO``, ``QPSK``, ``QAM_16``, ``QAM_64``, ``DQPSK``
457
458 .. note::
459
460 #. If layer C is ``DQPSK``, then layer B has to be ``DQPSK``.
461
462 #. If layer B is ``DQPSK`` and ``DTV_ISDBT_PARTIAL_RECEPTION``\ = 0,
463 then layer has to be ``DQPSK``.
464
465
466 .. _DTV-ISDBT-LAYER-SEGMENT-COUNT:
467
468 DTV_ISDBT_LAYER[A-C]_SEGMENT_COUNT
469 ----------------------------------
470
471 Used only on ISDB.
472
473 Possible values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, -1 (AUTO)
474
475 Note: Truth table for ``DTV_ISDBT_SOUND_BROADCASTING`` and
476 ``DTV_ISDBT_PARTIAL_RECEPTION`` and ``LAYER[A-C]_SEGMENT_COUNT``
477
478 .. _isdbt-layer_seg-cnt-table:
479
480 .. flat-table:: Truth table for ISDB-T Sound Broadcasting
481 :header-rows: 1
482 :stub-columns: 0
483
484
485 - .. row 1
486
487 - Partial Reception
488
489 - Sound Broadcasting
490
491 - Layer A width
492
493 - Layer B width
494
495 - Layer C width
496
497 - total width
498
499 - .. row 2
500
501 - 0
502
503 - 0
504
505 - 1 .. 13
506
507 - 1 .. 13
508
509 - 1 .. 13
510
511 - 13
512
513 - .. row 3
514
515 - 1
516
517 - 0
518
519 - 1
520
521 - 1 .. 13
522
523 - 1 .. 13
524
525 - 13
526
527 - .. row 4
528
529 - 0
530
531 - 1
532
533 - 1
534
535 - 0
536
537 - 0
538
539 - 1
540
541 - .. row 5
542
543 - 1
544
545 - 1
546
547 - 1
548
549 - 2
550
551 - 0
552
553 - 13
554
555
556
557 .. _DTV-ISDBT-LAYER-TIME-INTERLEAVING:
558
559 DTV_ISDBT_LAYER[A-C]_TIME_INTERLEAVING
560 --------------------------------------
561
562 Used only on ISDB.
563
564 Valid values: 0, 1, 2, 4, -1 (AUTO)
565
566 when DTV_ISDBT_SOUND_BROADCASTING is active, value 8 is also valid.
567
568 Note: The real time interleaving length depends on the mode (fft-size).
569 The values here are referring to what can be found in the
570 TMCC-structure, as shown in the table below.
571
572
573 .. c:type:: isdbt_layer_interleaving_table
574
575 .. flat-table:: ISDB-T time interleaving modes
576 :header-rows: 1
577 :stub-columns: 0
578
579
580 - .. row 1
581
582 - ``DTV_ISDBT_LAYER[A-C]_TIME_INTERLEAVING``
583
584 - Mode 1 (2K FFT)
585
586 - Mode 2 (4K FFT)
587
588 - Mode 3 (8K FFT)
589
590 - .. row 2
591
592 - 0
593
594 - 0
595
596 - 0
597
598 - 0
599
600 - .. row 3
601
602 - 1
603
604 - 4
605
606 - 2
607
608 - 1
609
610 - .. row 4
611
612 - 2
613
614 - 8
615
616 - 4
617
618 - 2
619
620 - .. row 5
621
622 - 4
623
624 - 16
625
626 - 8
627
628 - 4
629
630
631
632 .. _DTV-ATSCMH-FIC-VER:
633
634 DTV_ATSCMH_FIC_VER
635 ------------------
636
637 Used only on ATSC-MH.
638
639 Version number of the FIC (Fast Information Channel) signaling data.
640
641 FIC is used for relaying information to allow rapid service acquisition
642 by the receiver.
643
644 Possible values: 0, 1, 2, 3, ..., 30, 31
645
646
647 .. _DTV-ATSCMH-PARADE-ID:
648
649 DTV_ATSCMH_PARADE_ID
650 --------------------
651
652 Used only on ATSC-MH.
653
654 Parade identification number
655
656 A parade is a collection of up to eight MH groups, conveying one or two
657 ensembles.
658
659 Possible values: 0, 1, 2, 3, ..., 126, 127
660
661
662 .. _DTV-ATSCMH-NOG:
663
664 DTV_ATSCMH_NOG
665 --------------
666
667 Used only on ATSC-MH.
668
669 Number of MH groups per MH subframe for a designated parade.
670
671 Possible values: 1, 2, 3, 4, 5, 6, 7, 8
672
673
674 .. _DTV-ATSCMH-TNOG:
675
676 DTV_ATSCMH_TNOG
677 ---------------
678
679 Used only on ATSC-MH.
680
681 Total number of MH groups including all MH groups belonging to all MH
682 parades in one MH subframe.
683
684 Possible values: 0, 1, 2, 3, ..., 30, 31
685
686
687 .. _DTV-ATSCMH-SGN:
688
689 DTV_ATSCMH_SGN
690 --------------
691
692 Used only on ATSC-MH.
693
694 Start group number.
695
696 Possible values: 0, 1, 2, 3, ..., 14, 15
697
698
699 .. _DTV-ATSCMH-PRC:
700
701 DTV_ATSCMH_PRC
702 --------------
703
704 Used only on ATSC-MH.
705
706 Parade repetition cycle.
707
708 Possible values: 1, 2, 3, 4, 5, 6, 7, 8
709
710
711 .. _DTV-ATSCMH-RS-FRAME-MODE:
712
713 DTV_ATSCMH_RS_FRAME_MODE
714 ------------------------
715
716 Used only on ATSC-MH.
717
718 Reed Solomon (RS) frame mode.
719
720 The acceptable values are defined by :c:type:`atscmh_rs_frame_mode`.
721
722
723 .. _DTV-ATSCMH-RS-FRAME-ENSEMBLE:
724
725 DTV_ATSCMH_RS_FRAME_ENSEMBLE
726 ----------------------------
727
728 Used only on ATSC-MH.
729
730 Reed Solomon (RS) frame ensemble.
731
732 The acceptable values are defined by :c:type:`atscmh_rs_frame_ensemble`.
733
734
735 .. _DTV-ATSCMH-RS-CODE-MODE-PRI:
736
737 DTV_ATSCMH_RS_CODE_MODE_PRI
738 ---------------------------
739
740 Used only on ATSC-MH.
741
742 Reed Solomon (RS) code mode (primary).
743
744 The acceptable values are defined by :c:type:`atscmh_rs_code_mode`.
745
746
747 .. _DTV-ATSCMH-RS-CODE-MODE-SEC:
748
749 DTV_ATSCMH_RS_CODE_MODE_SEC
750 ---------------------------
751
752 Used only on ATSC-MH.
753
754 Reed Solomon (RS) code mode (secondary).
755
756 The acceptable values are defined by :c:type:`atscmh_rs_code_mode`.
757
758
759 .. _DTV-ATSCMH-SCCC-BLOCK-MODE:
760
761 DTV_ATSCMH_SCCC_BLOCK_MODE
762 --------------------------
763
764 Used only on ATSC-MH.
765
766 Series Concatenated Convolutional Code Block Mode.
767
768 The acceptable values are defined by :c:type:`atscmh_sccc_block_mode`.
769
770
771 .. _DTV-ATSCMH-SCCC-CODE-MODE-A:
772
773 DTV_ATSCMH_SCCC_CODE_MODE_A
774 ---------------------------
775
776 Used only on ATSC-MH.
777
778 Series Concatenated Convolutional Code Rate.
779
780 The acceptable values are defined by :c:type:`atscmh_sccc_code_mode`.
781
782 .. _DTV-ATSCMH-SCCC-CODE-MODE-B:
783
784 DTV_ATSCMH_SCCC_CODE_MODE_B
785 ---------------------------
786
787 Used only on ATSC-MH.
788
789 Series Concatenated Convolutional Code Rate.
790
791 Possible values are the same as documented on enum
792 :c:type:`atscmh_sccc_code_mode`.
793
794
795 .. _DTV-ATSCMH-SCCC-CODE-MODE-C:
796
797 DTV_ATSCMH_SCCC_CODE_MODE_C
798 ---------------------------
799
800 Used only on ATSC-MH.
801
802 Series Concatenated Convolutional Code Rate.
803
804 Possible values are the same as documented on enum
805 :c:type:`atscmh_sccc_code_mode`.
806
807
808 .. _DTV-ATSCMH-SCCC-CODE-MODE-D:
809
810 DTV_ATSCMH_SCCC_CODE_MODE_D
811 ---------------------------
812
813 Used only on ATSC-MH.
814
815 Series Concatenated Convolutional Code Rate.
816
817 Possible values are the same as documented on enum
818 :c:type:`atscmh_sccc_code_mode`.
819
820
821 .. _DTV-API-VERSION:
822
823 DTV_API_VERSION
824 ===============
825
826 Returns the major/minor version of the Digital TV API
827
828
829 .. _DTV-CODE-RATE-HP:
830
831 DTV_CODE_RATE_HP
832 ================
833
834 Used on terrestrial transmissions.
835
836 The acceptable values are defined by :c:type:`fe_transmit_mode`.
837
838
839 .. _DTV-CODE-RATE-LP:
840
841 DTV_CODE_RATE_LP
842 ================
843
844 Used on terrestrial transmissions.
845
846 The acceptable values are defined by :c:type:`fe_transmit_mode`.
847
848
849 .. _DTV-GUARD-INTERVAL:
850
851 DTV_GUARD_INTERVAL
852 ==================
853
854 The acceptable values are defined by :c:type:`fe_guard_interval`.
855
856 .. note::
857
858 #. If ``DTV_GUARD_INTERVAL`` is set the ``GUARD_INTERVAL_AUTO`` the
859 hardware will try to find the correct guard interval (if capable) and
860 will use TMCC to fill in the missing parameters.
861 #. Interval ``GUARD_INTERVAL_1_64`` is used only for DVB-C2.
862 #. Interval ``GUARD_INTERVAL_1_128`` is used for both DVB-C2 and DVB_T2.
863 #. Intervals ``GUARD_INTERVAL_19_128`` and ``GUARD_INTERVAL_19_256`` are
864 used only for DVB-T2.
865 #. Intervals ``GUARD_INTERVAL_PN420``, ``GUARD_INTERVAL_PN595`` and
866 ``GUARD_INTERVAL_PN945`` are used only for DMTB at the present.
867 On such standard, only those intervals and ``GUARD_INTERVAL_AUTO``
868 are valid.
869
870 .. _DTV-TRANSMISSION-MODE:
871
872 DTV_TRANSMISSION_MODE
873 =====================
874
875
876 Used only on OFTM-based standards, e. g. DVB-T/T2, ISDB-T, DTMB.
877
878 Specifies the FFT size (with corresponds to the approximate number of
879 carriers) used by the standard.
880
881 The acceptable values are defined by :c:type:`fe_transmit_mode`.
882
883 .. note::
884
885 #. ISDB-T supports three carrier/symbol-size: 8K, 4K, 2K. It is called
886 **mode** on such standard, and are numbered from 1 to 3:
887
888 ==== ======== ========================
889 Mode FFT size Transmission mode
890 ==== ======== ========================
891 1 2K ``TRANSMISSION_MODE_2K``
892 2 4K ``TRANSMISSION_MODE_4K``
893 3 8K ``TRANSMISSION_MODE_8K``
894 ==== ======== ========================
895
896 #. If ``DTV_TRANSMISSION_MODE`` is set the ``TRANSMISSION_MODE_AUTO``
897 the hardware will try to find the correct FFT-size (if capable) and
898 will use TMCC to fill in the missing parameters.
899
900 #. DVB-T specifies 2K and 8K as valid sizes.
901
902 #. DVB-T2 specifies 1K, 2K, 4K, 8K, 16K and 32K.
903
904 #. DTMB specifies C1 and C3780.
905
906
907 .. _DTV-HIERARCHY:
908
909 DTV_HIERARCHY
910 =============
911
912 Used only on DVB-T and DVB-T2.
913
914 Frontend hierarchy.
915
916 The acceptable values are defined by :c:type:`fe_hierarchy`.
917
918
919 .. _DTV-STREAM-ID:
920
921 DTV_STREAM_ID
922 =============
923
924 Used on DVB-C2, DVB-S2, DVB-T2 and ISDB-S.
925
926 DVB-C2, DVB-S2, DVB-T2 and ISDB-S support the transmission of several
927 streams on a single transport stream. This property enables the digital
928 TV driver to handle substream filtering, when supported by the hardware.
929 By default, substream filtering is disabled.
930
931 For DVB-C2, DVB-S2 and DVB-T2, the valid substream id range is from 0 to
932 255.
933
934 For ISDB, the valid substream id range is from 1 to 65535.
935
936 To disable it, you should use the special macro NO_STREAM_ID_FILTER.
937
938 Note: any value outside the id range also disables filtering.
939
940
941 .. _DTV-DVBT2-PLP-ID-LEGACY:
942
943 DTV_DVBT2_PLP_ID_LEGACY
944 =======================
945
946 Obsolete, replaced with DTV_STREAM_ID.
947
948
949 .. _DTV-ENUM-DELSYS:
950
951 DTV_ENUM_DELSYS
952 ===============
953
954 A Multi standard frontend needs to advertise the delivery systems
955 provided. Applications need to enumerate the provided delivery systems,
956 before using any other operation with the frontend. Prior to its
957 introduction, FE_GET_INFO was used to determine a frontend type. A
958 frontend which provides more than a single delivery system,
959 FE_GET_INFO doesn't help much. Applications which intends to use a
960 multistandard frontend must enumerate the delivery systems associated
961 with it, rather than trying to use FE_GET_INFO. In the case of a
962 legacy frontend, the result is just the same as with FE_GET_INFO, but
963 in a more structured format.
964
965 The acceptable values are defined by :c:type:`fe_delivery_system`.
966
967
968 .. _DTV-INTERLEAVING:
969
970 DTV_INTERLEAVING
971 ================
972
973 Time interleaving to be used.
974
975 The acceptable values are defined by :c:type:`fe_interleaving`.
976
977
978 .. _DTV-LNA:
979
980 DTV_LNA
981 =======
982
983 Low-noise amplifier.
984
985 Hardware might offer controllable LNA which can be set manually using
986 that parameter. Usually LNA could be found only from terrestrial devices
987 if at all.
988
989 Possible values: 0, 1, LNA_AUTO
990
991 0, LNA off
992
993 1, LNA on
994
995 use the special macro LNA_AUTO to set LNA auto
996
997
998 .. _DTV-SCRAMBLING-SEQUENCE-INDEX:
999
1000 DTV_SCRAMBLING_SEQUENCE_INDEX
1001 =============================
1003 Used on DVB-S2.
1005 This 18 bit field, when present, carries the index of the DVB-S2 physical
1006 layer scrambling sequence as defined in clause 5.5.4 of EN 302 307.
1007 There is no explicit signalling method to convey scrambling sequence index
1008 to the receiver. If S2 satellite delivery system descriptor is available
1009 it can be used to read the scrambling sequence index (EN 300 468 table 41).
1011 By default, gold scrambling sequence index 0 is used.
1013 The valid scrambling sequence index range is from 0 to 262142.

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Property 집합의 목적과 캐시 제어

1-41

이 문서는 GFDL-1.1-no-invariants-or-later 라이선스를 따르며, `FE_SET_PROPERTY`와 `FE_GET_PROPERTY` ioctl에서 사용할 수 있는 Digital TV 매개변수를 설명합니다. frontend를 설정할 때는 이 가운데 일부만 필요합니다.

`DTV_UNDEFINED`는 내부적으로만 사용합니다. 이 property에 GET 또는 SET을 수행해도 값이나 상태가 바뀌지 않고 어떤 값도 반환하지 않습니다.

`DTV_TUNE`은 지금까지 캐시에 모은 데이터를 해석하고 전통적인 frontend tune 요청을 구성합니다. 이렇게 만든 요청은 `FE_SET_FRONTEND` ioctl에 전달하기 전에 검증을 통과할 수 있는 형태가 됩니다.

`DTV_CLEAR`는 이 frontend에 한정된 데이터 캐시를 초기화합니다. 하드웨어 상태에는 영향을 주지 않습니다.

Frontend property 캐시 수명
필요한 Digital TV property를 캐시에 기록DTV_TUNE으로 캐시를 해석전통적인 tune 요청을 구성하고 검증필요하면 DTV_CLEAR로 frontend 전용 캐시 초기화

설정 property를 모아 튜닝 요청으로 해석하거나 캐시만 비우는 흐름입니다.

.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later

.. _fe_property_parameters:

******************************
Digital TV property parameters
******************************

There are several different Digital TV parameters that can be used by
:ref:`FE_SET_PROPERTY and FE_GET_PROPERTY ioctls<FE_GET_PROPERTY>`.
This section describes each of them. Please notice, however, that only
a subset of them are needed to setup a frontend.


.. _DTV-UNDEFINED:

DTV_UNDEFINED
=============

Used internally. A GET/SET operation for it won't change or return
anything.


.. _DTV-TUNE:

DTV_TUNE
========

Interpret the cache of data, build either a traditional frontend
tunerequest so we can pass validation in the ``FE_SET_FRONTEND`` ioctl.


.. _DTV-CLEAR:

DTV_CLEAR
=========

Reset a cache of data specific to the frontend here. This does not
effect hardware.

주파수와 변조 방식

42-111

`DTV_FREQUENCY`는 Digital TV transponder 또는 채널의 주파수입니다. 위성 delivery system에서는 kHz, 케이블과 지상파 delivery system에서는 Hz 단위를 사용합니다.

대부분의 system에서는 transponder/채널의 중심 주파수를 지정합니다. ISDB-T는 예외로서 주 반송파가 중심에서 1/7만큼 어긋나 있습니다.

ISDB-T 채널은 보통 약 143kHz offset으로 송출됩니다. 예를 들어 474,143 kHz가 유효할 수 있으며, 주파수 step은 일반적으로 6MHz인 채널 대역폭에 묶입니다. ISDB-Tsb의 1-segment 채널은 429kHz, 3-segment 채널은 `3*429`kHz step을 사용합니다.

`DTV_MODULATION`은 여러 변조를 지원하는 delivery system에서 frontend 변조 형식을 지정합니다. 값은 `enum fe_modulation`에 정의되어 있습니다.

Delivery system별 변조
표준변조 형식
ATSC version 18-VSB, 16-VSB
DMTB4-QAM, 16-QAM, 32-QAM, 64-QAM, 4-QAM-NR
DVB-C Annex A/C16-QAM, 32-QAM, 64-QAM, 256-QAM
DVB-C Annex B64-QAM
DVB-C2QPSK, 16-QAM, 64-QAM, 256-QAM, 1024-QAM, 4096-QAM
DVB-TQPSK, 16-QAM, 64-QAM
DVB-T2QPSK, 16-QAM, 64-QAM, 256-QAM
DVB-SQPSK만 지원하므로 설정 불필요
DVB-S2QPSK, 8-PSK, 16-APSK, 32-APSK
DVB-S2X8-APSK-L, 16-APSK-L, 32-APSK-L, 64-APSK, 64-APSK-L
ISDB-TQPSK, DQPSK, 16-QAM, 64-QAM
ISDB-S8-PSK, QPSK, BPSK

원문 표에 명시된 표준별 변조 형식입니다.

DVB-S2X는 DVB-S2의 확장이므로 같은 delivery system enum 값 `SYS_DVBS2`를 사용합니다. 표에 있는 변조 가운데 현재 커널에 정의되지 않은 형식도 있을 수 있는데, 아직 그 정의를 요구하는 드라이버가 없기 때문입니다.

.. _DTV-FREQUENCY:

DTV_FREQUENCY
=============

Frequency of the digital TV transponder/channel.

.. note::

  #. For satellite delivery systems, the frequency is in kHz.

  #. For cable and terrestrial delivery systems, the frequency is in
     Hz.

  #. On most delivery systems, the frequency is the center frequency
     of the transponder/channel. The exception is for ISDB-T, where
     the main carrier has a 1/7 offset from the center.

  #. For ISDB-T, the channels are usually transmitted with an offset of
     about 143kHz. E.g. a valid frequency could be 474,143 kHz. The
     stepping is  bound to the bandwidth of the channel which is
     typically 6MHz.

  #. In ISDB-Tsb, the channel consists of only one or three segments the
     frequency step is 429kHz, 3*429 respectively.


.. _DTV-MODULATION:

DTV_MODULATION
==============

Specifies the frontend modulation type for delivery systems that
support multiple modulations.

The modulation can be one of the types defined by enum :c:type:`fe_modulation`.

Most of the digital TV standards offer more than one possible
modulation type.

The table below presents a summary of the types of modulation types
supported by each delivery system, as currently defined by specs.

======================= =======================================================
Standard		Modulation types
======================= =======================================================
ATSC (version 1)	8-VSB and 16-VSB.
DMTB			4-QAM, 16-QAM, 32-QAM, 64-QAM and 4-QAM-NR.
DVB-C Annex A/C		16-QAM, 32-QAM, 64-QAM and 256-QAM.
DVB-C Annex B		64-QAM.
DVB-C2			QPSK, 16-QAM, 64-QAM, 256-QAM, 1024-QAM and 4096-QAM.
DVB-T			QPSK, 16-QAM and 64-QAM.
DVB-T2			QPSK, 16-QAM, 64-QAM and 256-QAM.
DVB-S			No need to set. It supports only QPSK.
DVB-S2			QPSK, 8-PSK, 16-APSK and 32-APSK.
DVB-S2X			8-APSK-L, 16-APSK-L, 32-APSK-L, 64-APSK and 64-APSK-L.
ISDB-T			QPSK, DQPSK, 16-QAM and 64-QAM.
ISDB-S			8-PSK, QPSK and BPSK.
======================= =======================================================

.. note::

   As DVB-S2X specifies extensions to the DVB-S2 standard, the same
   delivery system enum value is used (SYS_DVBS2).

   Please notice that some of the above modulation types may not be
   defined currently at the Kernel. The reason is simple: no driver
   needed such definition yet.

대역폭, 스펙트럼 반전과 DiSEqC master

112-173

`DTV_BANDWIDTH_HZ`는 Hz 단위 채널 대역폭이며 지상파 delivery system에서만 설정해야 합니다. 가능한 수치는 `1712000`, `5000000`, `6000000`, `7000000`, `8000000`, `10000000`입니다.

지상파 표준별 대역폭
지상파 표준가능한 대역폭
ATSC version 1항상 6MHz이므로 설정 불필요
DMTB항상 8MHz이므로 설정 불필요
DVB-T6MHz, 7MHz, 8MHz
DVB-T21.172MHz, 5MHz, 6MHz, 7MHz, 8MHz, 10MHz
ISDB-T5MHz, 6MHz, 7MHz, 8MHz; 대부분 지역은 6MHz

원문이 제시하는 대역폭과 설정 필요 여부입니다.

ISDB-Tsb 대역폭은 연결된 segment 수에 따라 달라지며 `DTV_ISDBT_SB_SEGMENT_IDX`와 `DTV_ISDBT_SB_SEGMENT_COUNT`에서 쉽게 계산할 수 있습니다.

위성과 케이블에서는 대역폭이 symbol rate에 따라 결정됩니다. 커널은 `DTV_BANDWIDTH_HZ` 설정을 조용히 무시하고 추정한 대역폭으로 덮어씁니다.

대역폭 추정에는 `DTV_SYMBOL_RATE`의 symbol rate와 rolloff factor가 쓰입니다. DVB-C와 DVB-S의 rolloff는 고정이고, DVB-S2에서는 `DTV_ROLLOFF`도 설정해야 합니다.

`DTV_INVERSION`은 frontend가 스펙트럼 반전을 수행할지를 정하며 허용값은 `fe_spectral_inversion`에 정의됩니다. `DTV_DISEQC_MASTER`는 현재 구현되어 있지 않습니다.

.. _DTV-BANDWIDTH-HZ:

DTV_BANDWIDTH_HZ
================

Bandwidth for the channel, in HZ.

Should be set only for terrestrial delivery systems.

Possible values: ``1712000``, ``5000000``, ``6000000``, ``7000000``,
``8000000``, ``10000000``.

======================= =======================================================
Terrestrial Standard	Possible values for bandwidth
======================= =======================================================
ATSC (version 1)	No need to set. It is always 6MHz.
DMTB			No need to set. It is always 8MHz.
DVB-T			6MHz, 7MHz and 8MHz.
DVB-T2			1.172 MHz, 5MHz, 6MHz, 7MHz, 8MHz and 10MHz
ISDB-T			5MHz, 6MHz, 7MHz and 8MHz, although most places
			use 6MHz.
======================= =======================================================


.. note::


  #. For ISDB-Tsb, the bandwidth can vary depending on the number of
     connected segments.

     It can be easily derived from other parameters
     (DTV_ISDBT_SB_SEGMENT_IDX, DTV_ISDBT_SB_SEGMENT_COUNT).

  #. On Satellite and Cable delivery systems, the bandwidth depends on
     the symbol rate. The kernel will silently ignore any :ref:`DTV-BANDWIDTH-HZ`
     setting and overwrites it with bandwidth estimation.

     Such bandwidth estimation takes into account the symbol rate set with
     :ref:`DTV-SYMBOL-RATE`, and the rolloff factor, with is fixed for
     DVB-C and DVB-S.

     For DVB-S2, the rolloff should also be set via :ref:`DTV-ROLLOFF`.


.. _DTV-INVERSION:

DTV_INVERSION
=============

Specifies if the frontend should do spectral inversion or not.

The acceptable values are defined by :c:type:`fe_spectral_inversion`.


.. _DTV-DISEQC-MASTER:

DTV_DISEQC_MASTER
=================

Currently not implemented.

케이블·위성 property와 미구현 항목

174-264

`DTV_SYMBOL_RATE`는 케이블과 위성 delivery system에서 사용하는 초당 symbol 수, 즉 baud 단위의 Digital TV symbol rate입니다.

`DTV_INNER_FEC` 역시 케이블과 위성에서 사용하며 허용값은 `fe_code_rate`에 정의됩니다.

`DTV_VOLTAGE`는 위성 system용입니다. DiSEqC를 지원하지 않는 LNB에서는 보통 전압으로 수평/수직 편파를 바꾸고, DiSEqC 장비에서는 DiSEqC 명세의 command와 일관되게 전압을 전환해야 합니다. 값은 `fe_sec_voltage`를 따릅니다.

`DTV_TONE`은 현재 사용되지 않습니다. `DTV_DISEQC_SLAVE_REPLY`, `DTV_FE_CAPABILITY_COUNT`, `DTV_FE_CAPABILITY`도 현재 구현되어 있지 않습니다.

`DTV_PILOT`은 DVB-S2 pilot을 설정하며 `fe_pilot` 값을 사용합니다. `DTV_ROLLOFF`는 DVB-S2 rolloff를 설정하며 `fe_rolloff` 값을 사용합니다.

케이블·위성 관련 property
Property적용 범위 또는 상태
DTV_SYMBOL_RATE케이블/위성, baud 단위
DTV_INNER_FEC케이블/위성, fe_code_rate
DTV_VOLTAGE위성, fe_sec_voltage
DTV_TONE현재 사용하지 않음
DTV_PILOTDVB-S2, fe_pilot
DTV_ROLLOFFDVB-S2, fe_rolloff
DTV_DISEQC_SLAVE_REPLY현재 미구현
DTV_FE_CAPABILITY_COUNT현재 미구현
DTV_FE_CAPABILITY현재 미구현

사용 영역과 값 정의 또는 구현 상태를 함께 정리합니다.

.. _DTV-SYMBOL-RATE:

DTV_SYMBOL_RATE
===============

Used on cable and satellite delivery systems.

Digital TV symbol rate, in bauds (symbols/second).


.. _DTV-INNER-FEC:

DTV_INNER_FEC
=============

Used on cable and satellite delivery systems.

The acceptable values are defined by :c:type:`fe_code_rate`.


.. _DTV-VOLTAGE:

DTV_VOLTAGE
===========

Used on satellite delivery systems.

The voltage is usually used with non-DiSEqC capable LNBs to switch the
polarization (horizontal/vertical). When using DiSEqC equipment this
voltage has to be switched consistently to the DiSEqC commands as
described in the DiSEqC spec.

The acceptable values are defined by :c:type:`fe_sec_voltage`.


.. _DTV-TONE:

DTV_TONE
========

Currently not used.


.. _DTV-PILOT:

DTV_PILOT
=========

Used on DVB-S2.

Sets DVB-S2 pilot.

The acceptable values are defined by :c:type:`fe_pilot`.


.. _DTV-ROLLOFF:

DTV_ROLLOFF
===========

Used on DVB-S2.

Sets DVB-S2 rolloff.

The acceptable values are defined by :c:type:`fe_rolloff`.


.. _DTV-DISEQC-SLAVE-REPLY:

DTV_DISEQC_SLAVE_REPLY
======================

Currently not implemented.


.. _DTV-FE-CAPABILITY-COUNT:

DTV_FE_CAPABILITY_COUNT
=======================

Currently not implemented.


.. _DTV-FE-CAPABILITY:

DTV_FE_CAPABILITY
=================

Currently not implemented.

Delivery system과 ISDB-T/Tsb 채널 선택

265-345

`DTV_DELIVERY_SYSTEM`은 delivery system의 형식을 지정하며 허용값은 `fe_delivery_system`에 정의됩니다.

`DTV_ISDBT_PARTIAL_RECEPTION`은 ISDB에서만 사용합니다. `DTV_ISDBT_SOUND_BROADCASTING`이 0이면 채널이 partial reception mode인지 나타냅니다. 값이 1이면 `DTV_ISDBT_LAYERA_*`를 중앙 segment에 배정하고 `DTV_ISDBT_LAYERA_SEGMENT_COUNT`를 1로 해야 합니다.

sound broadcasting도 1이면 `DTV_ISDBT_PARTIAL_RECEPTION`은 이 ISDB-Tsb 채널이 1개 segment와 1개 layer로 구성되는지, 아니면 3개 segment와 2개 layer로 구성되는지를 나타냅니다. 가능한 값은 0, 1, -1(`AUTO`)입니다.

`DTV_ISDBT_SOUND_BROADCASTING`은 다른 `DTV_ISDBT_*` 매개변수가 ISDB-T 채널을 가리키는지 ISDB-Tsb 채널을 가리키는지 구분합니다. 가능한 값은 0, 1, -1(`AUTO`)입니다.

`DTV_ISDBT_SB_SUBCHANNEL_ID`는 sound broadcasting이 1일 때만 적용합니다. 1개 또는 3개 segment인 ISDB-Tsb 채널은 단독으로 송출하거나 연결된 채널 집합으로 송출할 수 있고, 집합 안의 각 채널은 독립적으로 수신할 수 있습니다.

연결 segment 수는 사용 가능한 주파수 대역폭에 따라 달라질 수 있습니다. 예를 들어 8개 연결 segment를 일반 13-segment ISDB-T 스펙트럼의 위치 1~8, 5~13 또는 그 사이 어느 위치에도 정렬할 수 있습니다.

segment 아래에는 미리 정의된 ID를 가진 sub-channel들이 있으며 demodulator가 채널에 동기화하는 데 사용됩니다. 일반 ISDB-T는 모든 sub-channel의 중앙에 놓이지만 ISDB-Tsb 연결 채널은 그렇지 않으므로, 복조할 segment의 sub-channel ID를 이 property로 전달합니다. 범위는 0~41 또는 -1(`AUTO`)입니다.

ISDB 채널 선택 property
Property가능한 값
DTV_ISDBT_PARTIAL_RECEPTION0, 1, -1(AUTO)
DTV_ISDBT_SOUND_BROADCASTING0, 1, -1(AUTO)
DTV_ISDBT_SB_SUBCHANNEL_ID0~41, -1(AUTO)

ISDB-T와 ISDB-Tsb의 mode 및 식별값 범위입니다.

.. _DTV-DELIVERY-SYSTEM:

DTV_DELIVERY_SYSTEM
===================

Specifies the type of the delivery system.

The acceptable values are defined by :c:type:`fe_delivery_system`.


.. _DTV-ISDBT-PARTIAL-RECEPTION:

DTV_ISDBT_PARTIAL_RECEPTION
===========================

Used only on ISDB.

If ``DTV_ISDBT_SOUND_BROADCASTING`` is '0' this bit field represents
whether the channel is in partial reception mode or not.

If '1' ``DTV_ISDBT_LAYERA_*`` values are assigned to the center segment
and ``DTV_ISDBT_LAYERA_SEGMENT_COUNT`` has to be '1'.

If in addition ``DTV_ISDBT_SOUND_BROADCASTING`` is '1'
``DTV_ISDBT_PARTIAL_RECEPTION`` represents whether this ISDB-Tsb channel
is consisting of one segment and layer or three segments and two layers.

Possible values: 0, 1, -1 (AUTO)


.. _DTV-ISDBT-SOUND-BROADCASTING:

DTV_ISDBT_SOUND_BROADCASTING
============================

Used only on ISDB.

This field represents whether the other DTV_ISDBT_*-parameters are
referring to an ISDB-T and an ISDB-Tsb channel. (See also
``DTV_ISDBT_PARTIAL_RECEPTION``).

Possible values: 0, 1, -1 (AUTO)


.. _DTV-ISDBT-SB-SUBCHANNEL-ID:

DTV_ISDBT_SB_SUBCHANNEL_ID
==========================

Used only on ISDB.

This field only applies if ``DTV_ISDBT_SOUND_BROADCASTING`` is '1'.

(Note of the author: This might not be the correct description of the
``SUBCHANNEL-ID`` in all details, but it is my understanding of the
technical background needed to program a device)

An ISDB-Tsb channel (1 or 3 segments) can be broadcasted alone or in a
set of connected ISDB-Tsb channels. In this set of channels every
channel can be received independently. The number of connected ISDB-Tsb
segment can vary, e.g. depending on the frequency spectrum bandwidth
available.

Example: Assume 8 ISDB-Tsb connected segments are broadcasted. The
broadcaster has several possibilities to put those channels in the air:
Assuming a normal 13-segment ISDB-T spectrum he can align the 8 segments
from position 1-8 to 5-13 or anything in between.

The underlying layer of segments are sub-channels: each segment is
consisting of several sub-channels with a predefined IDs. A sub-channel
is used to help the demodulator to synchronize on the channel.

An ISDB-T channel is always centered over all sub-channels. As for the
example above, in ISDB-Tsb it is no longer as simple as that.

``The DTV_ISDBT_SB_SUBCHANNEL_ID`` parameter is used to give the
sub-channel ID of the segment to be demodulated.

Possible values: 0 .. 41, -1 (AUTO)

ISDB-Tsb segment와 계층 layer

346-398

`DTV_ISDBT_SB_SEGMENT_IDX`는 sound broadcasting이 1인 연결형 ISDB-Tsb 채널에서 복조할 segment의 index입니다. 범위는 0부터 `DTV_ISDBT_SB_SEGMENT_COUNT - 1`까지이며 자동 채널 검색으로 알아낼 수 없습니다.

`DTV_ISDBT_SB_SEGMENT_COUNT`는 연결된 ISDB-Tsb 채널의 전체 수입니다. 범위는 1~13이며 이 값도 자동 채널 검색으로 결정할 수 없습니다.

`DTV_ISDBT_LAYER[A-C]` 매개변수는 ISDB 계층 부호화를 제어합니다. DVB-T와 달리 ISDB-T의 계층 layer는 동시에 복호화할 수 있으므로 ISDB-T demodulator에는 Viterbi decoder 3개와 Reed-Solomon decoder 3개가 있습니다.

ISDB-T에는 A, B, C 세 계층 layer가 있고 각 layer가 사용 가능한 segment 일부를 차지할 수 있습니다. 일반 ISDB-T에서는 모든 layer의 segment 수 합계가 13이어야 하며, 각 layer에 대응하는 세 매개변수 집합이 제공됩니다.

ISDB-Tsb segment 제어
항목설명
DTV_ISDBT_SB_SEGMENT_IDX0~SEGMENT_COUNT-1; 자동 검색 불가
DTV_ISDBT_SB_SEGMENT_COUNT1~13; 자동 검색 불가
DTV_ISDBT_LAYER[A-C]A/B/C 세 계층별 매개변수 집합

연결된 채널에서 직접 제공해야 하는 위치와 개수입니다.

.. _DTV-ISDBT-SB-SEGMENT-IDX:

DTV_ISDBT_SB_SEGMENT_IDX
========================

Used only on ISDB.

This field only applies if ``DTV_ISDBT_SOUND_BROADCASTING`` is '1'.

``DTV_ISDBT_SB_SEGMENT_IDX`` gives the index of the segment to be
demodulated for an ISDB-Tsb channel where several of them are
transmitted in the connected manner.

Possible values: 0 .. ``DTV_ISDBT_SB_SEGMENT_COUNT`` - 1

Note: This value cannot be determined by an automatic channel search.


.. _DTV-ISDBT-SB-SEGMENT-COUNT:

DTV_ISDBT_SB_SEGMENT_COUNT
==========================

Used only on ISDB.

This field only applies if ``DTV_ISDBT_SOUND_BROADCASTING`` is '1'.

``DTV_ISDBT_SB_SEGMENT_COUNT`` gives the total count of connected
ISDB-Tsb channels.

Possible values: 1 .. 13

Note: This value cannot be determined by an automatic channel search.


.. _isdb-hierq-layers:

DTV-ISDBT-LAYER[A-C] parameters
===============================

Used only on ISDB.

ISDB-T channels can be coded hierarchically. As opposed to DVB-T in
ISDB-T hierarchical layers can be decoded simultaneously. For that
reason a ISDB-T demodulator has 3 Viterbi and 3 Reed-Solomon decoders.

ISDB-T has 3 hierarchical layers which each can use a part of the
available segments. The total number of segments over all layers has to
13 in ISDB-T.

There are 3 parameter sets, for Layers A, B and C.

ISDB-T layer 활성화, FEC와 변조

399-465

`DTV_ISDBT_LAYER_ENABLED`는 복호화 과정에서 ISDB-T layer를 켜거나 꺼 계층 수신을 제어합니다. 모든 bit를 1로 두면 적용 가능한 모든 layer를 복조하며 이것이 기본값입니다.

partial reception mode에서 중앙 segment는 나머지 12개와 독립적으로 복호화할 수 있고, 이때 layer A의 `SEGMENT_COUNT`는 1이어야 합니다. ISDB-Tsb는 layer A만 사용하며 partial reception 값에 따라 segment 수가 1 또는 3이므로 `SEGMENT_COUNT`도 맞춰야 합니다.

DTV_ISDBT_LAYER_ENABLED bit
Bit의미
bit 0layer A 활성화
bit 1layer B 활성화
bit 2layer C 활성화
bit 3~31사용하지 않음

하위 3bit만 사용하며 bit 3~31은 조용히 무시합니다.

`DTV_ISDBT_LAYER[A-C]_FEC`는 각 ISDB layer의 Forward Error Correction 방식입니다. `fe_code_rate`가 정의한 `FEC_AUTO`, `FEC_1_2`, `FEC_2_3`, `FEC_3_4`, `FEC_5_6`, `FEC_7_8`을 사용할 수 있습니다.

`DTV_ISDBT_LAYER[A-C]_MODULATION`은 각 layer의 변조 방식이며 `fe_modulation`을 따릅니다. 가능한 값은 `QAM_AUTO`, `QPSK`, `QAM_16`, `QAM_64`, `DQPSK`입니다.

layer C가 `DQPSK`이면 layer B도 `DQPSK`여야 합니다. layer B가 `DQPSK`이고 `DTV_ISDBT_PARTIAL_RECEPTION = 0`이면 원문에 적힌 해당 layer 역시 `DQPSK`여야 합니다.

.. _DTV-ISDBT-LAYER-ENABLED:

DTV_ISDBT_LAYER_ENABLED
-----------------------

Used only on ISDB.

Hierarchical reception in ISDB-T is achieved by enabling or disabling
layers in the decoding process. Setting all bits of
``DTV_ISDBT_LAYER_ENABLED`` to '1' forces all layers (if applicable) to
be demodulated. This is the default.

If the channel is in the partial reception mode
(``DTV_ISDBT_PARTIAL_RECEPTION`` = 1) the central segment can be decoded
independently of the other 12 segments. In that mode layer A has to have
a ``SEGMENT_COUNT`` of 1.

In ISDB-Tsb only layer A is used, it can be 1 or 3 in ISDB-Tsb according
to ``DTV_ISDBT_PARTIAL_RECEPTION``. ``SEGMENT_COUNT`` must be filled
accordingly.

Only the values of the first 3 bits are used. Other bits will be silently ignored:

``DTV_ISDBT_LAYER_ENABLED`` bit 0: layer A enabled

``DTV_ISDBT_LAYER_ENABLED`` bit 1: layer B enabled

``DTV_ISDBT_LAYER_ENABLED`` bit 2: layer C enabled

``DTV_ISDBT_LAYER_ENABLED`` bits 3-31: unused


.. _DTV-ISDBT-LAYER-FEC:

DTV_ISDBT_LAYER[A-C]_FEC
------------------------

Used only on ISDB.

The Forward Error Correction mechanism used by a given ISDB Layer, as
defined by :c:type:`fe_code_rate`.


Possible values are: ``FEC_AUTO``, ``FEC_1_2``, ``FEC_2_3``, ``FEC_3_4``,
``FEC_5_6``, ``FEC_7_8``


.. _DTV-ISDBT-LAYER-MODULATION:

DTV_ISDBT_LAYER[A-C]_MODULATION
-------------------------------

Used only on ISDB.

The modulation used by a given ISDB Layer, as defined by
:c:type:`fe_modulation`.

Possible values are: ``QAM_AUTO``, ``QPSK``, ``QAM_16``, ``QAM_64``, ``DQPSK``

.. note::

   #. If layer C is ``DQPSK``, then layer B has to be ``DQPSK``.

   #. If layer B is ``DQPSK`` and ``DTV_ISDBT_PARTIAL_RECEPTION``\ = 0,
      then layer has to be ``DQPSK``.

ISDB-T layer segment 수 진리표

466-556

`DTV_ISDBT_LAYER[A-C]_SEGMENT_COUNT`는 각 layer의 segment 수입니다. 가능한 값은 0~13과 -1(`AUTO`)입니다.

다음 표는 `DTV_ISDBT_SOUND_BROADCASTING`, `DTV_ISDBT_PARTIAL_RECEPTION`, 각 `LAYER[A-C]_SEGMENT_COUNT`의 원문 진리표를 같은 구조로 정리한 것입니다.

ISDB-T Sound Broadcasting 진리표
Partial ReceptionSound BroadcastingLayer A 폭Layer B 폭Layer C 폭전체 폭
001~131~131~1313
1011~131~1313
011001
1112013

Partial reception과 sound broadcasting 조합별 layer 폭입니다.

진리표의 수치는 원문을 그대로 보존했습니다. 특히 마지막 행의 전체 폭 `13`도 자동 보정하지 않습니다.

.. _DTV-ISDBT-LAYER-SEGMENT-COUNT:

DTV_ISDBT_LAYER[A-C]_SEGMENT_COUNT
----------------------------------

Used only on ISDB.

Possible values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, -1 (AUTO)

Note: Truth table for ``DTV_ISDBT_SOUND_BROADCASTING`` and
``DTV_ISDBT_PARTIAL_RECEPTION`` and ``LAYER[A-C]_SEGMENT_COUNT``

.. _isdbt-layer_seg-cnt-table:

.. flat-table:: Truth table for ISDB-T Sound Broadcasting
    :header-rows:  1
    :stub-columns: 0


    -  .. row 1

       -  Partial Reception

       -  Sound Broadcasting

       -  Layer A width

       -  Layer B width

       -  Layer C width

       -  total width

    -  .. row 2

       -  0

       -  0

       -  1 .. 13

       -  1 .. 13

       -  1 .. 13

       -  13

    -  .. row 3

       -  1

       -  0

       -  1

       -  1 .. 13

       -  1 .. 13

       -  13

    -  .. row 4

       -  0

       -  1

       -  1

       -  0

       -  0

       -  1

    -  .. row 5

       -  1

       -  1

       -  1

       -  2

       -  0

       -  13


ISDB-T layer time interleaving

557-631

`DTV_ISDBT_LAYER[A-C]_TIME_INTERLEAVING`은 ISDB에서만 사용합니다. 유효값은 0, 1, 2, 4와 -1(`AUTO`)이며 `DTV_ISDBT_SOUND_BROADCASTING`이 활성화된 경우 8도 유효합니다.

실제 time interleaving 길이는 mode, 즉 FFT 크기에 따라 달라집니다. property 값은 TMCC 구조에 기록되는 값이며 원문의 `isdbt_layer_interleaving_table`은 다음과 같이 mode별 길이를 대응시킵니다.

ISDB-T time interleaving mode
DTV_ISDBT_LAYER[A-C]_TIME_INTERLEAVINGMode 1 (2K FFT)Mode 2 (4K FFT)Mode 3 (8K FFT)
0000
1421
2842
41684

Property 값과 2K/4K/8K FFT mode의 실제 interleaving 길이입니다.

Interleaving 값 해석
TMCC에서 interleaving property 값 확인현재 ISDB-T mode의 FFT 크기 확인2K, 4K, 8K 열에서 실제 길이 선택Sound Broadcasting에서는 값 8 허용 여부 추가 확인

같은 property 값도 FFT mode에 따라 실제 길이가 달라집니다.

.. _DTV-ISDBT-LAYER-TIME-INTERLEAVING:

DTV_ISDBT_LAYER[A-C]_TIME_INTERLEAVING
--------------------------------------

Used only on ISDB.

Valid values: 0, 1, 2, 4, -1 (AUTO)

when DTV_ISDBT_SOUND_BROADCASTING is active, value 8 is also valid.

Note: The real time interleaving length depends on the mode (fft-size).
The values here are referring to what can be found in the
TMCC-structure, as shown in the table below.


.. c:type:: isdbt_layer_interleaving_table

.. flat-table:: ISDB-T time interleaving modes
    :header-rows:  1
    :stub-columns: 0


    -  .. row 1

       -  ``DTV_ISDBT_LAYER[A-C]_TIME_INTERLEAVING``

       -  Mode 1 (2K FFT)

       -  Mode 2 (4K FFT)

       -  Mode 3 (8K FFT)

    -  .. row 2

       -  0

       -  0

       -  0

       -  0

    -  .. row 3

       -  1

       -  4

       -  2

       -  1

    -  .. row 4

       -  2

       -  8

       -  4

       -  2

    -  .. row 5

       -  4

       -  16

       -  8

       -  4


ATSC-M/H FIC와 parade 식별값

632-710

이 절의 property는 모두 ATSC-M/H에서만 사용합니다. `DTV_ATSCMH_FIC_VER`는 FIC(Fast Information Channel) signaling data의 version 번호입니다. FIC는 receiver가 서비스를 빠르게 획득하도록 정보를 전달하며 값 범위는 0~31입니다.

`DTV_ATSCMH_PARADE_ID`는 parade 식별 번호입니다. parade는 최대 8개의 MH group을 묶어 하나 또는 두 개의 ensemble을 운반하며 값 범위는 0~127입니다.

`DTV_ATSCMH_NOG`는 지정 parade에서 MH subframe당 MH group 수이며 1~8입니다. `DTV_ATSCMH_TNOG`는 한 MH subframe에 있는 모든 parade 소속 MH group의 총수이며 0~31입니다.

`DTV_ATSCMH_SGN`은 start group number이고 범위는 0~15입니다. `DTV_ATSCMH_PRC`는 parade repetition cycle이며 범위는 1~8입니다.

ATSC-M/H 식별·개수 property
항목설명
DTV_ATSCMH_FIC_VERFIC version, 0~31
DTV_ATSCMH_PARADE_IDParade ID, 0~127
DTV_ATSCMH_NOGParade별 subframe당 group 수, 1~8
DTV_ATSCMH_TNOGSubframe의 전체 group 수, 0~31
DTV_ATSCMH_SGNStart group number, 0~15
DTV_ATSCMH_PRCParade repetition cycle, 1~8

FIC 및 parade 구성 수치의 원문 범위입니다.

.. _DTV-ATSCMH-FIC-VER:

DTV_ATSCMH_FIC_VER
------------------

Used only on ATSC-MH.

Version number of the FIC (Fast Information Channel) signaling data.

FIC is used for relaying information to allow rapid service acquisition
by the receiver.

Possible values: 0, 1, 2, 3, ..., 30, 31


.. _DTV-ATSCMH-PARADE-ID:

DTV_ATSCMH_PARADE_ID
--------------------

Used only on ATSC-MH.

Parade identification number

A parade is a collection of up to eight MH groups, conveying one or two
ensembles.

Possible values: 0, 1, 2, 3, ..., 126, 127


.. _DTV-ATSCMH-NOG:

DTV_ATSCMH_NOG
--------------

Used only on ATSC-MH.

Number of MH groups per MH subframe for a designated parade.

Possible values: 1, 2, 3, 4, 5, 6, 7, 8


.. _DTV-ATSCMH-TNOG:

DTV_ATSCMH_TNOG
---------------

Used only on ATSC-MH.

Total number of MH groups including all MH groups belonging to all MH
parades in one MH subframe.

Possible values: 0, 1, 2, 3, ..., 30, 31


.. _DTV-ATSCMH-SGN:

DTV_ATSCMH_SGN
--------------

Used only on ATSC-MH.

Start group number.

Possible values: 0, 1, 2, 3, ..., 14, 15


.. _DTV-ATSCMH-PRC:

DTV_ATSCMH_PRC
--------------

Used only on ATSC-MH.

Parade repetition cycle.

Possible values: 1, 2, 3, 4, 5, 6, 7, 8

ATSC-M/H RS frame과 SCCC block

711-770

`DTV_ATSCMH_RS_FRAME_MODE`는 Reed-Solomon(RS) frame mode이며 허용값은 `atscmh_rs_frame_mode`에 정의됩니다.

`DTV_ATSCMH_RS_FRAME_ENSEMBLE`은 RS frame ensemble이며 `atscmh_rs_frame_ensemble` 값을 사용합니다.

`DTV_ATSCMH_RS_CODE_MODE_PRI`와 `DTV_ATSCMH_RS_CODE_MODE_SEC`는 각각 primary와 secondary RS code mode입니다. 두 property 모두 `atscmh_rs_code_mode`에 정의된 값을 사용합니다.

`DTV_ATSCMH_SCCC_BLOCK_MODE`는 Series Concatenated Convolutional Code Block Mode이며 허용값은 `atscmh_sccc_block_mode`에 정의됩니다.

ATSC-M/H RS와 SCCC mode
Property허용값 enum
DTV_ATSCMH_RS_FRAME_MODEatscmh_rs_frame_mode
DTV_ATSCMH_RS_FRAME_ENSEMBLEatscmh_rs_frame_ensemble
DTV_ATSCMH_RS_CODE_MODE_PRIatscmh_rs_code_mode
DTV_ATSCMH_RS_CODE_MODE_SECatscmh_rs_code_mode
DTV_ATSCMH_SCCC_BLOCK_MODEatscmh_sccc_block_mode

각 property가 참조하는 enum 형식입니다.

.. _DTV-ATSCMH-RS-FRAME-MODE:

DTV_ATSCMH_RS_FRAME_MODE
------------------------

Used only on ATSC-MH.

Reed Solomon (RS) frame mode.

The acceptable values are defined by :c:type:`atscmh_rs_frame_mode`.


.. _DTV-ATSCMH-RS-FRAME-ENSEMBLE:

DTV_ATSCMH_RS_FRAME_ENSEMBLE
----------------------------

Used only on ATSC-MH.

Reed Solomon (RS) frame ensemble.

The acceptable values are defined by :c:type:`atscmh_rs_frame_ensemble`.


.. _DTV-ATSCMH-RS-CODE-MODE-PRI:

DTV_ATSCMH_RS_CODE_MODE_PRI
---------------------------

Used only on ATSC-MH.

Reed Solomon (RS) code mode (primary).

The acceptable values are defined by :c:type:`atscmh_rs_code_mode`.


.. _DTV-ATSCMH-RS-CODE-MODE-SEC:

DTV_ATSCMH_RS_CODE_MODE_SEC
---------------------------

Used only on ATSC-MH.

Reed Solomon (RS) code mode (secondary).

The acceptable values are defined by :c:type:`atscmh_rs_code_mode`.


.. _DTV-ATSCMH-SCCC-BLOCK-MODE:

DTV_ATSCMH_SCCC_BLOCK_MODE
--------------------------

Used only on ATSC-MH.

Series Concatenated Convolutional Code Block Mode.

The acceptable values are defined by :c:type:`atscmh_sccc_block_mode`.

ATSC-M/H SCCC code mode A~D

771-820

`DTV_ATSCMH_SCCC_CODE_MODE_A`, `DTV_ATSCMH_SCCC_CODE_MODE_B`, `DTV_ATSCMH_SCCC_CODE_MODE_C`, `DTV_ATSCMH_SCCC_CODE_MODE_D`는 모두 ATSC-M/H에서만 사용하는 Series Concatenated Convolutional Code Rate입니다.

A property의 허용값은 `atscmh_sccc_code_mode`에 정의됩니다. B, C, D property도 같은 enum에 문서화된 값을 사용합니다.

SCCC code rate property
Property값 정의
DTV_ATSCMH_SCCC_CODE_MODE_Aatscmh_sccc_code_mode
DTV_ATSCMH_SCCC_CODE_MODE_Batscmh_sccc_code_mode
DTV_ATSCMH_SCCC_CODE_MODE_Catscmh_sccc_code_mode
DTV_ATSCMH_SCCC_CODE_MODE_Datscmh_sccc_code_mode

A~D 각 구성요소가 공통 enum을 사용합니다.

.. _DTV-ATSCMH-SCCC-CODE-MODE-A:

DTV_ATSCMH_SCCC_CODE_MODE_A
---------------------------

Used only on ATSC-MH.

Series Concatenated Convolutional Code Rate.

The acceptable values are defined by :c:type:`atscmh_sccc_code_mode`.

.. _DTV-ATSCMH-SCCC-CODE-MODE-B:

DTV_ATSCMH_SCCC_CODE_MODE_B
---------------------------

Used only on ATSC-MH.

Series Concatenated Convolutional Code Rate.

Possible values are the same as documented on enum
:c:type:`atscmh_sccc_code_mode`.


.. _DTV-ATSCMH-SCCC-CODE-MODE-C:

DTV_ATSCMH_SCCC_CODE_MODE_C
---------------------------

Used only on ATSC-MH.

Series Concatenated Convolutional Code Rate.

Possible values are the same as documented on enum
:c:type:`atscmh_sccc_code_mode`.


.. _DTV-ATSCMH-SCCC-CODE-MODE-D:

DTV_ATSCMH_SCCC_CODE_MODE_D
---------------------------

Used only on ATSC-MH.

Series Concatenated Convolutional Code Rate.

Possible values are the same as documented on enum
:c:type:`atscmh_sccc_code_mode`.

API version, code rate와 guard interval

821-869

`DTV_API_VERSION`은 Digital TV API의 major/minor version을 반환합니다.

`DTV_CODE_RATE_HP`와 `DTV_CODE_RATE_LP`는 지상파 전송에서 사용합니다. 원문은 두 property의 허용값이 `fe_transmit_mode`에 정의된다고 명시하므로 그 symbol을 그대로 보존합니다.

`DTV_GUARD_INTERVAL`의 허용값은 `fe_guard_interval`에 정의됩니다. `GUARD_INTERVAL_AUTO`로 설정하면 지원 하드웨어가 올바른 guard interval을 탐색하고 TMCC를 사용해 빠진 매개변수를 채웁니다.

표준별 특수 guard interval
Interval적용 표준
GUARD_INTERVAL_1_64DVB-C2 전용
GUARD_INTERVAL_1_128DVB-C2와 DVB-T2
GUARD_INTERVAL_19_128DVB-T2 전용
GUARD_INTERVAL_19_256DVB-T2 전용
GUARD_INTERVAL_PN420현재 DMTB 전용
GUARD_INTERVAL_PN595현재 DMTB 전용
GUARD_INTERVAL_PN945현재 DMTB 전용

AUTO 외에 특정 표준에서만 유효한 interval입니다.

현재 DMTB에서는 세 PN interval과 `GUARD_INTERVAL_AUTO`만 유효합니다.

.. _DTV-API-VERSION:

DTV_API_VERSION
===============

Returns the major/minor version of the Digital TV API


.. _DTV-CODE-RATE-HP:

DTV_CODE_RATE_HP
================

Used on terrestrial transmissions.

The acceptable values are defined by :c:type:`fe_transmit_mode`.


.. _DTV-CODE-RATE-LP:

DTV_CODE_RATE_LP
================

Used on terrestrial transmissions.

The acceptable values are defined by :c:type:`fe_transmit_mode`.


.. _DTV-GUARD-INTERVAL:

DTV_GUARD_INTERVAL
==================

The acceptable values are defined by :c:type:`fe_guard_interval`.

.. note::

   #. If ``DTV_GUARD_INTERVAL`` is set the ``GUARD_INTERVAL_AUTO`` the
      hardware will try to find the correct guard interval (if capable) and
      will use TMCC to fill in the missing parameters.
   #. Interval ``GUARD_INTERVAL_1_64`` is used only for DVB-C2.
   #. Interval ``GUARD_INTERVAL_1_128`` is used for both DVB-C2 and DVB_T2.
   #. Intervals ``GUARD_INTERVAL_19_128`` and ``GUARD_INTERVAL_19_256`` are
      used only for DVB-T2.
   #. Intervals ``GUARD_INTERVAL_PN420``, ``GUARD_INTERVAL_PN595`` and
      ``GUARD_INTERVAL_PN945`` are used only for DMTB at the present.
      On such standard, only those intervals and ``GUARD_INTERVAL_AUTO``
      are valid.

FFT 기반 transmission mode

870-906

`DTV_TRANSMISSION_MODE`는 원문이 `OFTM-based`라고 표현한 DVB-T/T2, ISDB-T, DTMB 같은 표준에서만 사용합니다. 이 property는 표준이 사용하는 FFT 크기, 즉 대략적인 반송파 수를 지정하며 값은 `fe_transmit_mode`에 정의됩니다.

ISDB-T는 8K, 4K, 2K의 세 carrier/symbol 크기를 지원하고 이를 mode 1~3이라고 부릅니다. 원문 표의 대응은 다음과 같습니다.

ISDB-T mode와 FFT 크기
ModeFFT 크기Transmission mode
12KTRANSMISSION_MODE_2K
24KTRANSMISSION_MODE_4K
38KTRANSMISSION_MODE_8K

Mode 번호와 transmission mode symbol의 대응입니다.

`TRANSMISSION_MODE_AUTO`를 사용하면 지원 하드웨어가 알맞은 FFT 크기를 찾고 TMCC로 빠진 매개변수를 채웁니다.

표준별 유효 FFT mode
항목설명
DVB-T2K, 8K
DVB-T21K, 2K, 4K, 8K, 16K, 32K
DTMBC1, C3780

원문에 열거된 transmission 크기입니다.

.. _DTV-TRANSMISSION-MODE:

DTV_TRANSMISSION_MODE
=====================


Used only on OFTM-based standards, e. g. DVB-T/T2, ISDB-T, DTMB.

Specifies the FFT size (with corresponds to the approximate number of
carriers) used by the standard.

The acceptable values are defined by :c:type:`fe_transmit_mode`.

.. note::

   #. ISDB-T supports three carrier/symbol-size: 8K, 4K, 2K. It is called
      **mode** on such standard, and are numbered from 1 to 3:

      ====	========	========================
      Mode	FFT size	Transmission mode
      ====	========	========================
      1		2K		``TRANSMISSION_MODE_2K``
      2		4K		``TRANSMISSION_MODE_4K``
      3		8K		``TRANSMISSION_MODE_8K``
      ====	========	========================

   #. If ``DTV_TRANSMISSION_MODE`` is set the ``TRANSMISSION_MODE_AUTO``
      the hardware will try to find the correct FFT-size (if capable) and
      will use TMCC to fill in the missing parameters.

   #. DVB-T specifies 2K and 8K as valid sizes.

   #. DVB-T2 specifies 1K, 2K, 4K, 8K, 16K and 32K.

   #. DTMB specifies C1 and C3780.

Hierarchy, substream과 delivery system 열거

907-967

`DTV_HIERARCHY`는 DVB-T와 DVB-T2에서만 사용하는 frontend hierarchy이며 허용값은 `fe_hierarchy`에 정의됩니다.

`DTV_STREAM_ID`는 DVB-C2, DVB-S2, DVB-T2, ISDB-S에서 사용합니다. 이 표준들은 하나의 transport stream 안에 여러 stream을 전송할 수 있으며, 하드웨어가 지원하면 이 property로 driver가 substream filtering을 수행합니다. 기본값은 filtering 비활성화입니다.

DVB-C2, DVB-S2, DVB-T2의 유효 substream ID는 0~255이고 ISDB의 유효 범위는 1~65535입니다. filtering을 끄려면 `NO_STREAM_ID_FILTER`를 사용하며, ID 범위를 벗어난 값도 filtering을 비활성화합니다.

`DTV_DVBT2_PLP_ID_LEGACY`는 폐기되었고 `DTV_STREAM_ID`로 대체되었습니다.

`DTV_ENUM_DELSYS`는 multi-standard frontend가 제공하는 delivery system을 알리는 property입니다. 응용 프로그램은 frontend에 다른 연산을 수행하기 전에 제공되는 system을 열거해야 합니다.

이 property가 도입되기 전에는 `FE_GET_INFO`로 frontend 형식을 판별했지만 여러 delivery system을 제공하는 frontend에는 충분하지 않습니다. multi-standard frontend를 쓰는 응용 프로그램은 `FE_GET_INFO`로 추측하지 말고 연결된 delivery system을 열거해야 합니다. legacy frontend에서는 같은 결과를 더 구조화된 형식으로 얻습니다. 값은 `fe_delivery_system`을 따릅니다.

Stream ID 범위
항목설명
DVB-C2 / DVB-S2 / DVB-T20~255
ISDB-S1~65535
Filtering 비활성화NO_STREAM_ID_FILTER 또는 범위 밖 값

Delivery system별 유효 substream 식별자입니다.

.. _DTV-HIERARCHY:

DTV_HIERARCHY
=============

Used only on DVB-T and DVB-T2.

Frontend hierarchy.

The acceptable values are defined by :c:type:`fe_hierarchy`.


.. _DTV-STREAM-ID:

DTV_STREAM_ID
=============

Used on DVB-C2, DVB-S2, DVB-T2 and ISDB-S.

DVB-C2, DVB-S2, DVB-T2 and ISDB-S support the transmission of several
streams on a single transport stream. This property enables the digital
TV driver to handle substream filtering, when supported by the hardware.
By default, substream filtering is disabled.

For DVB-C2, DVB-S2 and DVB-T2, the valid substream id range is from 0 to
255.

For ISDB, the valid substream id range is from 1 to 65535.

To disable it, you should use the special macro NO_STREAM_ID_FILTER.

Note: any value outside the id range also disables filtering.


.. _DTV-DVBT2-PLP-ID-LEGACY:

DTV_DVBT2_PLP_ID_LEGACY
=======================

Obsolete, replaced with DTV_STREAM_ID.


.. _DTV-ENUM-DELSYS:

DTV_ENUM_DELSYS
===============

A Multi standard frontend needs to advertise the delivery systems
provided. Applications need to enumerate the provided delivery systems,
before using any other operation with the frontend. Prior to its
introduction, FE_GET_INFO was used to determine a frontend type. A
frontend which provides more than a single delivery system,
FE_GET_INFO doesn't help much. Applications which intends to use a
multistandard frontend must enumerate the delivery systems associated
with it, rather than trying to use FE_GET_INFO. In the case of a
legacy frontend, the result is just the same as with FE_GET_INFO, but
in a more structured format.

The acceptable values are defined by :c:type:`fe_delivery_system`.

Interleaving, LNA와 DVB-S2 scrambling

968-1013

`DTV_INTERLEAVING`은 사용할 time interleaving을 지정하며 허용값은 `fe_interleaving`에 정의됩니다.

`DTV_LNA`는 low-noise amplifier를 제어합니다. 하드웨어가 제어 가능한 LNA를 제공하면 이 property로 수동 설정할 수 있으며, 보통은 지상파 장치에서만 발견됩니다.

DTV_LNA 값
동작
0LNA 끄기
1LNA 켜기
LNA_AUTOLNA 자동 설정

LNA의 수동 및 자동 제어 값입니다.

`DTV_SCRAMBLING_SEQUENCE_INDEX`는 DVB-S2에서 사용합니다. 이 18bit field는 EN 302 307 5.5.4절에 정의된 DVB-S2 physical layer scrambling sequence의 index를 운반합니다.

scrambling sequence index를 receiver에 명시적으로 신호하는 방법은 없습니다. S2 satellite delivery system descriptor가 있으면 EN 300 468 표 41에 따라 그 descriptor에서 index를 읽을 수 있습니다.

기본값은 gold scrambling sequence index 0이고, 유효 범위는 0~262142입니다.

DVB-S2 scrambling index 선택
S2 satellite delivery system descriptor 존재 여부 확인있으면 EN 300 468 table 41에서 index 읽기없으면 기본 gold sequence index 0 사용설정값이 0~262142 범위인지 검증

Descriptor가 있을 때와 없을 때의 값 결정 순서입니다.

.. _DTV-INTERLEAVING:

DTV_INTERLEAVING
================

Time interleaving to be used.

The acceptable values are defined by :c:type:`fe_interleaving`.


.. _DTV-LNA:

DTV_LNA
=======

Low-noise amplifier.

Hardware might offer controllable LNA which can be set manually using
that parameter. Usually LNA could be found only from terrestrial devices
if at all.

Possible values: 0, 1, LNA_AUTO

0, LNA off

1, LNA on

use the special macro LNA_AUTO to set LNA auto


.. _DTV-SCRAMBLING-SEQUENCE-INDEX:

DTV_SCRAMBLING_SEQUENCE_INDEX
=============================

Used on DVB-S2.

This 18 bit field, when present, carries the index of the DVB-S2 physical
layer scrambling sequence as defined in clause 5.5.4 of EN 302 307.
There is no explicit signalling method to convey scrambling sequence index
to the receiver. If S2 satellite delivery system descriptor is available
it can be used to read the scrambling sequence index (EN 300 468 table 41).

By default, gold scrambling sequence index 0 is used.

The valid scrambling sequence index range is from 0 to 262142.