Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2204917pxb; Fri, 8 Oct 2021 03:10:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjWnjFw4P31hzel4BhvVDPXtW0WG4qvne9uClJYX4iQmPUYvZDxHBTRqkX6zeOdQP3nEP6 X-Received: by 2002:a17:906:520b:: with SMTP id g11mr3240390ejm.502.1633687817375; Fri, 08 Oct 2021 03:10:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633687817; cv=none; d=google.com; s=arc-20160816; b=m36oN98eIotLJATfk4gcoHF7vBV07b4H6fEcDnbUTnb4TSi27RK0yTt8CNSvWFeegA qzHEirTAMG/IbSUpVyAfM7CBhcap8EdhHZC7YdTGRRLmEp6M5ywjCLF99uckwyZMcHpu Ya3VkQeumj95NmZRGxehL5ZHqeGMHY1Xiyl1AvfcX1MV4nyXphMWId/caZl40vX3E5vl +v3G19xffbXgy6ULySprNvk4vdo8Qv3C1IjmdgJZ1zKRUz8ut2QCtOkOIK4ukHQsIC7O B0b4hy20eTAD5c6fUORoqZgzmaSt8+HA3sPO8EJvP6SSCaKBdAo+scVCTPUNKkAQ2dcd CNsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=FYOKhQ4/MASdIC9/XnL5j4Zbab4zp9LgSheX5E0ZxXI=; b=qpWh04Q7PZWOfNvXbZvIqmL1hLkPNie781lo/6y5cUsIVAacM5wnyhfVZW04zKbpre h0AdKbh8xGUObWaP4bMz/qGP/2f8aJyytBJeFptmwL6lscUfu0VUwUj+9VKCtR8SYtz8 jjQED+ooTYEolL+mLiQ31fUkOHVe6HUwlxjehoMm2ieOBpjcAVI4mNL6shfvtFXuAGM7 GZpVR1Jj4Lx9ve9recnQMLN8sfzh/R4tZnB8VycKcwhKWFJkkvgUkby12lHQ8VaoN5Ed InTjwsIOV+6jOwG8PNmIl4JFZnWM2lOeeq6Vch5guBKhwLWXhO1832Xd2P1ELwvfOfYP /2zQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g2si2578423edz.500.2021.10.08.03.09.52; Fri, 08 Oct 2021 03:10:17 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239304AbhJHKKP convert rfc822-to-8bit (ORCPT + 99 others); Fri, 8 Oct 2021 06:10:15 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:38817 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229989AbhJHKKM (ORCPT ); Fri, 8 Oct 2021 06:10:12 -0400 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 198A83Go8013446, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36503.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.71/5.88) with ESMTPS id 198A83Go8013446 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 8 Oct 2021 18:08:03 +0800 Received: from RTEXMBS05.realtek.com.tw (172.21.6.98) by RTEXH36503.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Fri, 8 Oct 2021 18:08:02 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS05.realtek.com.tw (172.21.6.98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 8 Oct 2021 18:08:01 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::cdd5:82a3:e854:7098]) by RTEXMBS04.realtek.com.tw ([fe80::cdd5:82a3:e854:7098%5]) with mapi id 15.01.2106.013; Fri, 8 Oct 2021 18:08:01 +0800 From: Hilda Wu To: Marcel Holtmann CC: Johan Hedberg , Luiz Augusto von Dentz , "linux-bluetooth@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "kai.heng.feng@canonical.com" , "apusaka@chromium.org" , Max Chou , "alex_lu@realsil.com.cn" , KidmanLee Subject: RE: [PATCH] Bluetooth: btrtl: Ask ic_info to drop firmware Thread-Topic: [PATCH] Bluetooth: btrtl: Ask ic_info to drop firmware Thread-Index: AQHXtecNs2ZfObp2A0STG/YXQiKUp6u9X0sAgACLa3CACUs1gIABnF5w Date: Fri, 8 Oct 2021 10:08:01 +0000 Message-ID: <8fc481a872474919b2a53fc2c7072166@realtek.com> References: <20210930103634.1710-1-hildawu@realtek.com> <912f4b6441b54a1d89df6ffe4a0511ab@realtek.com> <065AC802-1C20-42F0-9B2F-24F2B2698B90@holtmann.org> In-Reply-To: <065AC802-1C20-42F0-9B2F-24F2B2698B90@holtmann.org> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.132.191] x-kse-serverinfo: RTEXMBS05.realtek.com.tw, 9 x-kse-attachmentfiltering-interceptor-info: no applicable attachment filtering rules found x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: =?us-ascii?Q?Clean,_bases:_2021/10/8_=3F=3F_09:12:00?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36503.realtek.com.tw, 9 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-KSE-AntiSpam-Outbound-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 5.9.20, Database issued on: 10/08/2021 09:46:24 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 0 X-KSE-AntiSpam-Info: Lua profiles 166594 [Oct 08 2021] X-KSE-AntiSpam-Info: Version: 5.9.20.0 X-KSE-AntiSpam-Info: Envelope from: hildawu@realtek.com X-KSE-AntiSpam-Info: LuaCore: 463 463 5854868460de3f0d8e8c0a4df98aeb05fb764a09 X-KSE-AntiSpam-Info: {Tracking_uf_ne_domains} X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: source.android.com:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2;realtek.com:7.1.1;docs.microsoft.com:7.1.1 X-KSE-AntiSpam-Info: Rate: 0 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-AntiSpam-Info: Auth:dkim=none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Heuristic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 10/08/2021 09:50:00 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marcel, I'm a little confused about this. Did you mean that if use existing MSFT/AOSP extensions vendor cmd/event to check device has this feature. This way is not meeting your conception, a simple way to tell which RTL device supports the MSFT or AOSP extensions? Thanks. Regards, Hilda -----Original Message----- From: Marcel Holtmann Sent: Thursday, October 7, 2021 11:57 PM To: Hilda Wu Cc: Johan Hedberg ; Luiz Augusto von Dentz ; linux-bluetooth@vger.kernel.org; linux-kernel@vger.kernel.org; kai.heng.feng@canonical.com; apusaka@chromium.org; Max Chou ; alex_lu@realsil.com.cn; KidmanLee Subject: Re: [PATCH] Bluetooth: btrtl: Ask ic_info to drop firmware Hi Hilda, > The MSFT extension has a HCI_VS_MSFT_Read_Supported_Features command. The AOSP extension has a read capability cmd too. > https://docs.microsoft.com/en-us/windows-hardware/drivers/bluetooth/mi > crosoft-defined-bluetooth-hci-commands-and-events#hci_vs_msft_read_sup > ported_features > https://source.android.com/devices/bluetooth/hci_requirements#vendor-s > pecific-capabilities If commands did not support, the controller > should feedback event status as Unknown HCI Command (0x01). > We can go on this way. I am not doing trial-and-error programming here. I rather better disable any extensions for Realtek devices altogether. Regards Marcel ------Please consider the environment before printing this e-mail.