Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2530048pxb; Mon, 18 Jan 2021 22:25:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNo2m0BUk6Zw2hi5HED7G1Y1/wrWbK3bYls/iloqAchm3JZsTz4B1bge2TcgjKTwDO8nLG X-Received: by 2002:a17:907:3e1b:: with SMTP id hp27mr1891222ejc.506.1611037505032; Mon, 18 Jan 2021 22:25:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611037505; cv=none; d=google.com; s=arc-20160816; b=CNpiN27Wxubzmsvu43To9Ajcm045x4LZfwIES45ERIaLDqCkxSeYeiirHuELWGceZy 1AHyOrq3SsfVygY5mGgX00x28oZ8pyMHvtmYd/VVcBfKBkrV2iysNE4xRq/h7qmVAPGo GvUnUYgL+3cc1Tq9AqTNLldBYDVXdQy9Jw135aO9tumC12aVv5oIENww7ZMCxXTkX38B HwITOCUatcIhhlmb9V2wsPC/QNCl0swqGrqqLTso19LoRkdgCknDHpIRp3X6NIyk+/Ts fCHV6Z3oyORSIXRWTvCXELtEwGXONkYFF1cwcjjeinH/4dmkCcIWfa5Jb52NlEq+Tc36 VM2Q== 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=Dr0pjpgYHomE02LyUzHVCI6BQx1WvqhQRI0suZoUM10=; b=n2WC2P5EfpR8YJh8RPzhOwr99wAN79ZBOGgG3pGavf7vQiUoe55ZRLQ0ch5JoaIvLm KJaPetKxztqvjfwc2bU7RVUtmMRZZekbDx+ylABQAtKgb2z2iIRB6P5MttGwucyClyw8 e8lrYZhjNvPjvKiEv3wYGsWcKrNnaVsBQ8jLnlv4l0H4/JdPmhxUz4NtnqEu9PbDcYFZ nx+SAT9kqdlt0s+W0lmiOMRBLOJ+yyPjwOyT6Yajd/n9p30HSPiK2djLgz85q/jWDIua lDfluLpQgz+UB0vZJzu4SxO2AGrADGo6PwP7vYF1B528lCrBFwDwcezo6UOJRQCT4j7l 4/hA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w20si7798250ejc.188.2021.01.18.22.24.36; Mon, 18 Jan 2021 22:25:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728196AbhASGXZ (ORCPT + 99 others); Tue, 19 Jan 2021 01:23:25 -0500 Received: from rtits2.realtek.com ([211.75.126.72]:46193 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726834AbhASFoJ (ORCPT ); Tue, 19 Jan 2021 00:44:09 -0500 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 10J5hBLW1027910, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexmbs01.realtek.com.tw[172.21.6.94]) by rtits2.realtek.com.tw (8.15.2/2.70/5.88) with ESMTPS id 10J5hBLW1027910 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 19 Jan 2021 13:43:11 +0800 Received: from RTEXMB06.realtek.com.tw (172.21.6.99) by RTEXMBS01.realtek.com.tw (172.21.6.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 19 Jan 2021 13:43:11 +0800 Received: from RTEXMBS03.realtek.com.tw (172.21.6.96) by RTEXMB06.realtek.com.tw (172.21.6.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Tue, 19 Jan 2021 13:43:10 +0800 Received: from RTEXMBS03.realtek.com.tw ([fe80::d4dd:5c6:e3c2:8a2f]) by RTEXMBS03.realtek.com.tw ([fe80::d4dd:5c6:e3c2:8a2f%2]) with mapi id 15.01.2106.006; Tue, 19 Jan 2021 13:43:10 +0800 From: Max Chou To: Abhishek Pandit-Subedi CC: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Bluez mailing list , LKML , "alex_lu@realsil.com.cn" , Hilda Wu , KidmanLee , Shyh-In Hwang Subject: RE: [PATCH] Bluetooth: btrtl: Enable WBS for the specific Realtek devices Thread-Topic: [PATCH] Bluetooth: btrtl: Enable WBS for the specific Realtek devices Thread-Index: AQHW7Y0N00LzEnEOeEKqwsYoCEgNkqot2VsAgACW49A= Date: Tue, 19 Jan 2021 05:43:10 +0000 Message-ID: References: <20210118112827.6192-1-max.chou@realtek.com> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.132.163] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org SGkhIEFiaGlzaGVrLA0KTXkgYmFkISBJIHNob3VsZCBjaGVjayB0aGUgY29kZSBiYXNlIGlzIHRo ZSBsYXRlc3QgYW5kIGZvbGxvdyBpdC4NCkknbGwgc3VibWl0IHRoZSB2MiBwYXRjaC4gVGhhbmtz IGZvciB5b3VyIHJldmlldy4NCg0KDQpCUnMsDQpNYXgNCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdl LS0tLS0NCkZyb206IEFiaGlzaGVrIFBhbmR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