1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>struct dtv_frontend_properties</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Device Drivers"><link rel="up" href="ch06s02.html" title="Digital TV (DVB) devices"><link rel="prev" href="API-struct-dvb-frontend-ops.html" title="struct dvb_frontend_ops"><link rel="next" href="API-struct-dvb-frontend.html" title="struct dvb_frontend"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct dtv_frontend_properties</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-dvb-frontend-ops.html">Prev</a> </td><th width="60%" align="center">Digital TV (DVB) devices</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-dvb-frontend.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-dtv-frontend-properties"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct dtv_frontend_properties — 2 contains a list of properties that are specific to a digital TV standard. 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct dtv_frontend_properties { 5 u32 frequency; 6 enum fe_modulation modulation; 7 enum fe_sec_voltage voltage; 8 enum fe_sec_tone_mode sectone; 9 enum fe_spectral_inversion inversion; 10 enum fe_code_rate fec_inner; 11 enum fe_transmit_mode transmission_mode; 12 u32 bandwidth_hz; 13 enum fe_guard_interval guard_interval; 14 enum fe_hierarchy hierarchy; 15 u32 symbol_rate; 16 enum fe_code_rate code_rate_HP; 17 enum fe_code_rate code_rate_LP; 18 enum fe_pilot pilot; 19 enum fe_rolloff rolloff; 20 enum fe_delivery_system delivery_system; 21 enum fe_interleaving interleaving; 22 u8 isdbt_partial_reception; 23 u8 isdbt_sb_mode; 24 u8 isdbt_sb_subchannel; 25 u32 isdbt_sb_segment_idx; 26 u32 isdbt_sb_segment_count; 27 u8 isdbt_layer_enabled; 28 struct layer[3]; 29 u32 stream_id; 30 u8 atscmh_fic_ver; 31 u8 atscmh_parade_id; 32 u8 atscmh_nog; 33 u8 atscmh_tnog; 34 u8 atscmh_sgn; 35 u8 atscmh_prc; 36 u8 atscmh_rs_frame_mode; 37 u8 atscmh_rs_frame_ensemble; 38 u8 atscmh_rs_code_mode_pri; 39 u8 atscmh_rs_code_mode_sec; 40 u8 atscmh_sccc_block_mode; 41 u8 atscmh_sccc_code_mode_a; 42 u8 atscmh_sccc_code_mode_b; 43 u8 atscmh_sccc_code_mode_c; 44 u8 atscmh_sccc_code_mode_d; 45 u32 lna; 46 struct dtv_fe_stats strength; 47 struct dtv_fe_stats cnr; 48 struct dtv_fe_stats pre_bit_error; 49 struct dtv_fe_stats pre_bit_count; 50 struct dtv_fe_stats post_bit_error; 51 struct dtv_fe_stats post_bit_count; 52 struct dtv_fe_stats block_error; 53 struct dtv_fe_stats block_count; 54}; </pre></div><div class="refsect1"><a name="id-1.8.3.17.5"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">frequency</span></dt><dd><p> 55 frequency in Hz for terrestrial/cable or in kHz for 56 Satellite 57 </p></dd><dt><span class="term">modulation</span></dt><dd><p> 58 Frontend modulation type 59 </p></dd><dt><span class="term">voltage</span></dt><dd><p> 60 SEC voltage (only Satellite) 61 </p></dd><dt><span class="term">sectone</span></dt><dd><p> 62 SEC tone mode (only Satellite) 63 </p></dd><dt><span class="term">inversion</span></dt><dd><p> 64 Spectral inversion 65 </p></dd><dt><span class="term">fec_inner</span></dt><dd><p> 66 Forward error correction inner Code Rate 67 </p></dd><dt><span class="term">transmission_mode</span></dt><dd><p> 68 Transmission Mode 69 </p></dd><dt><span class="term">bandwidth_hz</span></dt><dd><p> 70 Bandwidth, in Hz. A zero value means that userspace 71 wants to autodetect. 72 </p></dd><dt><span class="term">guard_interval</span></dt><dd><p> 73 Guard Interval 74 </p></dd><dt><span class="term">hierarchy</span></dt><dd><p> 75 Hierarchy 76 </p></dd><dt><span class="term">symbol_rate</span></dt><dd><p> 77 Symbol Rate 78 </p></dd><dt><span class="term">code_rate_HP</span></dt><dd><p> 79 high priority stream code rate 80 </p></dd><dt><span class="term">code_rate_LP</span></dt><dd><p> 81 low priority stream code rate 82 </p></dd><dt><span class="term">pilot</span></dt><dd><p> 83 Enable/disable/autodetect pilot tones 84 </p></dd><dt><span class="term">rolloff</span></dt><dd><p> 85 Rolloff factor (alpha) 86 </p></dd><dt><span class="term">delivery_system</span></dt><dd><p> 87 FE delivery system (e. g. digital TV standard) 88 </p></dd><dt><span class="term">interleaving</span></dt><dd><p> 89 interleaving 90 </p></dd><dt><span class="term">isdbt_partial_reception</span></dt><dd><p> 91 ISDB-T partial reception (only ISDB standard) 92 </p></dd><dt><span class="term">isdbt_sb_mode</span></dt><dd><p> 93 ISDB-T Sound Broadcast (SB) mode (only ISDB standard) 94 </p></dd><dt><span class="term">isdbt_sb_subchannel</span></dt><dd><p> 95 ISDB-T SB subchannel (only ISDB standard) 96 </p></dd><dt><span class="term">isdbt_sb_segment_idx</span></dt><dd><p> 97 ISDB-T SB segment index (only ISDB standard) 98 </p></dd><dt><span class="term">isdbt_sb_segment_count</span></dt><dd><p> 99 ISDB-T SB segment count (only ISDB standard) 100 </p></dd><dt><span class="term">isdbt_layer_enabled</span></dt><dd><p> 101 ISDB Layer enabled (only ISDB standard) 102 </p></dd><dt><span class="term">layer[3]</span></dt><dd><p> 103 ISDB per-layer data (only ISDB standard) 104 <em class="parameter"><code>layer</code></em>.segment_count: Segment Count; 105 <em class="parameter"><code>layer</code></em>.fec: per layer code rate; 106 <em class="parameter"><code>layer</code></em>.modulation: per layer modulation; 107 <em class="parameter"><code>layer</code></em>.interleaving: per layer interleaving. 108 </p></dd><dt><span class="term">stream_id</span></dt><dd><p> 109 If different than zero, enable substream filtering, if 110 hardware supports (DVB-S2 and DVB-T2). 111 </p></dd><dt><span class="term">atscmh_fic_ver</span></dt><dd><p> 112 Version number of the FIC (Fast Information Channel) 113 signaling data (only ATSC-M/H) 114 </p></dd><dt><span class="term">atscmh_parade_id</span></dt><dd><p> 115 Parade identification number (only ATSC-M/H) 116 </p></dd><dt><span class="term">atscmh_nog</span></dt><dd><p> 117 Number of MH groups per MH subframe for a designated 118 parade (only ATSC-M/H) 119 </p></dd><dt><span class="term">atscmh_tnog</span></dt><dd><p> 120 Total number of MH groups including all MH groups 121 belonging to all MH parades in one MH subframe 122 (only ATSC-M/H) 123 </p></dd><dt><span class="term">atscmh_sgn</span></dt><dd><p> 124 Start group number (only ATSC-M/H) 125 </p></dd><dt><span class="term">atscmh_prc</span></dt><dd><p> 126 Parade repetition cycle (only ATSC-M/H) 127 </p></dd><dt><span class="term">atscmh_rs_frame_mode</span></dt><dd><p> 128 Reed Solomon (RS) frame mode (only ATSC-M/H) 129 </p></dd><dt><span class="term">atscmh_rs_frame_ensemble</span></dt><dd><p> 130 RS frame ensemble (only ATSC-M/H) 131 </p></dd><dt><span class="term">atscmh_rs_code_mode_pri</span></dt><dd><p> 132 RS code mode pri (only ATSC-M/H) 133 </p></dd><dt><span class="term">atscmh_rs_code_mode_sec</span></dt><dd><p> 134 RS code mode sec (only ATSC-M/H) 135 </p></dd><dt><span class="term">atscmh_sccc_block_mode</span></dt><dd><p> 136 Series Concatenated Convolutional Code (SCCC) 137 Block Mode (only ATSC-M/H) 138 </p></dd><dt><span class="term">atscmh_sccc_code_mode_a</span></dt><dd><p> 139 SCCC code mode A (only ATSC-M/H) 140 </p></dd><dt><span class="term">atscmh_sccc_code_mode_b</span></dt><dd><p> 141 SCCC code mode B (only ATSC-M/H) 142 </p></dd><dt><span class="term">atscmh_sccc_code_mode_c</span></dt><dd><p> 143 SCCC code mode C (only ATSC-M/H) 144 </p></dd><dt><span class="term">atscmh_sccc_code_mode_d</span></dt><dd><p> 145 SCCC code mode D (only ATSC-M/H) 146 </p></dd><dt><span class="term">lna</span></dt><dd><p> 147 Power ON/OFF/AUTO the Linear Now-noise Amplifier (LNA) 148 </p></dd><dt><span class="term">strength</span></dt><dd><p> 149 DVBv5 API statistics: Signal Strength 150 </p></dd><dt><span class="term">cnr</span></dt><dd><p> 151 DVBv5 API statistics: Signal to Noise ratio of the 152 (main) carrier 153 </p></dd><dt><span class="term">pre_bit_error</span></dt><dd><p> 154 DVBv5 API statistics: pre-Viterbi bit error count 155 </p></dd><dt><span class="term">pre_bit_count</span></dt><dd><p> 156 DVBv5 API statistics: pre-Viterbi bit count 157 </p></dd><dt><span class="term">post_bit_error</span></dt><dd><p> 158 DVBv5 API statistics: post-Viterbi bit error count 159 </p></dd><dt><span class="term">post_bit_count</span></dt><dd><p> 160 DVBv5 API statistics: post-Viterbi bit count 161 </p></dd><dt><span class="term">block_error</span></dt><dd><p> 162 DVBv5 API statistics: block error count 163 </p></dd><dt><span class="term">block_count</span></dt><dd><p> 164 DVBv5 API statistics: block count 165 </p></dd></dl></div></div><div class="refsect1"><a name="id-1.8.3.17.6"></a><h2>NOTE</h2><p> 166 derivated statistics like Uncorrected Error blocks (UCE) are 167 calculated on userspace. 168 </p><p> 169 170 Only a subset of the properties are needed for a given delivery system. 171 For more info, consult the media_api.html with the documentation of the 172 Userspace API. 173</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-dvb-frontend-ops.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch06s02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-dvb-frontend.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct dvb_frontend_ops</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct dvb_frontend</span></td></tr></table></div></body></html> 174