Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4017122ioo; Wed, 25 May 2022 12:58:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztgWJ1jc1CnbvfCJLj9Fn53K13bHXIQJ6SBujFS8AChqIRwpAMlu1n8BSOuOF6ppbWsAM8 X-Received: by 2002:a62:194a:0:b0:518:9c0b:3130 with SMTP id 71-20020a62194a000000b005189c0b3130mr17266298pfz.19.1653508684518; Wed, 25 May 2022 12:58:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653508684; cv=none; d=google.com; s=arc-20160816; b=uHFLYhHmnBGVjEvrl8LPQDNpbtKRPo2EK2SaZYM2Tv3OQukVPYrgr3nAXmmOScLYmL QxGSiaOtxAZzncmQuah133kYlPJVWnN6J5Xdzpjk4G0tbDVBB7dTygR3Ts4Sxy0l7ORn fKalOnW3oKA9s4Sd3IN84d9CsG14peqUniQQL7WpkKVjQmHvjrJglmuszHfEn4W9gAQx UIR4FtGuDRaBmIlnwqhVjN819/TQ9bvlxFGZcl5S0wOkiUvPChr2JQ38ySHN68Hgh2MO w7Ya07S/fUi9lcib55v91AYOnEA6dCy4gCFN/gPfiElCYgWF/rSC0X+gtt4Nf/zwjrxW rP9w== 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=/+P/7k1LChvI26DD9TDcF/h4mBlWn8AMjL3OetW7svw=; b=FMntBtheXVpCd6KdBtDwtQyyzvneTrGZKbc23xKsp1ffyEFDka/PssxH3A1C6BE89c oq2HOqC6PVKRyOXoUkjf/8gaE+MFot08kPZGN/gFqxZer8KcJ5JBw2GAag1nWnQneRUq 7qcMwmooyfUWQZFr1teyj7kzhmFiGFJr8NuzcpSXR5EJlQ3apPna16zTNnmLECpqTBAL q0eLr/DmTEuiE6jgbWWl7RP0C1+XcMC6B6iePQyL0WsaU632WzXGyYdwTzSFNOpbtOSe EYVumG580Xrmk12Uay8T21w0B9GfvZSN5CVdbxnaibS7OjH6TsVoUcc1xyxs7UTqrgZy 4GCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=U0BkY3nC; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 3-20020a17090a198300b001df5e030480si3288353pji.92.2022.05.25.12.57.49; Wed, 25 May 2022 12:58:04 -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=@chromium.org header.s=google header.b=U0BkY3nC; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230457AbiEYKug (ORCPT + 99 others); Wed, 25 May 2022 06:50:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbiEYKuf (ORCPT ); Wed, 25 May 2022 06:50:35 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC73A1C6 for ; Wed, 25 May 2022 03:50:34 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id v5-20020a17090a7c0500b001df84fa82f8so4677712pjf.5 for ; Wed, 25 May 2022 03:50:34 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=/+P/7k1LChvI26DD9TDcF/h4mBlWn8AMjL3OetW7svw=; b=U0BkY3nCf0ZKzy/JlzQaWxci40PBuP+83Fi6cZlkI/E0mRuMx5ves07vSOyFmtBFpZ 8MPfGjw0QxU6GG+RbQcEU1PP2v8v7earmVvspYRWMkxUWYDFnsgLxNI79gVcQpWxK36f zqoR7lDXzGGBrtR/DdVgkPyRHciuoStnB4c+8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/+P/7k1LChvI26DD9TDcF/h4mBlWn8AMjL3OetW7svw=; b=ixjtXhePsRio0TFidSIGDhXt3ly8zv4b2HN4T9hMbxwPctuT+0OhpUACO0T1DkBvnm JFDj5v6h+0BNlNe85uzJcrHjgLdfFPIOMOS/e4dkSuht2zfaO6Z7iB2hfjsGufE/0XIQ VWQRNro5r1+BIHhEwvv+h9TyxK0X31v/8K1L9yBVrEeV7wIFGGLj1eTv5rUKmp/IQySO T+Trx/MMPKP+eDKa28XapG2CbHHwf1pXPDaSaAAabWXYBdHm83wVHdGATdEsEL+/LrC3 ekpNMvKtUAd/h2HtBWIOxyGkNBGLIcw+aItuTwHIVoTnGets5OK9UHZEi8XqFhPn5Zuc zxFw== X-Gm-Message-State: AOAM531l+IurZJgFgDOdJQqtIxCoWd+A0zWLxsI7D39g0PVxCygM/Wot ovS6NFAESy1o1DqnJGDSkTBE4xbFhjNL3Q== X-Received: by 2002:a17:902:c752:b0:161:7cb4:78b1 with SMTP id q18-20020a170902c75200b001617cb478b1mr31801632plq.166.1653475834023; Wed, 25 May 2022 03:50:34 -0700 (PDT) Received: from localhost (174.71.80.34.bc.googleusercontent.com. [34.80.71.174]) by smtp.gmail.com with UTF8SMTPSA id v4-20020a17090a458400b001d9780b7779sm1282983pjg.15.2022.05.25.03.50.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 May 2022 03:50:33 -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 v5 3/8] adapter: remove quality report from experimental features Date: Wed, 25 May 2022 18:50:10 +0800 Message-Id: <20220525105015.2315987-3-josephsih@chromium.org> X-Mailer: git-send-email 2.36.1.124.g0e6072fb45-goog In-Reply-To: <20220525105015.2315987-1-josephsih@chromium.org> References: <20220525105015.2315987-1-josephsih@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 The quality report feature is now enabled through MGMT_OP_SET_QUALITY_REPORT instead of through the experimental features. --- Changes in v5: - Move is_quality_report_supported() implementation to next patch. The function does not belong to this patch. Changes in v4: - Move forward this patch in the patch series so that this command patch is prior to the quality report event patches. Changes in v3: - This is a new patch that enables the quality report feature via MGMT_OP_SET_QUALITY_REPORT. src/adapter.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/adapter.c b/src/adapter.c index db2624c60..d0abb2a3c 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -120,13 +120,6 @@ static const struct mgmt_exp_uuid le_simult_central_peripheral_uuid = { .str = "671b10b5-42c0-4696-9227-eb28d1b049d6" }; -/* 330859bc-7506-492d-9370-9a6f0614037f */ -static const struct mgmt_exp_uuid quality_report_uuid = { - .val = { 0x7f, 0x03, 0x14, 0x06, 0x6f, 0x9a, 0x70, 0x93, - 0x2d, 0x49, 0x06, 0x75, 0xbc, 0x59, 0x08, 0x33 }, - .str = "330859bc-7506-492d-9370-9a6f0614037f" -}; - /* 15c0a148-c273-11ea-b3de-0242ac130004 */ static const struct mgmt_exp_uuid rpa_resolution_uuid = { .val = { 0x04, 0x00, 0x13, 0xac, 0x42, 0x02, 0xde, 0xb3, @@ -9617,12 +9610,6 @@ static void le_simult_central_peripheral_func(struct btd_adapter *adapter, (void *)le_simult_central_peripheral_uuid.val); } -static void quality_report_func(struct btd_adapter *adapter, uint8_t action) -{ - if (action) - queue_push_tail(adapter->exps, (void *)quality_report_uuid.val); -} - static void set_rpa_resolution_complete(uint8_t status, uint16_t len, const void *param, void *user_data) { @@ -9698,7 +9685,6 @@ static const struct exp_feat { EXP_FEAT(&debug_uuid, exp_debug_func), EXP_FEAT(&le_simult_central_peripheral_uuid, le_simult_central_peripheral_func), - EXP_FEAT(&quality_report_uuid, quality_report_func), EXP_FEAT(&rpa_resolution_uuid, rpa_resolution_func), EXP_FEAT(&codec_offload_uuid, codec_offload_func), }; -- 2.36.1.124.g0e6072fb45-goog