diff mbox

Add FE_CAN_TURBO_FEC (was: Add FE_CAN_PSK_8 to allow apps to identify PSK_8 capable DVB devices)

Message ID 4BDD471C.5020401@cadsoft.de (mailing list archive)
State Accepted
Delegated to: Douglas Landgraf
Headers show

Commit Message

Klaus Schmidinger May 2, 2010, 9:34 a.m. UTC
None
diff mbox

Patch

--- linux/include/linux/dvb/frontend.h.001	2010-04-05 16:13:08.000000000 +0200
+++ linux/include/linux/dvb/frontend.h	2010-04-25 14:24:50.000000000 +0200
@@ -62,6 +62,7 @@ 
 	FE_CAN_8VSB			= 0x200000,
 	FE_CAN_16VSB			= 0x400000,
 	FE_HAS_EXTENDED_CAPS		= 0x800000,   /* We need more bitspace for newer APIs, indicate this. */
+	FE_CAN_TURBO_FEC		= 0x8000000,  /* frontend supports "turbo fec modulation" */
 	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 */
--- linux/drivers/media/dvb/dvb-usb/gp8psk-fe.c.001	2010-04-05 16:13:08.000000000 +0200
+++ linux/drivers/media/dvb/dvb-usb/gp8psk-fe.c	2010-04-25 14:25:18.000000000 +0200
@@ -349,7 +349,7 @@ 
 			 * FE_CAN_QAM_16 is for compatibility
 			 * (Myth incorrectly detects Turbo-QPSK as plain QAM-16)
 			 */
-			FE_CAN_QPSK | FE_CAN_QAM_16
+			FE_CAN_QPSK | FE_CAN_QAM_16 | FE_CAN_TURBO_FEC
 	},
 
 	.release = gp8psk_fe_release,