^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) .. _frontend-stat-properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) ******************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Frontend statistics indicators
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) ******************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) The values are returned via ``dtv_property.stat``. If the property is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) supported, ``dtv_property.stat.len`` is bigger than zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) For most delivery systems, ``dtv_property.stat.len`` will be 1 if the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) stats is supported, and the properties will return a single value for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) each parameter.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) It should be noted, however, that new OFDM delivery systems like ISDB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) can use different modulation types for each group of carriers. On such
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) standards, up to 3 groups of statistics can be provided, and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) ``dtv_property.stat.len`` is updated to reflect the "global" metrics,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) plus one metric per each carrier group (called "layer" on ISDB).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) So, in order to be consistent with other delivery systems, the first
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) value at :c:type:`dtv_property.stat.dtv_stats <dtv_stats>` array refers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) to the global metric. The other elements of the array represent each
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) layer, starting from layer A(index 1), layer B (index 2) and so on.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) The number of filled elements are stored at ``dtv_property.stat.len``.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Each element of the ``dtv_property.stat.dtv_stats`` array consists on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) two elements:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) - ``svalue`` or ``uvalue``, where ``svalue`` is for signed values of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) the measure (dB measures) and ``uvalue`` is for unsigned values
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) (counters, relative scale)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) - ``scale`` - Scale for the value. It can be:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) - ``FE_SCALE_NOT_AVAILABLE`` - The parameter is supported by the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) frontend, but it was not possible to collect it (could be a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) transitory or permanent condition)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) - ``FE_SCALE_DECIBEL`` - parameter is a signed value, measured in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 1/1000 dB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) - ``FE_SCALE_RELATIVE`` - parameter is a unsigned value, where 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) means 0% and 65535 means 100%.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) - ``FE_SCALE_COUNTER`` - parameter is a unsigned value that counts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) the occurrence of an event, like bit error, block error, or lapsed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) time.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) .. _DTV-STAT-SIGNAL-STRENGTH:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) DTV_STAT_SIGNAL_STRENGTH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) ========================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) Indicates the signal strength level at the analog part of the tuner or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) of the demod.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) Possible scales for this metric are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) measurement was not complete yet.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) - ``FE_SCALE_DECIBEL`` - signal strength is in 0.001 dBm units, power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) measured in miliwatts. This value is generally negative.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) - ``FE_SCALE_RELATIVE`` - The frontend provides a 0% to 100%
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) measurement for power (actually, 0 to 65535).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) .. _DTV-STAT-CNR:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) DTV_STAT_CNR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) ============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) Indicates the Signal to Noise ratio for the main carrier.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) Possible scales for this metric are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) measurement was not complete yet.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) - ``FE_SCALE_DECIBEL`` - Signal/Noise ratio is in 0.001 dB units.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) - ``FE_SCALE_RELATIVE`` - The frontend provides a 0% to 100%
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) measurement for Signal/Noise (actually, 0 to 65535).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) .. _DTV-STAT-PRE-ERROR-BIT-COUNT:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) DTV_STAT_PRE_ERROR_BIT_COUNT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) ============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) Measures the number of bit errors before the forward error correction
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) (FEC) on the inner coding block (before Viterbi, LDPC or other inner
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) code).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) This measure is taken during the same interval as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) ``DTV_STAT_PRE_TOTAL_BIT_COUNT``.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) In order to get the BER (Bit Error Rate) measurement, it should be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) divided by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) :ref:`DTV_STAT_PRE_TOTAL_BIT_COUNT <DTV-STAT-PRE-TOTAL-BIT-COUNT>`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) This measurement is monotonically increased, as the frontend gets more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) bit count measurements. The frontend may reset it when a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) channel/transponder is tuned.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) Possible scales for this metric are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) measurement was not complete yet.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) - ``FE_SCALE_COUNTER`` - Number of error bits counted before the inner
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) coding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) .. _DTV-STAT-PRE-TOTAL-BIT-COUNT:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) DTV_STAT_PRE_TOTAL_BIT_COUNT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) ============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) Measures the amount of bits received before the inner code block, during
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) the same period as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) :ref:`DTV_STAT_PRE_ERROR_BIT_COUNT <DTV-STAT-PRE-ERROR-BIT-COUNT>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) measurement was taken.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) It should be noted that this measurement can be smaller than the total
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) amount of bits on the transport stream, as the frontend may need to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) manually restart the measurement, losing some data between each
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) measurement interval.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) This measurement is monotonically increased, as the frontend gets more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) bit count measurements. The frontend may reset it when a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) channel/transponder is tuned.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) Possible scales for this metric are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) measurement was not complete yet.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) - ``FE_SCALE_COUNTER`` - Number of bits counted while measuring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) :ref:`DTV_STAT_PRE_ERROR_BIT_COUNT <DTV-STAT-PRE-ERROR-BIT-COUNT>`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) .. _DTV-STAT-POST-ERROR-BIT-COUNT:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) DTV_STAT_POST_ERROR_BIT_COUNT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) =============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) Measures the number of bit errors after the forward error correction
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) (FEC) done by inner code block (after Viterbi, LDPC or other inner
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) code).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) This measure is taken during the same interval as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) ``DTV_STAT_POST_TOTAL_BIT_COUNT``.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) In order to get the BER (Bit Error Rate) measurement, it should be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) divided by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) :ref:`DTV_STAT_POST_TOTAL_BIT_COUNT <DTV-STAT-POST-TOTAL-BIT-COUNT>`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) This measurement is monotonically increased, as the frontend gets more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) bit count measurements. The frontend may reset it when a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) channel/transponder is tuned.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) Possible scales for this metric are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) measurement was not complete yet.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) - ``FE_SCALE_COUNTER`` - Number of error bits counted after the inner
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) coding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) .. _DTV-STAT-POST-TOTAL-BIT-COUNT:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) DTV_STAT_POST_TOTAL_BIT_COUNT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) =============================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) Measures the amount of bits received after the inner coding, during the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) same period as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) :ref:`DTV_STAT_POST_ERROR_BIT_COUNT <DTV-STAT-POST-ERROR-BIT-COUNT>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) measurement was taken.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) It should be noted that this measurement can be smaller than the total
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) amount of bits on the transport stream, as the frontend may need to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) manually restart the measurement, losing some data between each
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) measurement interval.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) This measurement is monotonically increased, as the frontend gets more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) bit count measurements. The frontend may reset it when a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) channel/transponder is tuned.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) Possible scales for this metric are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) measurement was not complete yet.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) - ``FE_SCALE_COUNTER`` - Number of bits counted while measuring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) :ref:`DTV_STAT_POST_ERROR_BIT_COUNT <DTV-STAT-POST-ERROR-BIT-COUNT>`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) .. _DTV-STAT-ERROR-BLOCK-COUNT:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) DTV_STAT_ERROR_BLOCK_COUNT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) ==========================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) Measures the number of block errors after the outer forward error
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) correction coding (after Reed-Solomon or other outer code).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) This measurement is monotonically increased, as the frontend gets more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) bit count measurements. The frontend may reset it when a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) channel/transponder is tuned.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) Possible scales for this metric are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) measurement was not complete yet.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) - ``FE_SCALE_COUNTER`` - Number of error blocks counted after the outer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) coding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) .. _DTV-STAT-TOTAL-BLOCK-COUNT:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) DTV-STAT_TOTAL_BLOCK_COUNT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) ==========================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) Measures the total number of blocks received during the same period as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) :ref:`DTV_STAT_ERROR_BLOCK_COUNT <DTV-STAT-ERROR-BLOCK-COUNT>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) measurement was taken.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) It can be used to calculate the PER indicator, by dividing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) :ref:`DTV_STAT_ERROR_BLOCK_COUNT <DTV-STAT-ERROR-BLOCK-COUNT>` by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) :ref:`DTV-STAT-TOTAL-BLOCK-COUNT`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) Possible scales for this metric are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) - ``FE_SCALE_NOT_AVAILABLE`` - it failed to measure it, or the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) measurement was not complete yet.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) - ``FE_SCALE_COUNTER`` - Number of blocks counted while measuring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) :ref:`DTV_STAT_ERROR_BLOCK_COUNT <DTV-STAT-ERROR-BLOCK-COUNT>`.