]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
V4L/DVB (10164): Add missing S2 caps flag to S2API
authorKlaus Schmidinger <Klaus.Schmidinger@cadsoft.de>
Wed, 31 Dec 2008 17:11:23 +0000 (14:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 2 Jan 2009 19:15:01 +0000 (17:15 -0200)
The attached patch adds a capability flag that allows an application
to determine whether a particular device can handle "second generation
modulation" transponders. This is necessary in order for applications
to be able to decide which device to use for a given channel in
a multi device environment, where DVB-S and DVB-S2 devices are mixed.

It is assumed that a device capable of handling "second generation
modulation" can implicitly handle "first generation modulation".
The flag is not named anything with DVBS2 in order to allow its
use with future DVBT2 devices as well (should they ever come).

Signed-off by: Klaus Schmidinger <Klaus.Schmidinger@cadsoft.de>

Acked-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/linux/dvb/frontend.h

index 79a8ed8e6a7d6c02517c7407019b0302806035c1..926d28d526e7140479330fac72b5b44a77cc87eb 100644 (file)
@@ -63,6 +63,7 @@ typedef enum fe_caps {
        FE_CAN_8VSB                     = 0x200000,
        FE_CAN_16VSB                    = 0x400000,
        FE_HAS_EXTENDED_CAPS            = 0x800000,   // We need more bitspace for newer APIs, indicate this.
+       FE_CAN_2G_MODULATION            = 0x10000000, // frontend supports "2nd generation modulation" (DVB-S2)
        FE_NEEDS_BENDING                = 0x20000000, // not supported anymore, don't use (frontend requires frequency bending)
        FE_CAN_RECOVER                  = 0x40000000, // frontend can recover from a cable unplug automatically
        FE_CAN_MUTE_TS                  = 0x80000000  // frontend can stop spurious TS data output