Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10785314rwp; Fri, 21 Jul 2023 05:06:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlFbqExeDQWcjZrYfYdu3e0Ja6P67Dv8cX1EM59vwj3dlaTO30O2yI4qOGW99zI6rMQZPsRE X-Received: by 2002:a17:902:bcca:b0:1b6:af1a:7dd3 with SMTP id o10-20020a170902bcca00b001b6af1a7dd3mr1262490pls.23.1689941213149; Fri, 21 Jul 2023 05:06:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689941213; cv=none; d=google.com; s=arc-20160816; b=b01oijd9H60mPWzGIFq3IoxVSxRL29Z0qm80JGo9TObBIIb2n9Cx9Qhy30k9GhmxqP XPmOrktPov/fpG0fGFXpkGubhaSYyXpdhbYcIf97q6cvKnoOG1w5QZpdjWoRALo2+hwi //LkbID+qzuGCms2mD+kkegOsQrNdDAN/Vjv5zNAvDlgr+PU9bejF0JI7ya9HR+bK6w4 Jt/GFqbX6gyU6g7FybD17L2+bRo/JdoXIZz+n+Q4+qChRClP+HRA8Vf7GnkNvD3qNLT+ oiS9C6nEdYd8xqtFyZT7Q6/6e5MuDMRNYOX979NA8cWWso5Qas568NbYEg4udcaAsCxT d1NQ== 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:cc:to:from :dkim-signature; bh=DZ+hV81VUwLcZan3YxnT1oGv7b2v/jxtZKXkrhJcy3w=; fh=NJXAsn0b6dq9Wit3P95de1Lu8yIcMbFCY5olR5nD6b4=; b=wy0/GMPxa8Sj5t5pkchai2uuAxPGvAlaEE2fkvw3VC9onzsp1DTSlrTrjnYXRJDql+ rHcfzmlB5JE0hlMGvyyoKKB96EY6/jTghXXwsrkbZqABAVTCiglZpEYgsHlnKmBfhUBj lLN2BHeN1dAnG+G2EuDRwdeYRv+3/ICRiZ0SrKyv1626h/NlMbHnewNeN3HOAu2zN1zt FzPBeoDxSLoKBXCCqO4D6wNlRvQhD5H3Z6Y/deJYvq7UdiaLL/FnGsi+mltazT5AMf1v 7ZGIyA042xOm0EuWMGdhe23NLYhV2xY+jy1SjPMpo3vS8+gLVNTHxhI3UAcX6Mbb4je5 /axA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codecoup-pl.20221208.gappssmtp.com header.s=20221208 header.b=QUsypjJB; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u2-20020a17090341c200b001b8698149fbsi3124059ple.477.2023.07.21.05.06.38; Fri, 21 Jul 2023 05:06:53 -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=@codecoup-pl.20221208.gappssmtp.com header.s=20221208 header.b=QUsypjJB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231264AbjGUMF3 (ORCPT + 99 others); Fri, 21 Jul 2023 08:05:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231330AbjGUMFM (ORCPT ); Fri, 21 Jul 2023 08:05:12 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D5DF35BF for ; Fri, 21 Jul 2023 05:04:58 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2b708e49059so27859571fa.3 for ; Fri, 21 Jul 2023 05:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codecoup-pl.20221208.gappssmtp.com; s=20221208; t=1689941096; x=1690545896; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DZ+hV81VUwLcZan3YxnT1oGv7b2v/jxtZKXkrhJcy3w=; b=QUsypjJBavJEgtbU0dOkBL+Pki8dqJQ+AfU4FvB1HFIV12l8el9ultxfvWalpWpe+c 83DDJWwK9nfCoXIv58g/hoCFs5eGnCD47sO7Tm8JGjbIsDbcbeHt+brMobwFUi2Ir2XR nvyLBxnfIe3tXtRgO1feqznms8b6wl96dOqEZ4Hc6j3jgGSlVzKqem/RnsQoDOg01OH5 SBEq54m1aNx3CGPZxPHdUwSmmv0PNdmW8pPrJ1iKAb9Ysf01aOICghkPvyNCmlXiZHWc wT20MuPi59nAhVj+FeAg5/zHTFoxjG3ZSq9SumFQwilweec0JMCCXXecvPUxoB1zlrG5 M1+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689941096; x=1690545896; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DZ+hV81VUwLcZan3YxnT1oGv7b2v/jxtZKXkrhJcy3w=; b=MMX2jyqthm2/SZ8Ll5wYYzp/avTggaG+MGgeSKGz7IAViuOBpZQL5oU/GsPQMCU2XJ VclEskUA/xLWcde9Caj9SXohGCohKrscwDIKeYNNdW1rBpcy5ANyO1jSecZ+b4gFTZDG WqRT7FuxZmeHQDQydWD36gz1JYtVfbMX+s4tMKVl4HZ4TiclVImawlETpfFYQjxAfdH+ gOk/YDmIPkhlwsOzttGS+xZjrQyChn9xthm8H/uyCRG+3uL7zoB1I3j1QoENjOjDpbpJ qGGrY1/QF/dom0rD432q46EkwVo8//LfhhwZ+IpO6quPCvdbHYGFjhyhiiAp4jZIWSjG i8/g== X-Gm-Message-State: ABy/qLa/5yrznRnA1MlKEfMnR+h/b4ktcjznhDnyPMMU9N4jnTPXteEh GNeGTVzYZ8xaRHQ1Mob47X54TanX3nET00mi1Rc= X-Received: by 2002:a2e:9ed6:0:b0:2b4:7559:32b0 with SMTP id h22-20020a2e9ed6000000b002b4755932b0mr1312338ljk.19.1689941096135; Fri, 21 Jul 2023 05:04:56 -0700 (PDT) Received: from rymek.localdomain (217.96.247.89.ipv4.supernova.orange.pl. [217.96.247.89]) by smtp.gmail.com with ESMTPSA id z26-20020a2e885a000000b002b6de6deb5asm907977ljj.2.2023.07.21.05.04.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 05:04:55 -0700 (PDT) From: =?UTF-8?q?=C5=81ukasz=20Rymanowski?= To: linux-bluetooth@vger.kernel.org Cc: Grzegorz Kolodziejczyk Subject: [PATCH BlueZ 2/4] monitor: Fix invalid Create BIG Test command Date: Fri, 21 Jul 2023 14:03:18 +0200 Message-Id: <20230721120320.147496-3-lukasz.rymanowski@codecoup.pl> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230721120320.147496-1-lukasz.rymanowski@codecoup.pl> References: <20230721120320.147496-1-lukasz.rymanowski@codecoup.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,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: Grzegorz Kolodziejczyk As per Bluetooth Core 5.4 Vol 4 Part E, 7.8.104, max pdu is 2 octect long and there is no adv_handle before encyption flag --- monitor/bt.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/monitor/bt.h b/monitor/bt.h index 131024e46..ea24a076e 100644 --- a/monitor/bt.h +++ b/monitor/bt.h @@ -2777,14 +2777,13 @@ struct bt_hci_bis_test { uint16_t iso_interval; uint8_t nse; uint16_t sdu; - uint8_t pdu; + uint16_t pdu; uint8_t phy; uint8_t packing; uint8_t framing; uint8_t bn; uint8_t irc; uint8_t pto; - uint8_t adv_handle; uint8_t encryption; uint8_t bcode[16]; } __attribute__ ((packed)); -- 2.34.1