Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1477975ybb; Thu, 26 Mar 2020 01:17:12 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsxNpbvLhpHoq9jXx8XzVSXoM1013xVwVCYbE3s8QS9EL7EmJjWJb8UKs63+zpPJTHI9Oi1 X-Received: by 2002:a9d:7747:: with SMTP id t7mr5059637otl.96.1585210631864; Thu, 26 Mar 2020 01:17:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585210631; cv=none; d=google.com; s=arc-20160816; b=UlHpVbOWcgraFVmh7htw29d8QJEoXQ2+zYclnkPuM41TekFRlJbdOFP4o9woetPvCD uj3TgFFiES08ryFxfymfw65wB1ZpOdLvXzzwS3CJLagDTPsBoBUl9AYRe33AAJ9XrYrL JSQfLTl65iio1V9JkLd8VSMxJ3SLw1wW+XPMmW14frGq82zW5paRw4yriP2EWK08+lGW P5fOi87CM4LkVq7C/wnxYV9by7cRyuypPnClmEVAE9biOg07XNTw7YvYTAR7zsu8pJL/ QfdTs5pgL2p/WxYTtglEgTz4M9KfoLB8RHeK2poEga5UdL7+6r02W3PDgvrh6TD7qk1M UmEg== 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=GENNiEldZhmMgA7NUQzMcGx3BFpFGT3rnfYmcJP+2AM=; b=D2rALQH0nAdU8OteBROWCkNqUIAOmqHpOQMgNxS/TijiADYnwsSsro5IzchSCsONaJ XbNktVvfbRMX1VFiGLfKthc0777FBptkE9aoPkhb800Kz9jeUUsp+Hf96YoGCxOMD3pQ G+veexp8c/ahBHXXuyk/IYDfFmv7lrMMRbU5edY4rPRI4RC81fvc5m+ZEju9H1CeI1px CE6HeEBXCWK1PtnyTJfUJrJsB97PowkEkjzQOeozfLdAFxufw3LqXHe1nGt1sePzMca+ U3Bow2yoXkC3YPJT4kEQLoFMzS0w7Gj3aK420Fq8ePri1Dq6udgJn5fdh8Z0PluBdZfu FvVg== 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 r24si658986otp.264.2020.03.26.01.16.59; Thu, 26 Mar 2020 01:17:11 -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 S1727611AbgCZIQ3 (ORCPT + 99 others); Thu, 26 Mar 2020 04:16:29 -0400 Received: from smtprelay0038.hostedemail.com ([216.40.44.38]:39990 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727919AbgCZIQY (ORCPT ); Thu, 26 Mar 2020 04:16:24 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id 74954182CED5B; Thu, 26 Mar 2020 08:16:22 +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:1539:1593:1594:1711:1714: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:3351:3622:3865:3866:3868:3871:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:5007:6119:7688:8957:9025:10004:10400:10471:10848:11026:11232:11658:11914:12043:12296:12297:12740:12760:12895:13069:13255:13311:13357:13439:14181:14659:14721:14775: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: cart64_548b3b72c1009 X-Filterd-Recvd-Size: 1972 Received: from XPS-9350.home (unknown [47.151.136.130]) (Authenticated sender: joe@perches.com) by omf09.hostedemail.com (Postfix) with ESMTPA; Thu, 26 Mar 2020 08:16:20 +0000 (UTC) Message-ID: <0cb96a93000c02e4c4816c64492afef10bc76fd9.camel@perches.com> Subject: Re: [PATCH v3 1/2] Bluetooth: btusb: Indicate Microsoft vendor extension for Intel 9460/9560 and 9160/9260 From: Joe Perches To: Miao-chen Chou , Bluetooth Kernel Mailing List Cc: Marcel Holtmann , Alain Michaud , Luiz Augusto von Dentz , "David S. Miller" , Jakub Kicinski , Johan Hedberg , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Date: Thu, 26 Mar 2020 01:14:29 -0700 In-Reply-To: <20200326005931.v3.1.I0e975833a6789e8acc74be7756cd54afde6ba98c@changeid> References: <20200326075938.65053-1-mcchou@chromium.org> <20200326005931.v3.1.I0e975833a6789e8acc74be7756cd54afde6ba98c@changeid> 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 Thu, 2020-03-26 at 00:59 -0700, Miao-chen Chou wrote: > 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 [] > @@ -414,6 +414,8 @@ struct hci_dev { > void *smp_data; > void *smp_bredr_data; > > + void *msft_ext; Why should this be a void * and not a msft_vnd_ext * ?