Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2040599ybg; Fri, 5 Jun 2020 04:10:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxV+fGltZrTljijKw+firOMa0yYuYvBfy9Gz6VbbVPBKEF/RQlR+RBjXhvpy8trZtn6Foc+ X-Received: by 2002:a17:906:c831:: with SMTP id dd17mr4468600ejb.40.1591355427472; Fri, 05 Jun 2020 04:10:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591355427; cv=none; d=google.com; s=arc-20160816; b=pImfmnCgeFoZmB6Tp0dksJcGKSVlfGwqEkDih47u5eOknFNGb0hN3oBP81k6HwFR8Y /TYqB0QNbWN3bSe3FrIbFGfO78cgE5iTY7s1nut25wKKqKm6lxuQ0VUhXWKzamR5Ob7w 07x/zPXgs8N7ESLXbm17epmifcVYhYf/JVbE5Lnusfqlg8igj3xLMNoxSfd/g1KdLYkL CwWBbrgGbD/5bu6xhC4PSl8IjTxgC++R4D6jm6bcMjsYcX/FczW1vSA3rGfg/XM4ZbxA AO4ZoKiqa2pi+OtJrNfyQgrjkfI91mWnHors/eqEiWw+2PlsiZIMT9+2lLoWDLl4SKLE upug== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=P8k8ZdOIifunvsrmegiPYMpeM8W/2y6H66fWsRcTZsU=; b=unMDt8sbVn13wJqOlR0B0iWwuML3f86baYkG2mysy6t78yLm3MCBd6lmbCur7UUn2/ R62FurPJxdmJ65p5/Pxp2U0+F3R0pEhBTmE/LGIMMsWncHcN7JM6w7eYWImZIPJy7s6F AaSC/jjPzzha3uA2wp9lcNOPrIDdVKDT1zHwUMmhFD8xH1I9Hy5MdQxJSLU+q/GEEbuC i3dwG8D3dD9dRtxbI2Ob6vddSN9Dq2PzwzbMQlQARMHYDI7GgwwVeUwolCvPf2x4102X cgTyaGs6EbhJxfELIE44thCJRoKZazcYSGtUdUdjIw3xSb+yx/7YZ69qozDQ7szA2wIj /RfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=AoZJRBVK; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si3573662ejc.314.2020.06.05.04.09.46; Fri, 05 Jun 2020 04:10:27 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=AoZJRBVK; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726302AbgFELJk (ORCPT + 99 others); Fri, 5 Jun 2020 07:09:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726225AbgFELJj (ORCPT ); Fri, 5 Jun 2020 07:09:39 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AA0BC08C5C2 for ; Fri, 5 Jun 2020 04:09:39 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id n24so9662129ejd.0 for ; Fri, 05 Jun 2020 04:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=P8k8ZdOIifunvsrmegiPYMpeM8W/2y6H66fWsRcTZsU=; b=AoZJRBVKg6ex8aorUoRkGBNkqMV0FvVddH3jQ1ca9FxW1vnS8dbfFQaOcg4VM5XO70 KAidZXTs+IetiqW478+9Q9KF3p6rcbLU5flul/Ce/R5WyngVzxu3GHEZg+jxsn3pvJ58 QlGbxCS1rW+zuH8YiAv1ERGQc0i7np0n1rvXrE99TlGro7TIPv2YIFf2fv+WJiyTCfmF QvLljcAxYAou+9OmSFax7XCWSd65N2GPSSypLN3cbnJ1eKoKNuK/W6Cggbm2KzMhyktu pS9MvmSZRa70cTPeZgtBPJNyyC1l9mAG/Y9Iv+mP5Vy78a8l8UUi6WIdvV0U8RA+Ftx0 9oIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=P8k8ZdOIifunvsrmegiPYMpeM8W/2y6H66fWsRcTZsU=; b=gY/FXXzF+Wh3qQRN3hDti/vfj7bn0Gfc2aioYn0nWpMjuIcBVYlINptDl+UhCtBwbM mAAgTANR5MfVQPtXf2Nb9Tld6rBDbfiducBEDIQ9maDQrxo3uLgcKRuQu03pqfr2PxmQ 4iaSvk4OFn1bGKAM03vQwX+p8+fxTcHXJaxW5AxjZIYgTZWiriAVxkgUMrzzQGa1kGCn dGiJy+zxXPThnZy3Uk3w9J110Tihs1xKigG4FubhxMbVvhpUff1/6/vgEv+WbPllIplh 06DqG+kAZ+b/AFP7Y1tujMDCwJhi/uyU9h667W7KGn+dYKOgDxfKMcnkthNTvN4c4jNb j2Gg== X-Gm-Message-State: AOAM531fmBCohKTp/o1JS7aqHmyVCy89OLOKQ6ShRm6/4fuOwSvLyiDv wZy3Fu3PrS7cGRxyBLkM5cawEVjlR6UN9NR3kf8V+A== X-Received: by 2002:a17:906:2e9a:: with SMTP id o26mr8013724eji.538.1591355377456; Fri, 05 Jun 2020 04:09:37 -0700 (PDT) MIME-Version: 1.0 References: <64A824C9-7C3C-4B08-8A9E-827121C4786D@holtmann.org> In-Reply-To: From: Yun-hao Chung Date: Fri, 5 Jun 2020 19:09:25 +0800 Message-ID: Subject: Re: Should we disable ERTM as default? To: Luiz Augusto von Dentz Cc: Marcel Holtmann , Bluez mailing list , ChromeOS BT Qualification Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Thanks for the responses! I think it is more likely to be the PTS's limitations. I realized the problem is in the media channel not in the signaling channel. PTS wants to use streaming mode, but bluez rejects it, and then PTS aborts the test. According to the MPS 1.0 Spec 6.2, L2CAP streaming mode is the recommendation for optimization when using MPS media control channels, so I think bluez doesn't do anything wrong during this test. Thanks. On Thu, Jun 4, 2020 at 3:52 AM Luiz Augusto von Dentz wrote: > > Hi Yun-hao, > > On Wed, Jun 3, 2020 at 10:43 AM Marcel Holtmann wro= te: > > > > Hi Yun-hao, > > > > > When I ran the following tests in PTS qualification on Chrome OS, I > > > couldn=E2=80=99t pass all of them because they all failed to create a= n AVDTP > > > connection with channel type as =E2=80=98Streaming=E2=80=99 or =E2=80= =98Enhanced > > > Retransmission=E2=80=99. > > > > > > - MPS/AG-SRC-TG/HFAV/CLH/SD/BV-03-I > > > - MPS/AG-SRC-TG/HFAV/CLH/SD/BV-04-I > > > - MPS/AG-SRC-TG/HFAV/CLH/SD/BV-05-I > > > - MPS/AG-SRC-TG/HFAV/CLH/SD/BV-06-I > > > > > > It looks like bluez doesn=E2=80=99t want to change its mode even thou= gh it > > > claims it supports them. Our question is do we still want to enable > > > this feature as default? > > We don't use ERTM on AVDTP connections, in fact only AVRCP Browsing > channel requires that but I guess you want low level testing of L2CAP > parameters it more common to use l2test instead, or this does not come > from L2CAP test spec? > > > I am a bit confused. So when you use the disable_ertm kernel parameters= , these test pass? But ERTM is mandatory for AVRCP 1.3 and later. > > > > Are we sure that MPS test cases are correct? I mean, we never required = ERTM for HFP since that is based on RFCOMM and ERTM is useless for RFCOMM. > > > > Regards > > > > Marcel > > > > > -- > Luiz Augusto von Dentz