Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp418855pxv; Thu, 22 Jul 2021 03:33:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWk85aY9lQHTSF/tIXoKcGp6lnJLTc7BobLMCfv5NNp5x5/4nyfDc2f8YjXD648fMijxEy X-Received: by 2002:a17:906:5650:: with SMTP id v16mr42784533ejr.533.1626950015667; Thu, 22 Jul 2021 03:33:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626950015; cv=none; d=google.com; s=arc-20160816; b=isY54Xinoxa0D2vJcVPnfm4+BliFWtlvc+n1HCER9ZO7RLjIqBhtBA0TbYOys0k3Tj ahG7oCHdsFAppRMbOVND95JJR0mZb/l2jxRuEVuj4g6wPo58uTEl7lcvGEGiJ9TEQwKE jm2u5JU3SCOyDXtPBKOjTo4waQdO5vugSnZK5KivlgiP+wJJ2CcQWYrrsrqBmq7C+Grx nArKA/knruHIgsSgHzimOyTTOi+DYus4qP9d2hnnDUqiKHbZKS9Q7xVp5DsccIBUcCdy TTyaEUNQq5u+OvG92hovO4Bo8whMp3ao9rT3TGFUEUzjiWMEAA8NmFo8jBqxHHh9f/JH 7/qA== 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=XLLBT90b1pnUMNnfZI7aaeZR6fG867iAjZ8CUHtLr+I=; b=RSIyiNMn52HZSe1Fsiz7glMXV0p4tfQdn0tndSYojZ29SPHSx6u2I90he6BjheJ5Ja k4UJk2WIkcpc24Qc+HAj/klcP0uqUXKss2KcDOUtuOS8UoT66nSgEg8fTTh6vTgCq3Jp Uj5bZ3rWOboJcJ0tIEEzxg7l8fTvXhEOhg+oG3jtngah05F63DgCekT3/qHTBl0VJPoo vcxpLeqf57iISEiC+gu2RG0K9E7r+GOKnBDoeHXWJ0ezpCDwvbqBLs/PSqnFTno4TD+n lXN/ejcPExoQCK4wA43/bayZK9/eDyvrFgfQlCyMDk++wYcJPZvNlrTlpqYJZKYovKt9 vM5w== 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 e22si32951246edu.306.2021.07.22.03.32.53; Thu, 22 Jul 2021 03:33:35 -0700 (PDT) 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 S231355AbhGVJsN (ORCPT + 99 others); Thu, 22 Jul 2021 05:48:13 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:40885 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231607AbhGVJsM (ORCPT ); Thu, 22 Jul 2021 05:48:12 -0400 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 16MASWggC027040, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36502.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.71/5.88) with ESMTPS id 16MASWggC027040 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 22 Jul 2021 18:28:32 +0800 Received: from RTEXMBS06.realtek.com.tw (172.21.6.99) by RTEXH36502.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.2106.2; Thu, 22 Jul 2021 18:28:32 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS06.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.2106.2; Thu, 22 Jul 2021 18:28:31 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::5bd:6f71:b434:7c91]) by RTEXMBS04.realtek.com.tw ([fe80::5bd:6f71:b434:7c91%5]) with mapi id 15.01.2106.013; Thu, 22 Jul 2021 18:28:31 +0800 From: Hilda Wu To: Pauli Virtanen , Joseph Hwang CC: linux-bluetooth , Max Chou , "alex_lu@realsil.com.cn" Subject: RE: [PATCH] Bluetooth: btusb: check SCO MTU before enabling USB ALT 3 for WBS Thread-Topic: [PATCH] Bluetooth: btusb: check SCO MTU before enabling USB ALT 3 for WBS Thread-Index: AQHXemwviFRVpCPru0u/Sm2iHuJJI6tGphyAgAZsZoCAAZgZcA== Date: Thu, 22 Jul 2021 10:28:31 +0000 Message-ID: <3b249bde3ccf4fa7b53a53f2033e93b2@realtek.com> References: 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.191] x-kse-serverinfo: RTEXMBS06.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: =?utf-8?B?Q2xlYW4sIGJhc2VzOiAyMDIxLzcvMjIg5LiK5Y2IIDA2OjI4OjAw?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36502.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: 07/22/2021 10:14:30 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 0 X-KSE-AntiSpam-Info: Lua profiles 165171 [Jul 22 2021] X-KSE-AntiSpam-Info: Version: 5.9.20.0 X-KSE-AntiSpam-Info: Envelope from: hildawu@realtek.com X-KSE-AntiSpam-Info: LuaCore: 449 449 5db59deca4a4f5e6ea34a93b13bc730e229092f4 X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2;realtek.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: 07/22/2021 10:17:00 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org SGksDQoNClRoYW5rcyBmb3IgeW91ciBzdXBwbGVtZW50Lg0KQWRkIHRoZSBzY29fbXR1IGNvbmRp dGlvbiBpcyBiZXR0ZXIuDQoNCldoZW4gVVNCIEJUIGFkYXB0ZXJzIHN1cHBvcnQgdGhlIGFsdGVy bmF0ZSAzLCBpdCB3aWxsIGFubm91bmNlIGFsdGVybmF0ZSAzLg0KSG93ZXZlciwgVVNCIEFsdCAz IHN1cHBvcnRlZCBhbHNvIG5lZWQgSEZQIHN1cHBvcnQgdHJhbnNwYXJlbnQgTVRVIGluIDcyIEJ5 dGVzLg0KQWRkIHRoaXMgc2NvX210dSBjb25kaXRpb24gY291bGQgYXZvaWQgSEZQIHByb2ZpbGUg dHJhbnNwYXJlbnQgTVRVIG5vdCBtYXRjaCBvciBub3Qgc3VpdGF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jAgYnl0ZXMuIFVTQiBBbHQgMyBzdXBwb3J0IGFsc28g bmVlZHMNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgKiBIRlAgdHJhbnNwYXJlbnQgTVRV ID49IDcyIEJ5dGVzLg0KPiA+ICAgICAgICAgICAgICAgICAgICAgICAgICAqLw0KPiA+IC0gICAg ICAgICAgICAgICAgICAgICAgIGlmIChuZXdfYWx0cyA9PSAxICYmIGJ0dXNiX2ZpbmRfYWx0c2V0 dGluZyhkYXRhLCAzKSkNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICBpZiAobmV3X2FsdHMg PT0gMSAmJiBoZGV2LT5zY29fbXR1ID49IDcyICYmDQo+ID4gKyAgICAgICAgICAgICAgICAgICAg ICAgICAgIGJ0dXNiX2ZpbmRfYWx0c2V0dGluZyhkYXRhLCAzKSkNCj4gPiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIG5ld19hbHRzID0gMzsNCj4gPiAgICAgICAgICAgICAgICAgfQ0K PiA+IA0KPiA+IC0tDQo+ID4gMi4zMS4xDQo+ID4gDQo+ID4gDQo+IA0KPiANCg0KDQotLS0tLS1Q bGVhc2UgY29uc2lkZXIgdGhlIGVudmlyb25tZW50IGJlZm9yZSBwcmludGluZyB0aGlzIGUtbWFp bC4NCg==