Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1886167ybz; Thu, 23 Apr 2020 07:45:19 -0700 (PDT) X-Google-Smtp-Source: APiQypJEqRGprZYbfIPnhEWzso1vyPfbe6edKsbJQrJ9q8nt1tq92vEE5vp4HvRMbD3Ycmih4wPb X-Received: by 2002:a50:d615:: with SMTP id x21mr2749844edi.62.1587653118963; Thu, 23 Apr 2020 07:45:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587653118; cv=none; d=google.com; s=arc-20160816; b=q1g80pBptwU1jE1OMLanrr8wWUiR9LacVcbs5hyM0Wa32tJbNcnxZMqEr6U90yOa/h 7FJSjBzic6BkB/f7o+f6LhsLy4/hBqFUh933AnOYk22hGFxLOYT/89Jd/24I7pE/Njib vo7WXWbh/G9YjapPLlQ1JubXLUzzs6pg92QIdHXp2qG5LcaiWsZzbNxUJ5oX5yfBX+x0 8AK3CcEKy0S4Q0FA6QJqQNebptllLXgGAi1YPGjQzix2EdLaFw2R5UIpT44L4usaFLFK 9gwVbpDF0aZGVcQ24h9gRydH/qbOq1PjpUv5Pw1sDONSq8mNCE2bx0KYq7yK3U86VxXc mynQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KGjHlHj2yLZ30uJ1TR1oOXoayTLW/J80Sb28kEteyy8=; b=myRlDThxx25ZE0B7iZYZvVrPafKiGKM1ZR0nw9zT5XUQILLDEggaq5PlUmzwqrHDsw /h1BUjyq3sewT8z+Jax1ioh0heG+cCeh9xZa0H1cCp68uXatyce2OgE0X0BjNM6ilvfO UqreRANTZDwACkRu6s2P/JkeELdwS+4o5TCDqEBac1iCk9Rg/RLpURI8vAmpyuY4nJMs CoXnPv0sFvp5Fz1h1Tc9sQxL6Mv0rthjOsEVsBCFVj8EKMRxfAspwAUM1uNy53xcUqA4 G6Q5UCDCoJ3FiO0HKvkdyoLSBaj7d6R4Us8lKWycX/Xbs8wI+n8HJH2zsTL+dXK0N0TR 8kZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=e0YXc6jk; 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 qn16si1393638ejb.66.2020.04.23.07.44.55; Thu, 23 Apr 2020 07:45:18 -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=e0YXc6jk; 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 S1728190AbgDWOn4 (ORCPT + 99 others); Thu, 23 Apr 2020 10:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726380AbgDWOnz (ORCPT ); Thu, 23 Apr 2020 10:43:55 -0400 Received: from mail-ua1-x942.google.com (mail-ua1-x942.google.com [IPv6:2607:f8b0:4864:20::942]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC70AC08E934 for ; Thu, 23 Apr 2020 07:43:54 -0700 (PDT) Received: by mail-ua1-x942.google.com with SMTP id c17so5884784uae.12 for ; Thu, 23 Apr 2020 07:43:54 -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=KGjHlHj2yLZ30uJ1TR1oOXoayTLW/J80Sb28kEteyy8=; b=e0YXc6jk4BECICTBKHOujB3/h2gy6FK1YB9/i5hoLOBXzDnjJWx+1bHUufDBDwBLHN oQyVXr2uB83EjqvXhjT4zxGI1vwpIzYXdwlnJMcm4tVHdhTBKwOlX2O8ndU81/4Bw8IY fG1t2DPcXi0HVtPHmbnFtY8HLinIjqrEU2OZU= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=KGjHlHj2yLZ30uJ1TR1oOXoayTLW/J80Sb28kEteyy8=; b=XbMpgoh9/WEoyD/G/mEg8aQeLJdtdYdbeQifeCjxeoU2E1AetjuNiX/M6ANt1pWPlE 2LGYf97fRr2itGiWsYgoeDRYEOlgL1A1WCKjWfOj6uMViD8dPw5avD97uoIqPTkEY84b nGhdVPaDJx6Txuvy2TfKvX0A2fr+b+pULopkpmwU6EFocWMxmw3VU8Nq1OFk9yjxm2oX NDn7elUH8nMrE2rD/mUfLG98ZtE5E9i0rpP9o+vSmRY0QGvOsvQuvGNriNEwKBk+NQAL gn43ycan2Pf7qS38RJr0ccoVPZNG0R4m+lnfFIb2kZBBakmGwPFOZXkYrLJ3c5KxpAMu /JLA== X-Gm-Message-State: AGi0Pua7Oxulu8hnkBsO8Gv9MndQVxVOJSL7zOUJ9TJYmwYYhfcx0nKW aUhaboi3l+OVuADErivcJbDnMrAQ8lQ= X-Received: by 2002:a05:6102:4d:: with SMTP id k13mr3488005vsp.198.1587653033644; Thu, 23 Apr 2020 07:43:53 -0700 (PDT) Received: from alain.c.googlers.com.com (161.138.243.35.bc.googleusercontent.com. [35.243.138.161]) by smtp.gmail.com with ESMTPSA id d83sm762107vka.34.2020.04.23.07.43.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2020 07:43:53 -0700 (PDT) From: Alain Michaud To: linux-bluetooth@vger.kernel.org Cc: Alain Michaud Subject: [PATCH v3 3/3] bluetooth:btusb: Adding support for LE scatternet to Jfp and ThP Date: Thu, 23 Apr 2020 14:43:31 +0000 Message-Id: <20200423144328.82478-4-alainm@chromium.org> X-Mailer: git-send-email 2.26.1.301.g55bc3eb7cb9-goog In-Reply-To: <20200423144328.82478-1-alainm@chromium.org> References: <20200423144328.82478-1-alainm@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This change adds support for LE scatternet connections to Intel's JfP and ThP controllers. Signed-off-by: Alain Michaud --- drivers/bluetooth/btusb.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index dd27e28d4601..d801c332b85a 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -335,7 +335,8 @@ static const struct usb_device_id blacklist_table[] = { /* Intel Bluetooth devices */ { USB_DEVICE(0x8087, 0x0025), .driver_info = BTUSB_INTEL_NEW | - BTUSB_WIDEBAND_SPEECH }, + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, { USB_DEVICE(0x8087, 0x0026), .driver_info = BTUSB_INTEL_NEW | BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x8087, 0x0029), .driver_info = BTUSB_INTEL_NEW | @@ -348,7 +349,8 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x8087, 0x0aa7), .driver_info = BTUSB_INTEL | BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x8087, 0x0aaa), .driver_info = BTUSB_INTEL_NEW | - BTUSB_WIDEBAND_SPEECH }, + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, /* Other Intel Bluetooth devices */ { USB_VENDOR_AND_INTERFACE_INFO(0x8087, 0xe0, 0x01, 0x01), @@ -3877,6 +3879,9 @@ static int btusb_probe(struct usb_interface *intf, if (id->driver_info & BTUSB_WIDEBAND_SPEECH) set_bit(HCI_QUIRK_WIDEBAND_SPEECH_SUPPORTED, &hdev->quirks); + if (id->driver_info & BTUSB_VALID_LE_STATES) + set_bit(HCI_QUIRK_VALID_LE_STATES, &hdev->quirks); + if (id->driver_info & BTUSB_DIGIANSWER) { data->cmdreq_type = USB_TYPE_VENDOR; set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks); -- 2.26.1.301.g55bc3eb7cb9-goog