Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2940493pxb; Sun, 26 Sep 2021 00:09:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoJWySFJ96r/HQVliS2tLXK58BWJXU9FG9fIzw2AtVTsz78tdYvineVDrtilmFX49cmEdF X-Received: by 2002:a05:6e02:1d06:: with SMTP id i6mr13812465ila.299.1632640178737; Sun, 26 Sep 2021 00:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632640178; cv=none; d=google.com; s=arc-20160816; b=iJPN6J8R9Jkhxs2ui75Kn5kwgqZSLp8yyeFtRlShfztDIof+BUOpb+Lxe5rkZ/qtDa Hbt1tO883zwCEgQtNpGXc4JdmBLHLwILTCimYAz5be77ZfRw9WO3Nca/bcbZRVcwI1bA aAmOZftu++OgO0VgqCMPmVOI8oZ2fcHkY+3EotROv8uEh/qpLig6Q4W+mloxzoK1o53f jtZG09oF6XKgqtRfel61JfuEm7OBOtEZo3yyBBVrbZIPcwXKcJa/Ix6V8MHqORDMEbXa cFP+qek8x8o0tHQ2jjNsN8DU7LvOfD6/6SIZow3sy6+ZyxjBzhhA863qg3ZtuDBydWWj ZNGg== 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=BpdS2aFlZ1zRpA2zLjv6Hye68VZ4PQccnLWfxs3dzj0=; b=gsISmTDy+xKpcgVlcbmwjkpadK3s4ZQW4sQaCi2rBtttqx7H2yxpn79zRzyLXQxTn4 ZVyf1NYF11xEA6UR73XFalbSIkaF5TVgiqFrQ5E8mzJteI5d7cTasv60/nqhB17m5BfK u4PHAL2NcCGpity5iDIQzEl5Oqe7oArpyWhFcfeLXtj56HMbEEr7UDuU27P4mHvoNZ/7 CX+L6eyDhSUKG5IxmYQUTh48FZUsjy1jWJwKU74tXj/obgxjJbvMH/482oj9qMPLbw8C 07SZ4Fxg6vMw9+/cN8p2H4GsE42Xt6QsxeYz+jMK0RNeC3SPKNRfNU6NzCwJxyy0mIai HQjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Qm2GEOaA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 r7si4807777ile.159.2021.09.26.00.09.28; Sun, 26 Sep 2021 00:09:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=Qm2GEOaA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S231187AbhIZHJh (ORCPT + 99 others); Sun, 26 Sep 2021 03:09:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231173AbhIZHJf (ORCPT ); Sun, 26 Sep 2021 03:09:35 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0799C061570 for ; Sun, 26 Sep 2021 00:07:59 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id il14-20020a17090b164e00b0019c7a7c362dso9747091pjb.0 for ; Sun, 26 Sep 2021 00:07:59 -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=BpdS2aFlZ1zRpA2zLjv6Hye68VZ4PQccnLWfxs3dzj0=; b=Qm2GEOaABbYbteFqTxtWZKpUKZtGwnqtMBlQvHFmsUZkmQD/W3xV0nYQQt50A7tQnY iPZGoXICtVi+F2gFDcis4h/KAzHfGZczNWmswg11JuMNDYbnEtHuE65argCUpJN58edo pJFP0t+mZyBJ8m8/P1hFoSYB9XLxBs6a7fbEg= 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=BpdS2aFlZ1zRpA2zLjv6Hye68VZ4PQccnLWfxs3dzj0=; b=WaFluEEqNYl9Iz5a3x3z4PlL+ezBukVqtBrqcUzHoNnySzjZBkYIN6BUgL6qQVwaxf cr85mZpIejnxr3R86DRk7cV5NlSIyYKDAX50za8AAVuUFPRbtMYb7qTwR79z77rI6Dte MglFk9OwDBr5TDIifZMlMCWHHNfPFcK4Psl883Rp4Ce/SG0VnJ76rAk4o1m94DljS1iq +tp+Anrh99VdA/zm50hDjxvaEK4dmDeKWgxMP5ty7FYAaYKrAwBsGG1LCVMv++xZRXh+ w1um7gYP4nWp8B1iCPgjszwuBenG2h7lzcQp+gTVoDYcy+h1iHsm1V0KTMDmO6WDAiVk 9ZDQ== X-Gm-Message-State: AOAM530QqNzE816zEuJSbP+KZbS29tWgPgUUxCMV4/gXkCl3/KOdVgHq fy471LVEq7oToT1agcd6EctTAQ== X-Received: by 2002:a17:90a:1b2a:: with SMTP id q39mr12316659pjq.219.1632640079446; Sun, 26 Sep 2021 00:07:59 -0700 (PDT) Received: from josephsih-z840.tpe.corp.google.com ([2401:fa00:1:10:8152:3867:7050:3260]) by smtp.gmail.com with ESMTPSA id o17sm13796174pfp.126.2021.09.26.00.07.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Sep 2021 00:07:59 -0700 (PDT) From: Joseph Hwang To: linux-bluetooth@vger.kernel.org, marcel@holtmann.org, luiz.dentz@gmail.com, pali@kernel.org Cc: josephsih@google.com, chromeos-bluetooth-upstreaming@chromium.org, Joseph Hwang , kernel test robot , Miao-chen Chou , Johan Hedberg , linux-kernel@vger.kernel.org Subject: [PATCH v4 2/4] Bluetooth: hci_qca: enable Qualcomm WCN399x for AOSP extension Date: Sun, 26 Sep 2021 15:07:47 +0800 Message-Id: <20210926150657.v4.2.I287dfe4fd9801db8ea35dc095ea05c23e8b9129d@changeid> X-Mailer: git-send-email 2.33.0.685.g46640cef36-goog In-Reply-To: <20210926150657.v4.1.Iaa4a0269e51d8e8d8784a6ac8e05899b49a1377d@changeid> References: <20210926150657.v4.1.Iaa4a0269e51d8e8d8784a6ac8e05899b49a1377d@changeid> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch enables Qualcomm WCN399x to support the AOSP extension. Reported-by: kernel test robot Reviewed-by: Miao-chen Chou Signed-off-by: Joseph Hwang --- Changes in v4: - Call hci_set_aosp_capable in the driver. Changes in v3: - Fix the auto build test ERROR "undefined symbol: btandroid_set_quality_report" that occurred with some kernel configs. Changes in v2: - Fix the title drivers/bluetooth/hci_qca.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c index 53deea2eb7b4..e2566d606c93 100644 --- a/drivers/bluetooth/hci_qca.c +++ b/drivers/bluetooth/hci_qca.c @@ -1730,6 +1730,7 @@ static int qca_setup(struct hci_uart *hu) if (qca_is_wcn399x(soc_type) || qca_is_wcn6750(soc_type)) { set_bit(HCI_QUIRK_USE_BDADDR_PROPERTY, &hdev->quirks); + hci_set_aosp_capable(hdev); ret = qca_read_soc_version(hdev, &ver, soc_type); if (ret) -- 2.33.0.685.g46640cef36-goog