The patch number 10583 was added via rjkm
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <linux-me...@vger.kernel.org>

------

added inversion field


---

 dvb-spec/dvbapi/frontend.tex |   23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

diff -r 201b858f1f53 -r d9c781f66397 dvb-spec/dvbapi/frontend.tex
--- a/dvb-spec/dvbapi/frontend.tex      Wed Sep 19 18:48:28 2001 -0300
+++ b/dvb-spec/dvbapi/frontend.tex      Fri Sep 21 09:47:12 2001 -0300
@@ -26,8 +26,11 @@ It can take on the values
 \begin{verbatim}
 #define FE_HAS_POWER         1
 #define FE_HAS_SIGNAL        2
-#define FE_SPECTRUM_INV    4
+#define FE_SPECTRUM_INV      4
 #define FE_HAS_LOCK          8
+#define FE_HAS_CARRIER      16
+#define FE_HAS_VITERBI      32
+#define FE_HAS_SYNC         64
 #define TUNER_HAS_LOCK     128
 \end{verbatim}
 which can be ORed together and have the following meaning:
@@ -39,6 +42,9 @@ FE\_HAS\_SIGNAL & the frontend detects a
 FE\_HAS\_SIGNAL & the frontend detects a signal above the normal noise level\\
 FE\_SPECTRUM\_INV & spectrum inversion is enabled/was necessary for lock\\
 FE\_HAS\_LOCK & frontend successfully locked to a DVB signal \\
+FE\_HAS\_CARRIER & carrier detected in signal\\
+FE\_HAS\_VITERBI & lock at viterbi decoder stage\\
+FE\_HAS\_SYNC    & TS sync bytes detected \\
 TUNER\_HAS\_LOCK & the tuner has a frequency lock
 \end{tabular}
 
@@ -54,6 +60,7 @@ typedef struct {
 typedef struct {
         __u32 Frequency;        /* (absolute) frequency in Hz for QAM/OFDM */
                                 /* intermediate frequency in kHz for QPSK */
+        SpectralInversion Inversion;    /* spectral inversion */
         union {
                 QPSKParameters qpsk;
                 QAMParameters  qam;
@@ -73,8 +80,8 @@ for cable QAM frontend you use the QAMPa
 \begin{verbatim}
 typedef struct {
         __u32      SymbolRate; /* symbol rate in Symbols per second */
+        CodeRate   FEC_outer;  /* forward error correction (see above) */
         CodeRate   FEC_inner;  /* forward error correction (see above) */
-        CodeRate   FEC_outer;  /* forward error correction (see above) */
         Modulation QAM;        /* modulation type (see above) */
 } QAMParameters;
 \end{verbatim}
@@ -97,6 +104,18 @@ The intermediate frequency has to be spe
 The intermediate frequency has to be specified in units of kHz.
 For QAM and OFDM frontends the Frequency specifies the absolute frequency
 and is given in Hz.
+
+The Inversion field can take one of these values:
+\begin{verbatim}
+typedef enum {
+        INVERSION_OFF,
+        INVERSION_ON,
+        INVERSION_AUTO
+} SpectralInversion;
+\end{verbatim}
+It indicates if spectral inversion should be presumed or not. 
+In the automatic setting (INVERSION_AUTO) the hardware will
+try to figure out the correct setting by itself.
 
 \noindent
 The possible values for the FEC\_inner field are


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/d9c781f66397c80a17e03db92396b68bcc89fc7a

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to