Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4011731ybb; Mon, 23 Mar 2020 11:48:23 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvhqUyA68vlambHzCeoikfYyfz5ELHAw17lROvFTpI+068aQMIG3QgwzL9yBawKDljBKv/8 X-Received: by 2002:aca:170c:: with SMTP id j12mr590429oii.50.1584989303420; Mon, 23 Mar 2020 11:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584989303; cv=none; d=google.com; s=arc-20160816; b=vk1EWu559m1mPpl4TDsVQdBHh1j99Ab2iwZtUkax12HlLvfLQyN1dFuGHAx2gsOFft 86cWdeOjmFB6WHKSPuHSb4lEXtlYRs1RY6SVaq2+PAjMbXRojDRNxUD9k4K3/hswASQA ZwDemmTR71FPyvw4qnsS2dN7wiH5feOqsm6EDziL5jcdw2aSNUAF4QkjwIgPVS3AB6do uShugz8fMKAKPUae+f+OuFG35SQe1I69NRX++03puriF+dzCzgYeltkIr/wk5Y/Yd3fu DeKbW7u/3hQZyWguVjvicdOCIvBOC1/y4tjD/AqUPVrYZIk/WoTtvW4WTJxTfP68J906 O7TQ== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=LvmZR64k8cwtodSCpaMhe7ZTvY1+aDAmsFgUhy4WRRA=; b=fXgpXlu7XAnkUrWwGqxBEx9i2BtbTVt/vvMvCKRcjKghcA4CMspSHWedheyLAdGG8U BmfCj+VYMkc0GqAPDIfYO9EOfqy9P9dAs6Izm/+4sdAU/mEyx2HdTbF5BDsH3taiq69l UBpKFsQUWrcenT4Hz0E5V5WmMp1Fnt1Cl2ojFnKJy93bvYMY4YWQVPmBaF+xA4M3mA4k fpiX5u0D0nzI/niXdSJ8ZRn33Gow2gidSzNRRbRS7KGSvSJQTgEGW8v3K+8N1r9u/H/v v9OxlCt9ZeLSrg5UhEUShFdr8TYuRSJaSuobt5Rw6vyLU6wsiyfOyZqEusB1KfxNg9IX ZsgA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5si8356306otp.317.2020.03.23.11.48.10; Mon, 23 Mar 2020 11:48:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727460AbgCWSq6 (ORCPT + 99 others); Mon, 23 Mar 2020 14:46:58 -0400 Received: from smtprelay0203.hostedemail.com ([216.40.44.203]:51758 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727188AbgCWSq6 (ORCPT ); Mon, 23 Mar 2020 14:46:58 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id 73AB21818D326; Mon, 23 Mar 2020 18:46:57 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:967:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2525:2560:2563:2682:2685:2828:2859:2892:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3871:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:5007:6117:7688:8957:9025:10004:10400:10471:10848:11026:11232:11658:11914:12043:12295:12296:12297:12438:12740:12760:12895:13069:13255:13311:13357:13439:14180:14181:14659:14721:14775:21060:21080:21627:30054:30055:30060:30075:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: flag40_1f60dc97ce548 X-Filterd-Recvd-Size: 2291 Received: from XPS-9350.home (unknown [47.151.136.130]) (Authenticated sender: joe@perches.com) by omf20.hostedemail.com (Postfix) with ESMTPA; Mon, 23 Mar 2020 18:46:55 +0000 (UTC) Message-ID: <421d27670f2736c88e8c0693e3ff7c0dcfceb40b.camel@perches.com> Subject: Re: [PATCH v1 1/2] Bluetooth: btusb: Indicate Microsoft vendor extension for Intel 9460/9560 and 9160/9260 From: Joe Perches To: Marcel Holtmann , Miao-chen Chou Cc: Bluetooth Kernel Mailing List , Luiz Augusto von Dentz , Alain Michaud , "David S. Miller" , Jakub Kicinski , Johan Hedberg , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Date: Mon, 23 Mar 2020 11:45:06 -0700 In-Reply-To: <04021BE3-63F7-4B19-9F0E-145785594E8C@holtmann.org> References: <20200323072824.254495-1-mcchou@chromium.org> <20200323002820.v1.1.I0e975833a6789e8acc74be7756cd54afde6ba98c@changeid> <04021BE3-63F7-4B19-9F0E-145785594E8C@holtmann.org> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Mon, 2020-03-23 at 18:56 +0100, Marcel Holtmann wrote: > Hi Miao-chen, > > > This adds a bit mask of driver_info for Microsoft vendor extension and > > indicates the support for Intel 9460/9560 and 9160/9260. See > > https://docs.microsoft.com/en-us/windows-hardware/drivers/bluetooth/ > > microsoft-defined-bluetooth-hci-commands-and-events for more information > > about the extension. This was verified with Intel ThunderPeak BT controller > > where msft_vnd_ext_opcode is 0xFC1E. [] > > diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h [] > > @@ -315,6 +315,10 @@ struct hci_dev { > > __u8 ssp_debug_mode; > > __u8 hw_error_code; > > __u32 clock; > > + __u16 msft_vnd_ext_opcode; > > + __u64 msft_vnd_ext_features; > > + __u8 msft_vnd_ext_evt_prefix_len; > > + void *msft_vnd_ext_evt_prefix; msft is just another vendor. If there are to be vendor extensions, this should likely use a blank line above and below and not be prefixed with msft_