Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp710271pxv; Thu, 15 Jul 2021 14:07:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgTDQM8eb5SbBzXattEvMb4hlb+Yl/HPET9urDD4hrd+bk5vmNmwaTFfOevH6dw0J+wPnb X-Received: by 2002:a05:6402:517c:: with SMTP id d28mr9826415ede.299.1626383255922; Thu, 15 Jul 2021 14:07:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626383255; cv=none; d=google.com; s=arc-20160816; b=wjq34nyWVeXTmPtgiZpAAQeCqsiZ1IGRVgB2zNy0YALlZajfw+N4w3xT/CmXuPVAaP yE7JuPV4Ww7LPE144ZGEwT3zAEjbc/gBLa+xr/o7AyyClnB5X2ErL2dIRDKqED0Gw1GQ Pbg7AS2UaRKwWepv0oDidGbvEX5JJX4tklo5lv+eQVtC+nPAyD5CbVg9R3B5P8R1/PXB xq+VjxDtvYZXHf/pAC+NEim+zAUHksJ8sfqh4eLk8kkG/yt4kyhTtVPCuo5QRc90S2hI 2mf06sx3rtbdXyBgMpEKgyP2PYZEfeKd1EC9le+C+QriDUs10O2FwEOXLBb+iGCj0i+R pZAw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=J3+Id3LVErBWW+nDZHdkfVtM2B2rgEbc/jBrSDpaY8w=; b=XKTNOEpCInuYInC6J2tDYi415Y764U6vxi0Uf99J7agNeMJa3fPn4F4zSboH0bAh7j 4yWZsSvfpcBqbTONfwyWXWcUARJ4D+YnFYWo4odet2yf757JuZFpmetwLmLkCLjHnbIC cNus2lqN+5+au97rYoNkOe+M3kkyvb5sg+lJpBgO3fFdAYSLlfDyaxUiXGb53upBr6bN FF+XoF+Z0UKF7sQTumRm4MKnNqnfOMXi3QGPc8Rgx/omWu7Sp4Wmiw9Znuc8OPqZaz72 XhUwFBQ3znfMEcRkXdhLOhJ5m2Gab8UCUtKdNObAirQSj/a/mpQRdhb9v8U3IUwOEw5I tmNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="xr+Hzs/s"; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c5si8241577edr.180.2021.07.15.14.07.10; Thu, 15 Jul 2021 14:07:35 -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=@linuxfoundation.org header.s=korg header.b="xr+Hzs/s"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244663AbhGOTQg (ORCPT + 99 others); Thu, 15 Jul 2021 15:16:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:38864 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243182AbhGOTDE (ORCPT ); Thu, 15 Jul 2021 15:03:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E8204613F2; Thu, 15 Jul 2021 18:59:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626375560; bh=kXDM29sv0EVV85K0UGbIqr00ds/QrKFu9y7q4BCgMqA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xr+Hzs/sIkaYnR0qgoIsDs1wxuUrI+vj3Etwi1/skr8BIqDwBjZY5bxhdTN2fnzGS sdxNeAtR4a1VW857GMX6MgSpn6WNPcGz/WrwL1FzuOJDaoSukv8sbAzy1YusUEC/oi Vd1eT1uh7X5EP1W6YzHmqLFnpca+3pQgxRJMi/H8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Daniel Lenski , Marcel Holtmann , Sasha Levin Subject: [PATCH 5.12 139/242] Bluetooth: btusb: Add a new QCA_ROME device (0cf3:e500) Date: Thu, 15 Jul 2021 20:38:21 +0200 Message-Id: <20210715182617.491553183@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182551.731989182@linuxfoundation.org> References: <20210715182551.731989182@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Daniel Lenski [ Upstream commit 0324d19cb99804d99e42c990b8b1e191575a091b ] This patch adds the 0cf3:e500 Bluetooth device (from a QCA9377 board) as a QCA_ROME device. It appears to be functionally identical to another device ID, also from a QCA9377 board, which was previously marked as QCA_ROME in 0a03f98b98c201191e3ba15a0e33f46d8660e1fd ("Bluetooth: Add a new 04ca:3015 QCA_ROME device"). Without this patch, the WiFi side of the QCA9377 board is slow or unusable when the Bluetooth side is in use. See https://askubuntu.com/a/1137852 for another report of QCA_ROME fixing this issue for this device ID. /sys/kernel/debug/usb/devices: T: Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 2.01 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0cf3 ProdID=e500 Rev= 0.01 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms Signed-off-by: Daniel Lenski Signed-off-by: Marcel Holtmann Signed-off-by: Sasha Levin --- drivers/bluetooth/btusb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index b3ba5a9dc5fc..12f05093c46d 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -270,6 +270,8 @@ static const struct usb_device_id blacklist_table[] = { BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x0cf3, 0xe360), .driver_info = BTUSB_QCA_ROME | BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x0cf3, 0xe500), .driver_info = BTUSB_QCA_ROME | + BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x0489, 0xe092), .driver_info = BTUSB_QCA_ROME | BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x0489, 0xe09f), .driver_info = BTUSB_QCA_ROME | -- 2.30.2