From patchwork Mon Jan 22 17:13:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10178909 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F046B601D5 for ; Mon, 22 Jan 2018 17:13:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D58442841F for ; Mon, 22 Jan 2018 17:13:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA5E328421; Mon, 22 Jan 2018 17:13:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63DEC2841F for ; Mon, 22 Jan 2018 17:13:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751110AbeAVRNy (ORCPT ); Mon, 22 Jan 2018 12:13:54 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:45474 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751087AbeAVRNw (ORCPT ); Mon, 22 Jan 2018 12:13:52 -0500 Received: by mail-wr0-f193.google.com with SMTP id 16so9492241wry.12 for ; Mon, 22 Jan 2018 09:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7xlYbQTQRvaVyrb5X45cSoDSyJoOKra5JAR7VuQmezI=; b=Z0YYW3t+W+YquWAsmpA1Duox0lfcfZ+BQzE44ZYbPK3Kq+0MJN9Z3mYoTTu9hi8nQD NwMBuk60TiUmwERRadDZSrwTMb2hKK0oDwCpF0s1Ifd4EtXHD3Db1vUq8uDC/zLVu+gG MFB7C4dK5vlI46fZWctpoEuj2WbFlLvMWv7ClaEu6hyHdnexdPZVW2QGRSBJA5nHU+fj vfMgyw+qluVMJP9IpqvXdmPFvk20YSshycKECLp5JlEAwfihviIdLOLOJUKBu8L7+261 R5KjbKNysE7iKuI16OnKaOscM6ZYtj7NulDGektWRCsER2W47hVymFUXcg+ilSkc+1HK X1og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=7xlYbQTQRvaVyrb5X45cSoDSyJoOKra5JAR7VuQmezI=; b=OaTEfcnVj8e4IHyzLQyMMBiM00vJons4g6/mYUjTyuVfebsa1jjkAnFoPkF4StcJRR 9Id35fb6jknmbUtnjRTiDF+ezMpw2pZDeXlMkE2E7Z6R+IuE6LKfPHixQ3wUIvGwexqm G3jfbolEZK0aCjrTX4J9LQDNXAuNKUitW2wHiceaVUCufo8PLszKQCiM1W+BKv1s/mRA 00yFSCxtp0LyBSrgwLo75hp022ThNTkqHerxJwBjV0qfKNIxyXw2uSO+VtqfwLpDCv4/ NV018mpWDBl3IiHciW8T/GDmpThc4gjEZR1nZaP9wF1JC2i966kszsItH7E5glSnceU8 mkFA== X-Gm-Message-State: AKwxyteEtSQJ0TonIliBX2iUECxk92lDiAzZOo7vIzTloGvm5bWgOcIE u72VdAFF3w1fpmFKy/xn1CxFKw== X-Google-Smtp-Source: AH8x225JteY1R/ywmEcsie4edOPM5R60jf5tLcqE01HIlpFnkL9qVpPBkQ1zDTMA9yFzJcc4kWGT4Q== X-Received: by 10.223.195.28 with SMTP id n28mr7403478wrf.130.1516641231433; Mon, 22 Jan 2018 09:13:51 -0800 (PST) Received: from dvbdev.wuest.de (ip-84-118-193-200.unity-media.net. [84.118.193.200]) by smtp.gmail.com with ESMTPSA id z39sm13113986wrz.20.2018.01.22.09.13.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jan 2018 09:13:50 -0800 (PST) From: Daniel Scheller To: linux-media@vger.kernel.org, mchehab@kernel.org, mchehab@s-opensource.com Cc: rascobie@slingshot.co.nz Subject: [PATCH v2 1/5] media: dvb_frontend: add FEC modes, S2X modulations and 64K transmission Date: Mon, 22 Jan 2018 18:13:42 +0100 Message-Id: <20180122171346.822-2-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180122171346.822-1-d.scheller.oss@gmail.com> References: <20180122171346.822-1-d.scheller.oss@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Scheller Add 1/4 and 1/3 FEC ratios, 64/128/256-APSK S2X modulations and 64K transmission mode. Update relevant doc items aswell. Signed-off-by: Daniel Scheller --- Documentation/media/frontend.h.rst.exceptions | 6 ++++++ include/uapi/linux/dvb/frontend.h | 13 +++++++++++++ 2 files changed, 19 insertions(+) diff --git a/Documentation/media/frontend.h.rst.exceptions b/Documentation/media/frontend.h.rst.exceptions index f7c4df620a52..ae1148be0a39 100644 --- a/Documentation/media/frontend.h.rst.exceptions +++ b/Documentation/media/frontend.h.rst.exceptions @@ -84,6 +84,9 @@ ignore symbol APSK_16 ignore symbol APSK_32 ignore symbol DQPSK ignore symbol QAM_4_NR +ignore symbol APSK_64 +ignore symbol APSK_128 +ignore symbol APSK_256 ignore symbol SEC_VOLTAGE_13 ignore symbol SEC_VOLTAGE_18 @@ -117,6 +120,8 @@ ignore symbol FEC_AUTO ignore symbol FEC_3_5 ignore symbol FEC_9_10 ignore symbol FEC_2_5 +ignore symbol FEC_1_4 +ignore symbol FEC_1_3 ignore symbol TRANSMISSION_MODE_AUTO ignore symbol TRANSMISSION_MODE_1K @@ -129,6 +134,7 @@ ignore symbol TRANSMISSION_MODE_C1 ignore symbol TRANSMISSION_MODE_C3780 ignore symbol TRANSMISSION_MODE_2K ignore symbol TRANSMISSION_MODE_8K +ignore symbol TRANSMISSION_MODE_64K ignore symbol GUARD_INTERVAL_AUTO ignore symbol GUARD_INTERVAL_1_128 diff --git a/include/uapi/linux/dvb/frontend.h b/include/uapi/linux/dvb/frontend.h index 4f9b4551c534..227268a657cd 100644 --- a/include/uapi/linux/dvb/frontend.h +++ b/include/uapi/linux/dvb/frontend.h @@ -296,6 +296,8 @@ enum fe_spectral_inversion { * @FEC_3_5: Forward Error Correction Code 3/5 * @FEC_9_10: Forward Error Correction Code 9/10 * @FEC_2_5: Forward Error Correction Code 2/5 + * @FEC_1_4: Forward Error Correction Code 1/4 + * @FEC_1_3: Forward Error Correction Code 1/3 * * Please note that not all FEC types are supported by a given standard. */ @@ -313,6 +315,8 @@ enum fe_code_rate { FEC_3_5, FEC_9_10, FEC_2_5, + FEC_1_4, + FEC_1_3, }; /** @@ -331,6 +335,9 @@ enum fe_code_rate { * @APSK_32: 32-APSK modulation * @DQPSK: DQPSK modulation * @QAM_4_NR: 4-QAM-NR modulation + * @APSK_64: 64-APSK modulation + * @APSK_128: 128-APSK modulation + * @APSK_256: 256-APSK modulation * * Please note that not all modulations are supported by a given standard. * @@ -350,6 +357,9 @@ enum fe_modulation { APSK_32, DQPSK, QAM_4_NR, + APSK_64, + APSK_128, + APSK_256, }; /** @@ -374,6 +384,8 @@ enum fe_modulation { * Single Carrier (C=1) transmission mode (DTMB only) * @TRANSMISSION_MODE_C3780: * Multi Carrier (C=3780) transmission mode (DTMB only) + * @TRANSMISSION_MODE_64K: + * Transmission mode 64K * * Please note that not all transmission modes are supported by a given * standard. @@ -388,6 +400,7 @@ enum fe_transmit_mode { TRANSMISSION_MODE_32K, TRANSMISSION_MODE_C1, TRANSMISSION_MODE_C3780, + TRANSMISSION_MODE_64K, }; /**