Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5891301pxu; Wed, 23 Dec 2020 07:58:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVeIMtNKl8BPAVczVrwxA6O/MFX18Rx/VxJcb3FXOGJmyS/9E3vNweg9k+2gXhGnxGYbQU X-Received: by 2002:a17:906:31d2:: with SMTP id f18mr24370675ejf.407.1608739130749; Wed, 23 Dec 2020 07:58:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608739130; cv=none; d=google.com; s=arc-20160816; b=nRhxNnxyO6pvNpbvBDsRPDc3+NmDpodl0ZDb32C02APxsZ1cC2mtY2PHAZMG5dAgCr RQBu0BrhzkEGpo9qn4Rkd7R+RybnKYcv0E7sSk53J00AqAYC4lp/aNN/dR44TihG53dR isa+ImKmfj1/WQJOSKyAJtAO8+h3rPXKhrko2RRHHAw6PRSrFVstMDxg8cqRGOfHLefU F0P7i08y/HwuH35vqzBgwMZ6Iee+k1kTus/Q2ah+DghYf/7o29bYgrdNpT6g4Q98qJQ1 CXJAx6Hfl6cMYUjVjSyAF98wqmQ+8CLEcZvZ8yDeF1nxMorPB0Ion3I/3psivKLnqCBa kMJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BZB8V0vcA5zyKMv34hAYd2oB7BvCDq7bkPJufnV2e7g=; b=QRR+ptGUJ45uGBsHsyvALbqfeyMzM8s8q7aT1xCk1qLoZZtQ9BR/9UOLowooQRBNk5 m2+0IFjRro/KG5m43DyHyp87Q14vfeydqqMc4PEs7lrWNY9BIrBaRRdZEcp3WCfq1K/j XduALdrf/7BdjtKnKXE17AGlYQgcUxyR+LUdtB1Mpr/PCDX3F4OPMnyMKmEsvHrDss8s i+Yh7dqCsp24uW2JORh6QAWSkboMo6g/mSEo99ujsHmW5mkydiaXIQjn5sfckmY6lnL+ wJ7Mw5ie+rZqJ/GUgMDvmtTCx7/AS8+V7xHR8er0Hi4lzmIg7txKUWf70MS1BocDxEPY EZbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Zfw3iErk; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id co12si13049919edb.534.2020.12.23.07.58.18; Wed, 23 Dec 2020 07:58:50 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=Zfw3iErk; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727147AbgLWP5I (ORCPT + 99 others); Wed, 23 Dec 2020 10:57:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:48858 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726591AbgLWP5H (ORCPT ); Wed, 23 Dec 2020 10:57:07 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4163622210; Wed, 23 Dec 2020 15:56:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608738987; bh=Qaj+dB13pm1mXyOK5JT7nDDWvncGVryx8u69imJZ/iE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Zfw3iErk+M4qW+9iQpe0QU5Lafifxxt6qeQBCPeR2ZQ6uljodV/FoKGMOfvTzUmd8 h/YwIR6XjfPgPWV2UFfHWOIqNLfz68wCYB8Op+3T6AB+Xn3FArnbqyHeiAAMB62Yz4 fN7cXggI5YmQpxRGJWQQZCSlewSzDZP6UR93U+rAccg5/VAwHxtFgqtW4+WG0DlWB2 D9cdhUcTYywUY4ByngCAb6v55kBQhTYi7apK73ORs8k+tn2S073SwEuQPzw4Rgrhps SH9H3CaIw++w+farM+rGjJsEwoXJHuhkz9nafJFcIbylD5O/pwDiN2MZxjobODL+HG s1b/yk65Ye0uQ== Received: by pali.im (Postfix) id 1FFFF7F0; Wed, 23 Dec 2020 16:56:25 +0100 (CET) Date: Wed, 23 Dec 2020 16:56:24 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Joakim Tjernlund Cc: "linux-bluetooth@vger.kernel.org" Subject: Re: Default to HW mSBC on capable controllers ? Message-ID: <20201223155624.uzbxfxtowenjrwm2@pali> References: <20201221210707.evrdeyiki45pivux@pali> <26db80417b43d919b6e33a4ee56c0e44a2f42a5c.camel@infinera.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <26db80417b43d919b6e33a4ee56c0e44a2f42a5c.camel@infinera.com> User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Wednesday 23 December 2020 15:41:01 Joakim Tjernlund wrote: > On Mon, 2020-12-21 at 22:07 +0100, Pali Rohár wrote: > > On Friday 18 December 2020 13:32:29 Joakim Tjernlund wrote: > > > There seems to be quite a few USB controllers gaining the BTUSB_WIDEBAND_SPEECH which I guess means HW mSBC > > > > No, it does not mean mSBC. > > > > I forgot, if BTUSB_WIDEBAND_SPEECH does not mean capable of HW mSBC, what does it mean? BTUSB_WIDEBAND_SPEECH flag is just for usb bluetooth adapters. Not for UART or SDIO bluetooth adapters. It is a hint set for some bluetooth adapters which are on kernel whitelist that wideband speech support is possible for them. mSBC is not the only one codec which has wideband support. Based on current "whitelist" implementation it does not mean adapters without this hint are not mSBC capable (e.g. new adapters could not be on this list) and also there is a theoretical chance that some with this flag are not capable of mSBC. But this is only theoretical and I think you can say that BTUSB_WIDEBAND_SPEECH is sufficient for mSBC. But it is not necessary condition for mSBC (e.g. because of UART or SDIO adapters or adapters which are not whitelist yet). I hope to see AuriStream support which is also wideband speech codec but should work also with some adapters which are not able to provide enough bandwidth for mSBC.