Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9997018rwd; Wed, 21 Jun 2023 14:58:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5DO3rF9GNnQrWXMQP7CC949XU4uI9bwPSh3HvJc1KmtuseoPCOJ53Jil9yVnFRX2l7juVO X-Received: by 2002:a05:6808:148f:b0:39e:c9f0:8fe7 with SMTP id e15-20020a056808148f00b0039ec9f08fe7mr15663669oiw.3.1687384727314; Wed, 21 Jun 2023 14:58:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687384727; cv=none; d=google.com; s=arc-20160816; b=kgaSenz3XfWz8hSa4hLMsXl1/ocwPldGvGDqMII5o92oXRhGz2ymmBy+sB+gb/6K6r HtoZL4sgsEk1Y5Tat9Lbs9q4nK5hNt7DPw6kJ0S0DfquKZntxMO6MdFSfbTclq2pMuou NtPvbC4Oj2o8n9+iNQP0ED35ApssCHYw2GIcJ6CKMhffX/DrHuuD4t0uNS92Y1CORTeV LDRyLw+0dlr0LTgSTOBzFp3uVDMssgmG8koDvdd6UvpWFaIae+yyfXoP4ZC4P/Ve7Y84 FiK5KWNI9T67JlqTHbwrkUo+GKsMYqYrXslX1uNpgW0JUP8GmwdyoWMZEp7Kl66HhNXq hWxA== 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=Iz8jKGn/UgtAe/IXfpfsKVZOYOi6LQ6S3GtkkLiODbU=; b=X9NlB6JE2z1i05O3R5AurkiWUjilI1YzKdFe0cNhfV7MhO55zuVRWb5/bjRy1/+Bb6 kHLb3H2JRFgfzK+IHIwlMTUZ+cDBIoXT0TqEB1wNv3tamXVexx0gBe8ekYu0zMCEiCh1 Gn9biaKq03uuVzrgLbrpzv+Q/h3WDC4zwjKt/Z7JUBLvS4jGLtSzVcuyjN5RfZsJjod9 TyhirY47qTuumR53qwKy74bRezV/T9EDNQTwqzwSmlejdVZiJ1SJjoy2uJaDbe3AT1yg coK2bqAIy0Suh28/w+gxRj7BmDHFXYG6eQgqu206IxVFCCiXDWKKhtM1A/zWZpts4eKM teiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=WML7FPV2; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x4-20020a63db44000000b0055381e05244si1466863pgi.777.2023.06.21.14.58.34; Wed, 21 Jun 2023 14:58:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=WML7FPV2; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230404AbjFUViz (ORCPT + 99 others); Wed, 21 Jun 2023 17:38:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230420AbjFUViy (ORCPT ); Wed, 21 Jun 2023 17:38:54 -0400 Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99D54E57 for ; Wed, 21 Jun 2023 14:38:48 -0700 (PDT) Received: by mail-ot1-x32b.google.com with SMTP id 46e09a7af769-6b468ff042cso3887873a34.2 for ; Wed, 21 Jun 2023 14:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687383527; x=1689975527; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=Iz8jKGn/UgtAe/IXfpfsKVZOYOi6LQ6S3GtkkLiODbU=; b=WML7FPV2rdEElgK65ydsmgI4x2UVmzK2+fjzopWNXJ/6WIofRqbdplPOTnx0rqF/5b 6r0F0/azLAaWUpufGghubBe4Fd958oYlGGvxHbeG5FKy8e7GY8hRdJS6uakGtGWOuLsP lTs8XNMras9gnE6jaZ8iass5NqxOxQwWOm11Z6MlXc6WlYzsefmteBXGOyz8CSy62fxr H2DUECoN1ZrTGILpBO4uqtDpIBQ5YvjizQ3/fkwVExEdJTnlWZDDQlVFpwdBw5G750Eg //YZheFujsMcwQnwAsjYMKtLLzmIwMYuNLywBy4iT1dzchPzeYSNI/tuZuVmgIRz18IB 8+UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687383527; x=1689975527; 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=Iz8jKGn/UgtAe/IXfpfsKVZOYOi6LQ6S3GtkkLiODbU=; b=dJgSIybnnlddOMA/8l3Ojo1m7tEadkyrhlvgmmcitsLJLXki0oyUieJ/f5+do7lT0u qKaJm+DXnwTEZ9cLAIXUS5TcM3oEishlSH7fzkOg5BBRD2OWaozZMWb0ErQk1RFK4vkX ZaILhFPJzq9uNv+cseMGvMZl/Sl4s37L9TqlEEsZvxYvPSHHaHa9+/n20nyX1LfZJSFf E1+m5oybB1LuEjVWtynUuOjnfWGhM7q4EmxbkOdi1Xo79I43hUfW07xj4P/998RVnROS v+jm5yqvRzgjO020XwaGf7KNHd4ANTjVX66M9FMQD5Xzt55JA0ZSniDifGuUrABQg4jS SOWQ== X-Gm-Message-State: AC+VfDxuQVd5Cs3HuaO/ppm/0xvFVCu9jP8cQRhaMG4ZIDzt0LyiGKg5 RdcVtiqTDw7103yX0hkzuFyTp7wB3gGrdg== X-Received: by 2002:a05:6359:296:b0:130:df98:c589 with SMTP id ek22-20020a056359029600b00130df98c589mr9512315rwb.23.1687383527131; Wed, 21 Jun 2023 14:38:47 -0700 (PDT) Received: from lvondent-mobl4.. (c-71-59-129-171.hsd1.or.comcast.net. [71.59.129.171]) by smtp.gmail.com with ESMTPSA id c10-20020aa78c0a000000b0064d5b82f987sm3406643pfd.140.2023.06.21.14.38.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 14:38:46 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH v2 1/2] monitor: Fix decoding of HCI CIS Established Event Date: Wed, 21 Jun 2023 14:38:44 -0700 Message-Id: <20230621213845.1021997-1-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.40.1 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_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Luiz Augusto von Dentz The ISO Interval is actually using set using 1.25ms slots: BLUETOOTH CORE SPECIFICATION Version 5.3 | Vol 4, Part E page 2304: Time = N * 1.25 ms --- monitor/packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor/packet.c b/monitor/packet.c index 4473fda29a46..cd567231449e 100644 --- a/monitor/packet.c +++ b/monitor/packet.c @@ -11557,7 +11557,7 @@ static void le_cis_established_evt(struct timeval *tv, uint16_t index, print_field("Peripheral to Central Flush Timeout: %u", evt->p_ft); print_field("Central to Peripheral MTU: %u", le16_to_cpu(evt->c_mtu)); print_field("Peripheral to Central MTU: %u", le16_to_cpu(evt->p_mtu)); - print_field("ISO Interval: %u", le16_to_cpu(evt->interval)); + print_slot_125("ISO Interval", evt->interval); } static void le_req_cis_evt(struct timeval *tv, uint16_t index, -- 2.40.1