Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2855926rdh; Wed, 27 Sep 2023 15:13:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEy5lDEMSHt1laYkn8+GJ44OihvpwW9Ejo3C2K4fTILoWZrnA2tuBoF0rxOa4IeyI+7zRxq X-Received: by 2002:a05:6871:79f:b0:1d5:bda7:130e with SMTP id o31-20020a056871079f00b001d5bda7130emr3646744oap.18.1695852828704; Wed, 27 Sep 2023 15:13:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695852828; cv=none; d=google.com; s=arc-20160816; b=k+K2heYVhJvgVDWJgF8GUu0BZMsBzsxQBcCLKxlwZQ76sr/4vSQuKIxoYILH2PIjHA NLtgXGa50XpL6yI8p/krTEzJayp/y0TZ0Y7bC76IJe48ygjm62yBT5ubBfmxgKbxUlKZ andaKsrGQSoP92uus1vEKIQREjyOe1Tjz4spttDOjM52V/YhCqoXFtk1y6ceMH7xc2DL QLgpj0lyBnGltCdDx2BxyMrD5SnlwmQo4ldKWGEUOywpWUbwjwlSYHkN2INtND/MWsfO MiekCmF3qR8C4VSsUb4iSuUh4C2vRN0szk5EFKJJXSsDs/+Iz/D+ZXfqHIVO/hqPiSLw vP1Q== 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 :message-id:date:subject:to:from:dkim-signature; bh=O8UvCzpydCqEJ8G9A6NMOVjDAbhJMdAdjKtdbYeGZO0=; fh=4lGQI6056MBa4/oovMyIYaKLn+Wz/24RGvUivMmQP8E=; b=fQwynR/kZ3I+yBDXTUEdiR0h+fS2MICS8xodf6DzV/vS7tinbKMTY+S3vZGLKVm8Uh sbWeiMQKY965iXKJiIYfwYkhFqm8DbLBBZUBgkHEk4H3F88N4bQpnZAQmSGE0v8E5pnM VUwe6C0d85UHz/EYgKSILc6rRDreOFCTN2zSIHmZtAzBk+DdeJ9n14vJ0Q6Vqnjv183v xuGGamtxHQtCTkQrDjJ2PBSdojqsWIwsazR0kVhnmlXa7NuKqzu3xtc7kz/XJR6/Hiu3 DUghAO7O/WmLjbM9tPlkBcAJ/VGJ0caWqTuavS8j9MGb1PaNtZ1adhJmVsjUhPJbFHei AD3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VXKMNvCi; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id a18-20020a63d412000000b00578b1a60710si16750748pgh.552.2023.09.27.15.13.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 15:13:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VXKMNvCi; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 5406880C4D75; Wed, 27 Sep 2023 14:54:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229460AbjI0Vx7 (ORCPT + 99 others); Wed, 27 Sep 2023 17:53:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjI0Vx7 (ORCPT ); Wed, 27 Sep 2023 17:53:59 -0400 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2681FB for ; Wed, 27 Sep 2023 14:53:57 -0700 (PDT) Received: by mail-io1-xd2b.google.com with SMTP id ca18e2360f4ac-77acb04309dso433508039f.2 for ; Wed, 27 Sep 2023 14:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695851636; x=1696456436; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=O8UvCzpydCqEJ8G9A6NMOVjDAbhJMdAdjKtdbYeGZO0=; b=VXKMNvCiMcGw/CEme4WvKu+v6dqpZbF5P7C0kAfj+CN9yuAkQgxUtXzJYYYF03FXnO 4D4hQaOPJsWUVqtlDer3n0aNp/+nlxM2XAYVXgIwc6It3lttbH3hwhgNf9KJdgv6LNEc U2xg7QlQJmDoV8xYiHJkLFPAjbeYIW7DSA79okNrJl+8cb2IqbhxqH4hpq2M2pOR8xdM dhgOP6KcyUSr3In/IpPePNPFx0VOxUdH95CgrW5gx7eRntcJZa/3Afgwjh5eQLON2IVy GlEYz6PkVcr6I+scnjhwQnfz4Nci9x6cCbpCJ7afAIRygvk9xxayYZYqF29agU9MLWPP Idlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695851636; x=1696456436; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=O8UvCzpydCqEJ8G9A6NMOVjDAbhJMdAdjKtdbYeGZO0=; b=MljMEhHm83X/wLp/fBUgLSSvA4xevJfvzxQMiJMGaelhTRX/We9XZ4dEMTw4k00AiV roYLT+6vcdI0Y9cFP3nmCYNm3HEOQUx+lD/8pK9luW5FnwimTnBeVp5HRp3cJ3N/SWmI UoBsN134pIajECRVclx1XvgnR/36VZQ3QGp490WQFnzdvxerKZjj+wKh1CRJ7Hddqw4V xZNxmogTrJ7+v8dp0gTeK+KRgnnkQWHKUhI1gUELDgHwZ7p8zUrPjv6PMvnB32XBji8k ArlDvq2cxV0JfhTVfH5JKLXqYjA+q3wrJelSaFiR2WbdqQ0W90BCuj3F06o5N0tvu6dk RTkA== X-Gm-Message-State: AOJu0YxSgQ10A+sccIrGCiDxuhfsJLVMfGsCMGxSgx9Uz7IpPyygTfu5 OZAJbWRFFETuLMFo6X8OrZ8Anwzuxr8hfAMA X-Received: by 2002:a5e:d60d:0:b0:79f:ca2f:9198 with SMTP id w13-20020a5ed60d000000b0079fca2f9198mr3731161iom.2.1695851636450; Wed, 27 Sep 2023 14:53:56 -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 g15-20020a02cd0f000000b0042bbfe3dc42sm4225331jaq.173.2023.09.27.14.53.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 14:53:55 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH v4 01/12] media-api: Update to reflect the last code changes Date: Wed, 27 Sep 2023 14:53:43 -0700 Message-ID: <20230927215354.1874835-1-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Wed, 27 Sep 2023 14:54:10 -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