Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1156123pxb; Thu, 19 Aug 2021 22:19:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBJ62f+ubK4wSk54hYCUMl1Wm5dV0aN5KWyARZR+me49Ryy0toItbmyQqj0WkFpHGB68cK X-Received: by 2002:a92:8702:: with SMTP id m2mr13004117ild.250.1629436761394; Thu, 19 Aug 2021 22:19:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629436761; cv=none; d=google.com; s=arc-20160816; b=vn/nzViiVYrz7e1XZqmZqLfPX0ZTiKXrdWRK+P0k7u4R1qkGkK/9ilpCuT8CnzMXK6 JIbItFaryAKjDSfuR1UUNhFHuq7kDVx8+RJWhSEPrLBwpgVs/LOO/+7CW3EZf0dG6Mhk 1lKap+D4IT19tzC458Rf6s3nB+1uZDjZF+0xBnWf42SJ9DVz91+LaYgRas1yH9YyYR3I GhftKK+WDIH79ZAOR+WTbJJDps5o15wQ9zw4E6xkD3RKB5CuOTPSEVfiPQc/TG8c+SDT FnF3SibZTzzQcpeiiheyWqtvQdURb/ugmVkCSqAzKSHhsz447IGbWcYRXrCPBYUKlRZZ fM2w== 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:cc:to:from:dkim-signature; bh=9nPDvDJqSCuWssWpPmAqlRNZkqophHAZC32ywPblLT8=; b=Or2y3E5xz7BZwpNN1pJru+PNUY6LTJAinnZvjGCeqPHwggL4ASd/Y6kBpSncQZ+KdU V9Gxww8iPDksHhHKFteya/EfW76x0LeQGDDZkXxfVglf9nINVSGTH/J/+bHBPSgVQfy0 rwprADpDSfu4VZOsi0606WMddss8C66SMSW8fU95On38x96Fm0Dq7rHD3218NGBC4095 wGMO+ORxbvrCTN93Sd91QWYfNS5vNLdqDBBt1fNxEGpCNInLzfDkVsDFy2bALmVu6Sm6 pQ61xbe3K3spHuzwMxcSu56amXi4SsUxQelVireaw7Oz6AyIMp6AEToWKjD7VDsYlXUX +acw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nujvBldQ; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y17si5311795ila.114.2021.08.19.22.18.55; Thu, 19 Aug 2021 22:19:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nujvBldQ; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233661AbhHTFSs (ORCPT + 99 others); Fri, 20 Aug 2021 01:18:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232500AbhHTFSs (ORCPT ); Fri, 20 Aug 2021 01:18:48 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 186CDC061575 for ; Thu, 19 Aug 2021 22:18:11 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id hv22-20020a17090ae416b0290178c579e424so6457415pjb.3 for ; Thu, 19 Aug 2021 22:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9nPDvDJqSCuWssWpPmAqlRNZkqophHAZC32ywPblLT8=; b=nujvBldQ38t5MY0e8mFFNIr1OoyYSQqmkq+NA30EJuGuqdAq541aU1XlfkAaC5AaIQ R8Hdpq2kXYB/6vUM1K1WMrPj50vyDGKa1EiowGw21AsqA7H+uHai0BGJkBMtys/dtLfv 8OtNf+CqT4FOCzO2aRLWp7Mq7GdusTX0TfOA4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9nPDvDJqSCuWssWpPmAqlRNZkqophHAZC32ywPblLT8=; b=kcaumP2m2DirwO2wp0GORwf4f4AcxSH8S0dfPNwr9DhGJSAno3kBHvyvswSaOVGC1K a4Tys1uh/by+STxgFW+a4fL7d2TBcAIY/OnuYs3exWj5FAKju0Hr/35wNAm0avcJ1QKw Z7xlpaIfz/BiuGz1G6Ssxso0XZbZNCzHHCNP/jH90XE4ASPy4zhIWvwD0GSxeHvLVp2X 3gFrckPsAULKfnlUBUBmRZZJL9x/RnCLA/ISaGvXjndStDqPrcj1Ye88IRwI6/XEYAHH b+pTNkr5hW2cfYBCH5FyDBzmPY+5IR1nqS1GvCdKVAEngziQ+inC2UGftGszoDnr1HyJ RBcg== X-Gm-Message-State: AOAM530CsxmVIY61M7+jV1NdynycOBn53hb8jqvcyBePOeIXja7Q6gh2 aVbSnTFBSAhI4tgojOzzLPz03gCnDI5SLw== X-Received: by 2002:a17:90a:c244:: with SMTP id d4mr2806459pjx.38.1629436690249; Thu, 19 Aug 2021 22:18:10 -0700 (PDT) Received: from josephsih-z840.tpe.corp.google.com ([2401:fa00:1:10:7a7d:6851:a4d:8e9]) by smtp.gmail.com with ESMTPSA id 15sm10498452pjz.18.2021.08.19.22.18.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Aug 2021 22:18:09 -0700 (PDT) From: Joseph Hwang To: linux-bluetooth@vger.kernel.org, marcel@holtmann.org, luiz.dentz@gmail.com, pali@kernel.org Cc: chromeos-bluetooth-upstreaming@chromium.org, josephsih@google.com, Joseph Hwang Subject: [BlueZ PATCH v1] tools/mgmt-tester: add a exp feature to Read Exp Feature - Success Date: Fri, 20 Aug 2021 13:18:02 +0800 Message-Id: <20210820131751.BlueZ.v1.1.I165b6fc2b20d80c8d18946434005f0269d92f489@changeid> X-Mailer: git-send-email 2.33.0.rc2.250.ged5fa647cd-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch adds a new quality report feature to the "Read Exp Feature - Success" test. --- tools/mgmt-tester.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index 8afd02c32..da53e4484 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -9334,7 +9334,7 @@ static const struct generic_data set_dev_flags_fail_3 = { }; static const uint8_t read_exp_feat_param_success[] = { - 0x02, 0x00, /* Feature Count */ + 0x03, 0x00, /* Feature Count */ 0xd6, 0x49, 0xb0, 0xd1, 0x28, 0xeb, /* UUID - Simultaneous */ 0x27, 0x92, 0x96, 0x46, 0xc0, 0x42, /* Central Peripheral */ 0xb5, 0x10, 0x1b, 0x67, @@ -9343,6 +9343,10 @@ static const uint8_t read_exp_feat_param_success[] = { 0xde, 0xb3, 0xea, 0x11, 0x73, 0xc2, 0x48, 0xa1, 0xc0, 0x15, 0x02, 0x00, 0x00, 0x00, /* Flags */ + 0x7f, 0x03, 0x14, 0x06, 0x6f, 0x9a, /* UUID - Quality Report */ + 0x70, 0x93, 0x2d, 0x49, 0x06, 0x75, + 0xbc, 0x59, 0x08, 0x33, + 0x00, 0x00, 0x00, 0x00, /* Flags */ }; static const struct generic_data read_exp_feat_success = { -- 2.33.0.rc2.250.ged5fa647cd-goog