Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2869475rdh; Wed, 27 Sep 2023 15:47:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGsxi9T7dO8xyTQS9NlKLacsTBaY0FAx7YUxC16iv6zV3XN2yKRhw4pnusZX0GbJuk2GRFo X-Received: by 2002:a17:907:7719:b0:9b2:b119:4918 with SMTP id kw25-20020a170907771900b009b2b1194918mr2832322ejc.13.1695854823424; Wed, 27 Sep 2023 15:47:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695854823; cv=none; d=google.com; s=arc-20160816; b=N91mr8FPcxCDP8OgZJ1YUvgL/Aj2W6FIss6W70MsN9bRbXfbxdW0AivPeSUGNoAXm8 RuZwZuL8UQ6hguV755ugVKQJziwWGEb5aQiRGyCTD/b9APXjBzUcs6k0YOZvMPMR6M2M njA5aNgT8MRwyJBF+FuvCRU6+PpOm4UxJg25OJOWVR5p43NxgVcn/w7LpyugYRTJoino HXT3TvBRByuanXdUYZ0VtP7RW10/WWd7oK1rEmLtvsZAonYmawezEzwC3Ip+sLgG3hsr 9/YmOufxrj7WJYVMSbIjVHzwSoEaSZUBFu8B7l8DvD04H1IkbavrbIPGr7yMphmONIXl nHbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=O8UvCzpydCqEJ8G9A6NMOVjDAbhJMdAdjKtdbYeGZO0=; fh=4lGQI6056MBa4/oovMyIYaKLn+Wz/24RGvUivMmQP8E=; b=nxdmV3mpgFoJNjNxQa2BXnGErNI0737vby5JyVna4USIco7oL3wsaQg7+XB8UphpK2 PQjv2kthNppIRN5mfeolm3/jC/kGeYjoyLWl2JjsYMgX7mDf+H8J4EOjwmN8UZ/J6KH3 QSl9gQ9kjg9kumSopm3oqxXt4dWALMc7qHSPYjaieADNm99oQV/fYVwSyvyZjNLc21C0 dibLbenVdTLpbDVPwOZbJ03iHq+Upd45l8W8cIEyuRvTG1ObUwTNmEXFO0Td7dkhf/Ec uOJ/sPZDTEWwWrUFVRmIn9+VUq23748bpXXoF3T+w0pJcc/KlRff1DNSnhjmgvABvCdq 0wIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=amDJiviA; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id jo23-20020a170906f6d700b009980fa69e46si14311738ejb.514.2023.09.27.15.47.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 15:47:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=amDJiviA; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id E168880BEF31; Wed, 27 Sep 2023 14:40:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229957AbjI0VkL (ORCPT + 99 others); Wed, 27 Sep 2023 17:40:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjI0VkL (ORCPT ); Wed, 27 Sep 2023 17:40:11 -0400 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77825D6 for ; Wed, 27 Sep 2023 14:40:09 -0700 (PDT) Received: by mail-oi1-x230.google.com with SMTP id 5614622812f47-3ae2ec1a222so5593929b6e.2 for ; Wed, 27 Sep 2023 14:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695850808; x=1696455608; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=O8UvCzpydCqEJ8G9A6NMOVjDAbhJMdAdjKtdbYeGZO0=; b=amDJiviAlyaxG6PFMLmtqsAytwmN8cAU+3tqB2TREzCZRnmaEfWUloGkVUW4koEspf nxLvOdJk7gaTMEFCoG109kk64FmpeA/tpKztbNkI+YFmUS65Bu9OfwR6neU+ONI/gr8H aBY0nrFVU0AAcXJhdlIulp4CAXHEZxKLNvo4Pwoun0G0xE3GtoLwuhHcYpOqAfXSg3e3 TfYleSxuYvKjf0NWatR5gOKIQY4v4mFn5YxpX3ByRvFVGARmK4ZRE9DSa5nH8bBfJb3b UM5utBl6gnKIa2D58hNaEjKNM/Fu4YvcKrMx0k3SImCSFqka/Lb8HidHRMsI6Bd2oViH TB5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695850808; x=1696455608; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=O8UvCzpydCqEJ8G9A6NMOVjDAbhJMdAdjKtdbYeGZO0=; b=KwJdJFPgVWxP8FJCSM/t/FV4TzdQKW6nMzPJXZGUr4wQsUf28H9iOd9vZ4nvob0nQd p8x8ZfjDEAyloyh1YQFksEy9rYH7NkXg2CUVOQZyfZRxuVsxSbJmjph2az2VT7aPEcqu n9QqhrTQaIZ/7pgZV0dyDN9xy1XceVH4zTd+UtyReAkrnFF2PgkiO6CGz+ozaRSN52eB ekAMpIksgahjcTMImjDf88liqgG6swzR73X92umEvrUpryCdh82YDl66JgzVtAC5m/kX 0yjfSgwXE7142szcYOmwOqGbn3I1RtMjoUNCTCU6QmXyzb7LUi3kppF9M22RXMWWC9PU hJcA== X-Gm-Message-State: AOJu0Yx4umIAiFz6YLVDA6md0MgkUWm3xhn5UkJXCEbwacw9MQT1L0/7 IrG44+TVa4sversrBR+7Pavfssai8N99N11f X-Received: by 2002:aca:1218:0:b0:3a7:6d64:aa68 with SMTP id 24-20020aca1218000000b003a76d64aa68mr3268421ois.18.1695850807962; Wed, 27 Sep 2023 14:40:07 -0700 (PDT) Received: from lvondent-mobl4.. (c-98-232-221-87.hsd1.or.comcast.net. [98.232.221.87]) by smtp.gmail.com with ESMTPSA id s26-20020aa78d5a000000b00672ea40b8a9sm12546004pfe.170.2023.09.27.14.40.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 14:40:06 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH v3 01/12] media-api: Update to reflect the last code changes Date: Wed, 27 Sep 2023 14:39:52 -0700 Message-ID: <20230927214003.1873224-2-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230927214003.1873224-1-luiz.dentz@gmail.com> References: <20230927214003.1873224-1-luiz.dentz@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 27 Sep 2023 14:40:14 -0700 (PDT) From: Luiz Augusto von Dentz This reflect the last code changes adding the missing Broadcast properties. --- doc/media-api.rst | 179 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 138 insertions(+), 41 deletions(-) diff --git a/doc/media-api.rst b/doc/media-api.rst index 34bf44e8ffbb..b37ae8f01630 100644 --- a/doc/media-api.rst +++ b/doc/media-api.rst @@ -710,28 +710,45 @@ void SetConfiguration(object transport, dict properties) properties: :array{byte} Capabilities [Mandatory]: + + See Endpoint.Capabilities property. + :array{byte} Metadata [ISO only]: - :byte CIG [ISO only]: - :byte CIS [ISO only]: - :uint32 Interval [ISO only]: - :bool Framing [ISO only]: - :string PHY [ISO only]: - :uint16 SDU [ISO only]: - :byte Retransmissions [ISO only]: - :uint16 Latency [ISO only]: - :uint32 Delay [ISO only]: - :uint8 TargetLatency [ISO Latency]: - :byte BIG [ISO broadcast only]: - :byte BIS [ISO broadcast only]: - :byte SyncInterval [ISO broadcast only]: - :byte Encryption [ISO broadcast only]: - :byte Options [ISO broadcast only]: - :uint16 Skip [ISO broadcast only]: - :uint16 SyncTimeout [ISO broadcast only]: - :byte SyncCteType [ISO broadcast only]: - :byte MSE [ISO broadcast only]: - :uint16 Timeout [ISO broadcast only]: - :array{byte} BroadcastCode [ISO broadcast only]: + + See Endpoint.Metadata property. + + :uint32 Location [ISO only]: + + See Endpoint.Location property. + + :byte Framing [ISO only]: + + See Endpoint.Framing property. + + :byte PHY [ISO only]: + + See Endpoint.PHY property. + + :uint16 MaximumLatency [ISO only]: + + See Endpoint.MaximumLatency property. + + :uint32 MinimumDelay [ISO only]: + + See Endpoint.MinimumDelay property. + + :uint32 MaximumDelay [ISO only]: + + See Endpoint.MaximumDelay property. + + :uint32 PreferredMinimumDelay [ISO only]: + + See Endpoint.PreferredMinimumDelay property. + + :uint32 PreferredMaximumDelay [ISO only]: + + See Endpoint.PreferredMaximumDelay property. + array{byte} SelectConfiguration(array{byte} capabilities) ````````````````````````````````````````````````````````` @@ -984,33 +1001,65 @@ dict QoS [readonly, optional, ISO only, experimental] Indicates configured CIG. + Possible values: + + :0x00 - 0xef: + + Valid ID range. + + :0xff: + + Auto allocate. + :byte CIS: Indicates configured CIS. - :uint32 Interval: + Possible values: - Indicates configured ISO interval. + :0x00 - 0xef: - :boolean Framing: + Valid ID range. + + :0xff: + + Auto allocate. + + :byte Framing: Indicates configured framing. - :byte PHY: + Possible values: - Indicates configured PHY. + :0x00: - :uint16 SDU: + Unframed. - Indicates configured SDU. + :0x01: - :byte Retransmissions: + Framed. - Indicates configured retransmissions. + :uint32 PresentationDelay: - :uint16 Latency: + Indicates configured transport presentation delay (us). - Indicates configured transport latency. + :byte TargetLatency: + + Indicates the requested target latency. + + Possible values: + + :0x01: + + Low Latency. + + :0x02: + + Balanced Latency/Reliability. + + :0x03: + + High Reliability. Possible values for Broadcast: @@ -1022,26 +1071,74 @@ dict QoS [readonly, optional, ISO only, experimental] Indicates configured BIS. - :uint32 SyncFactor: + :byte SyncFactor: - Indicates configured sync factor. + Indicates configured broadcast sync factor. - :uint32 Interval: + :byte Packing: - Indicates configured ISO interval. + Indicates configured packing. - :byte PHY: + :byte Framing: - Indicates configured PHY. + Indicates configured framing. - :uint16 SDU: + :byte Options: - Indicates configured maximum SDU. + Indicates configured broadcast options. + + :uint16 Skip: + + Indicates configured broadcast skip. :byte SyncTimeout: Indicates configured broadcast sync timeout. + :byte SyncType: + + Indicates configured broadcast sync CTE type. + + :byte MSE: + + Indicates configured broadcast MSE. + + :uint16 Timeout: + + Indicates configured broadcast timeout. + + Possible values for both Unicast and Broadcast: + + :uint32 Interval: + + Indicates configured ISO interval (us). + :uint16 Latency: - Indicates configured transport latency. + Indicates configured transport latency (ms). + + :uint16 SDU: + + Indicates configured maximum SDU. + + :byte PHY: + + Indicates configured PHY. + + Possible values: + + :bit 0: + + LE 1M + + :bit 1: + + LE 2M + + :bit 2: + + LE Coded + + :byte Retransmissions: + + Indicates configured retransmissions. -- 2.41.0