Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp216644pxk; Thu, 1 Oct 2020 00:05:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVWGQggLNBo3udLkTpsi/5ylTZ5m+74F2ejtV5sXnMnkue7gatiQ+mPC9hV5xQIVdDPcRP X-Received: by 2002:a17:907:2079:: with SMTP id qp25mr6536035ejb.186.1601535901631; Thu, 01 Oct 2020 00:05:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601535901; cv=none; d=google.com; s=arc-20160816; b=LTbgdbO8mEMF9yqMjVDdOIaYKON3vQTN/EJCD5Yb6Y2pHhJo7Bo8U/e7nlq8MDAW0q QmEPSedLjBpXxRieQ5no2Q6KQn8zL+hsXpmARJlJbvOfzTMvT4EM+hR+pkQGwCraeAvv 6JyEbAuODXAI+4IYLpmacOQZdN5AjK1NKSjqQKfHN3+EZ0mJCwM1U+dq17iHPomEKFdn bd0UTSlGc6+HDZz7tWdT+gxKcrdf2K+V9wIs1zwHTfwjst8GK+QwHpHcQDDJ9kkeIqcV i84RVm7WAg7dYAkfsuX739SyJHVI4G83CmIHmsDueMdmAhgCbsuNQyYwywhBOwiJrpGK zJEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=1Lgm/oWMoM+ykN2FWjc4VDf8aotSuA6NmoVEAzSuek8=; b=ZTdZp60Bc6UPsD9CCzAY2NUmOUKVYc3GuCrFIP0zk2m+SR2YDw/fVETeN5turwNYaz PawwovvB23j6+BXGnMVZZ/TnAmjnK9QkFn625ezg9ixKBLQjUt3lIl2kZfM16S4fktkV qZARvppU2nUoMXYWxvMLs7KZXW4MMhP4h+OBcA3RB/MMEXUWc76azfif2hqLPCxhO32d Mm+L+eXC/KZE/Te1JfZKQITNeQiJo/lKwZdpCUjV8bb9bd8rUH9blImhXQ4M8UAoFzsK H42RRL4TdKASEgDbg/gDNo6ouL25ZFP8ThW46oR7M4gNfc6qfisk0lC2kVOra08Th9RO mrdg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si3194190eju.615.2020.10.01.00.04.36; Thu, 01 Oct 2020 00:05:01 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725938AbgJAHD4 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 1 Oct 2020 03:03:56 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:49914 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730732AbgJAHD4 (ORCPT ); Thu, 1 Oct 2020 03:03:56 -0400 Received: from marcel-macbook.fritz.box (p4fefc7f4.dip0.t-ipconnect.de [79.239.199.244]) by mail.holtmann.org (Postfix) with ESMTPSA id D9A80CECD2; Thu, 1 Oct 2020 09:10:54 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: [PATCH] Bluetooth: btqca: Add valid le states quirk From: Marcel Holtmann In-Reply-To: <20200930130108.1.Iaa2fcfb9b4fbfe4b4887464a6b4f12ac4b831c84@changeid> Date: Thu, 1 Oct 2020 09:03:54 +0200 Cc: CrosBT Upstreaming , linux-bluetooth , Johan Hedberg , linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <9AEA5BB8-CF7C-4403-89F3-1457B1F6153E@holtmann.org> References: <20200930130108.1.Iaa2fcfb9b4fbfe4b4887464a6b4f12ac4b831c84@changeid> To: Abhishek Pandit-Subedi X-Mailer: Apple Mail (2.3608.120.23.2.1) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Abhishek, > WCN3991 supports connectable advertisements so we need to add the valid > le states quirk so the 'central-peripheral' role is exposed in > userspace. > > Signed-off-by: Abhishek Pandit-Subedi > --- > Example result showing the central-peripheral role correctly. > > localhost # bluetoothctl show > Controller 3C:28:6D:4F:A0:1F (public) > Name: BlueZ 5.54 > Alias: Chromebook_63FC > Class: 0x00480000 > Powered: yes > Discoverable: no > DiscoverableTimeout: 0x000000b4 > Pairable: yes > UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb) > UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb) > UUID: Handsfree Audio Gateway (0000111f-0000-1000-8000-00805f9b34fb) > UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb) > UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb) > UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb) > UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb) > UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb) > Modalias: bluetooth:v00E0pC405d0057 > Discovering: no > Roles: central > Roles: peripheral > Roles: central-peripheral > > drivers/bluetooth/hci_qca.c | 19 +++++++++++++------ > 1 file changed, 13 insertions(+), 6 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel