Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2893590rdh; Wed, 27 Sep 2023 16:46:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGVtYdR0udK8n31CMUNAI0/W00on+f82i4xseH+aI5hMdsmQT0T4Z4viOqYBrUX6EN1ZhCF X-Received: by 2002:a17:90a:f40f:b0:274:e8e0:1503 with SMTP id ch15-20020a17090af40f00b00274e8e01503mr3156402pjb.16.1695858418367; Wed, 27 Sep 2023 16:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695858418; cv=none; d=google.com; s=arc-20160816; b=QOijgeVsxs/OArl/zoGX2RagGYgpJL7eyyaOlbTWTG8AYiBvqNGNMv0yx8yeUp4nD6 1j+OVb9E6w6TUQiE/eqGSC/IQge98GmB7tbHLmYdHKvw4OF8m3KIZWoRKjp20N6lx/CF cpeTHUEpvigkBqgPMxD0flv9TFiL68jsw/abG9Kg5yMWavSwNkmA5QmuW53aW4tGOoAP N4B7ioJQXDrx48/bjIpVkev0btIYhTKCCptc+/6rKXQ4fjYob7MOcSoUSAQqNtOFOqSu pyJ8V5TmDxn84jtXtHM0aEob9Zm5sotlRT1xh0RyyO/1pokQVVSjwvtOe1LXA+XI4ja7 Nong== 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=FOmbSCSuxl/iBoDJgSbUBLhFhdtVyCAjbkktwlieTt8=; fh=4lGQI6056MBa4/oovMyIYaKLn+Wz/24RGvUivMmQP8E=; b=guAzRG7il0E4Jc/6yLychDKBGQky8LM2BBFnpcb+E6vaYrTJiNBPjGgwjmz8kGfhHe 1gJ1LkLbhSogXowuGS3882GCHGZ+eVNEOaW3FtcHJAvvi2H3Ob8pPn806LiTHoxNOXb5 cVtQHe/wR0evhut2llTfZG03IChNyMa4harKXsv29h0+tK3y7mjpPM/Kh3obNAaBqrud wq1MzFUPHp9gQE4H4i1rJ0JjRwEpdbLX0DBv1eTAhT9KrP9v+1vKNY1ALQYA+D73b7hv wy7F7t8avaVqbnIyJ6WI0HVDfgzD8Ki7Yst2u/NTzdTPXBu7eFV2yPObTubIizTxrRuu bABA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CEyWEotA; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id hi14-20020a17090b30ce00b00278ea235413si4901901pjb.31.2023.09.27.16.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 16:46:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CEyWEotA; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 840638198025; Wed, 27 Sep 2023 14:54:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229753AbjI0VyE (ORCPT + 99 others); Wed, 27 Sep 2023 17:54:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjI0VyD (ORCPT ); Wed, 27 Sep 2023 17:54:03 -0400 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2614EAF for ; Wed, 27 Sep 2023 14:54:02 -0700 (PDT) Received: by mail-il1-x136.google.com with SMTP id e9e14a558f8ab-3512f905f6cso28704995ab.3 for ; Wed, 27 Sep 2023 14:54:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695851641; x=1696456441; 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=FOmbSCSuxl/iBoDJgSbUBLhFhdtVyCAjbkktwlieTt8=; b=CEyWEotAFtiLJkZ9nbF191rPap+7rFPV9hMTnsbXvLU/MX8z8ZJFlLLOsg3DUow5pU WIQcDD5jGQHMGm0brw0J0n1nybdsBCXbaCxfQiEjcZr8N5uA/RU6KiD4eG0kxiFFL0s7 RySfkku3ksSQopDQ6oN5DqRcg+P03LtMbSnPssV7SSInZc75YqRYl0kWEn2Wl+t+yJ9I pZHLASJdYPEgHkEBrnLhuM+cSDD9rS0Z5RmiDljvtfqtia/c54BjzNibma8nqnK26DQN Uzup99UnTVmhNKTcBYj8tBvnFb83HzxoKqbdw0vyZbZMCxa5zXoYi83vHh8g0E4SfFXm DwpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695851641; x=1696456441; 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=FOmbSCSuxl/iBoDJgSbUBLhFhdtVyCAjbkktwlieTt8=; b=Rjo9FT99CUpgsyDVQtR0e/IrbyB+4cHV7rLIzOw5rIgtKvgtdjpzjhdFQ4XZEt+WIA EAEMM37nhULOhb+A619y17Bzm8fr54CY7dJw1HSSZud4vuOasn8A7rp67meBOZaCPrS+ /xhP4HekWf2jvF4c88W4hIXkE5KuKfRtkGdVQgm5CSbLpqKgmLmyW/wCyouJqNNSpain Ex2z+ngHurriAir3uriGFe+cfHjfFgTPfaj6JL3CFRdaorbswlvlqenJRKsZt7yFmhyJ 7CqN/FrriXMBKM5zuipUxxFw3x3hkLx7V61tT373erZMs+rwB5He9CKDZSivniZbiPWI zFEA== X-Gm-Message-State: AOJu0YybRZWyfhGKsWygca/CYeXQQs3vRSpywzuldUkTLqIUflp7TwjN VJ3MHUHexqTEAnLivcHMppL+QolYHaqa6ShQ X-Received: by 2002:a05:6e02:13f0:b0:34f:6837:6ab7 with SMTP id w16-20020a056e0213f000b0034f68376ab7mr3167020ilj.16.1695851640695; Wed, 27 Sep 2023 14:54:00 -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.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 14:53:58 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH v4 03/12] client: Make transport.show to print QoS configuration Date: Wed, 27 Sep 2023 14:53:45 -0700 Message-ID: <20230927215354.1874835-3-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230927215354.1874835-1-luiz.dentz@gmail.com> References: <20230927215354.1874835-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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 27 Sep 2023 14:54:05 -0700 (PDT) From: Luiz Augusto von Dentz This makes transport.show to print QoS configuration since it is now a single property: transport.show Transport /org/bluez/hci0/dev_00_AA_01_01_00_03/pac_sink0/fd1 UUID: 00002bcb-0000-1000-8000-00805f9b34fb Codec: 0x06 (6) Configuration: 02 01 03 02 02 01 03 04 28 00 ........(. Device: /org/bluez/hci0/dev_00_AA_01_01_00_03 State: idle Endpoint: /org/bluez/hci0/dev_00_AA_01_01_00_03/pac_sink0 QoS Key: CIG QoS Value: 0x00 (0) QoS Key: CIS QoS Value: 0x00 (0) QoS Key: Framing QoS Value: 0x00 (0) QoS Key: PresentationDelay QoS Value: 0x00009c40 (40000) QoS Key: Interval QoS Value: 0x00002710 (10000) QoS Key: Latency QoS Value: 0x000a (10) QoS Key: SDU QoS Value: 0x0028 (40) QoS Key: PHY QoS Value: 0x02 (2) QoS Key: Retransmissions QoS Value: 0x02 (2) Location: 0x00000003 (3) Links: /org/bluez/hci0/dev_00_AA_01_01_00_03/pac_source0/fd0 --- client/player.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client/player.c b/client/player.c index fdc27c281ed8..d72ad6a5da01 100644 --- a/client/player.c +++ b/client/player.c @@ -3799,11 +3799,7 @@ static void cmd_show_transport(int argc, char *argv[]) print_property(proxy, "Volume"); print_property(proxy, "Endpoint"); - print_property(proxy, "Interval"); - print_property(proxy, "Framing"); - print_property(proxy, "SDU"); - print_property(proxy, "Retransmissions"); - print_property(proxy, "Latency"); + print_property(proxy, "QoS"); print_property(proxy, "Location"); print_property(proxy, "Metadata"); print_property(proxy, "Links"); -- 2.41.0