Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB: Add FE_CAN_TURBO_FEC

Some (North American) providers use a non-standard mode called
"8psk turbo fec". Since there is no flag in the driver that
would allow an application to determine whether a particular
device can handle "turbo fec", the attached patch introduces
FE_CAN_TURBO_FEC.

Since there is no flag in the SI data that would indicate
that a transponder uses "turbo fec", VDR will assume that
all 8psk transponders on DVB-S use "turbo fec".

Tested-by: Derek Kelly <user.vdr@gmail.com>
Signed-off-by: Klaus Schmidinger <Klaus.Schmidinger@tvdr.de>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Klaus Schmidinger and committed by
Mauro Carvalho Chehab
f6a20eb1 0b21d55f

+2 -1
+1 -1
drivers/media/dvb/dvb-usb/gp8psk-fe.c
··· 349 349 * FE_CAN_QAM_16 is for compatibility 350 350 * (Myth incorrectly detects Turbo-QPSK as plain QAM-16) 351 351 */ 352 - FE_CAN_QPSK | FE_CAN_QAM_16 352 + FE_CAN_QPSK | FE_CAN_QAM_16 | FE_CAN_TURBO_FEC 353 353 }, 354 354 355 355 .release = gp8psk_fe_release,
+1
include/linux/dvb/frontend.h
··· 62 62 FE_CAN_8VSB = 0x200000, 63 63 FE_CAN_16VSB = 0x400000, 64 64 FE_HAS_EXTENDED_CAPS = 0x800000, /* We need more bitspace for newer APIs, indicate this. */ 65 + FE_CAN_TURBO_FEC = 0x8000000, /* frontend supports "turbo fec modulation" */ 65 66 FE_CAN_2G_MODULATION = 0x10000000, /* frontend supports "2nd generation modulation" (DVB-S2) */ 66 67 FE_NEEDS_BENDING = 0x20000000, /* not supported anymore, don't use (frontend requires frequency bending) */ 67 68 FE_CAN_RECOVER = 0x40000000, /* frontend can recover from a cable unplug automatically */