Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4975273ybf; Wed, 4 Mar 2020 14:41:34 -0800 (PST) X-Google-Smtp-Source: ADFU+vu3xikpE/lqfukGMuVPcyrnSgEYjRKEb9Q4OsgNe2t89N2qM1+werzHBC/CljONwvHVkjh3 X-Received: by 2002:aca:ac86:: with SMTP id v128mr3373596oie.178.1583361694560; Wed, 04 Mar 2020 14:41:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583361694; cv=none; d=google.com; s=arc-20160816; b=SKujXJdzSSGcMjBq0xuYnDWzp/8pTdZYWo7I2eRkFG4f4C7lXkGzwTr8t/Qgs9ECke e3Z6aB63fxg/YU/sZcxRfu2p0G1dOHpSwKLWrULOsqVNc3yhtFTLkXTNFYU3GLKJb5IL 3s59jTUL6BIqtjKQlf49UYp6z6Jpc4pZoexgknTXvYt4cCpimGtyZahpViR0QYIeBDIp R5z64UEiMLRGz1SIYOXe+3HguiYK0NodQv+bFFj30CJoQ8yGeXnJH4Ta7vk3/b6HWiCR fzvUH93acvUS9sgqEHdjK1NyzOryP1Zmj3yLeQqF8q1Lqm5ESXF2ZYj8ULVe3IKL70xa JIrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=SOZvMmwxMqPsF/62oCUyTvkyR9DrzBv9d4nkrEfeqn8=; b=mLla5uXAjWnnxecKDc14+g72UwDcxZ5pwXoCqnV835L+46IVdICBcDed5317qo8fqL QzQBOAD5zpas8iAdGjADdEQmDOuUrZhpLy0PFqoda+MOCvGdeM6ftBcSWSMQt0BPNKto Ea1XL95ALjYPZT45drU3rz3St/kjwIFdRquauIZBtxkUyLRHFv+Ab/mfgYEC0RXJX7kX f+HoxSZnmcbfse1b2TZG5e0xZCT9ULQM1akTDrV4FxaRCAkeKHtSvTpDZ1euARGmRBIS uZp3U7/0o7/CF6MycTq6Q/KHXwqCNPrtVOeDBAWYO93q6sBmjFumMn09B3NeIAeeXA0v jkcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PYxAA8fV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j17si2000777otl.278.2020.03.04.14.41.06; Wed, 04 Mar 2020 14:41:34 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PYxAA8fV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388337AbgCDWlC (ORCPT + 99 others); Wed, 4 Mar 2020 17:41:02 -0500 Received: from mail-ot1-f51.google.com ([209.85.210.51]:38682 "EHLO mail-ot1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387931AbgCDWlC (ORCPT ); Wed, 4 Mar 2020 17:41:02 -0500 Received: by mail-ot1-f51.google.com with SMTP id i14so3756737otp.5 for ; Wed, 04 Mar 2020 14:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SOZvMmwxMqPsF/62oCUyTvkyR9DrzBv9d4nkrEfeqn8=; b=PYxAA8fVNCcxPKHvGWXZRa1EUBJmE0JiRl+YOAcnFOwcU8YZMvNoEPgV0fWm6vh9Cg Lu0AA/zi8/+GrLfd6NI+TZ36Sx8vOa9dE525npDoSu3krCw+53lbSKwlXLv4I/ARwEGK W2eJwLr8nosVyrxHY7iKMF2EzKbqmmcPAHcmWoKFgajlCXGvatZj/m15/jI6Nft+Orv6 J4uRvmBLo/Ya1CAaoxxnrLLh2oT9RBjSf2ZkGdyJAwlOf+Sy5XJFMF5MbbsqEP0UzECr zbUzFKhbxmXgduUXJ5tm1iCFrTxslhAcDURsHp5nLPhaH1WKz6DTCPlY2itz1wXrHNor is9A== 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; bh=SOZvMmwxMqPsF/62oCUyTvkyR9DrzBv9d4nkrEfeqn8=; b=tMsNNiBQOykOg5he1XisbJvdRRNGkZclnxDSmI9H18fScyccIcQmq7X/v87InslmVK tP/ObOwAfqUoxGsA3K6FRpVc1VCA0/SvznlWVeBG/cSJueqcib6gTwKgBBzKhozwrZRU bODObLe+mNO2/wmzX/nGB5Wq6v72KX8sWtb20DiIVk2Jb2WW5SqHYYZCvC0CMcPzC46O 0jRDai8GbQJW6pKasTDnwLH0PdCeWoFIGt5w1KSOqYMFfjvPc7UesO+4eqSLClAOdnU7 eig/XO4/vgw+QGsmlLx+2l7PwfAH3q3gAinGWMjSc2hbinZuJu/LUN5pHqcRYCfD6J5n GEFg== X-Gm-Message-State: ANhLgQ3vhNyUlUK5B/0UaT3D5r8Guic9+253NhXUKqc814PjgFvtLgNA 64DSOxW01I41gFeLCIZfh00hjaa8yFje+h2B2f8= X-Received: by 2002:a9d:da5:: with SMTP id 34mr3920837ots.226.1583361661440; Wed, 04 Mar 2020 14:41:01 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Emil Lenngren Date: Wed, 4 Mar 2020 22:40:51 +0000 Message-ID: Subject: Re: Get negotiated ATT MTU? To: Luiz Augusto von Dentz Cc: Jamie Mccrae , Bluez mailing list Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Luiz, Den ons 4 mars 2020 kl 20:44 skrev Luiz Augusto von Dentz : > > > It completely transparent to D-Bus, so if we do expose the MTU it > > > should probably be reporting the biggest MTU of all connected channel, > > > > Is there ever any reason for one application to have more than one ATT > > bearer? I thought the idea of EATT was to allow one ATT bearer per > > application. > > EATT is meant to allow multiple outstanding requests, it probably > would not escale if we would add an API to have a bearer per > application so we just use the extra bearers as a pool. I just read the 5.2 overview and 5.2 specification again and I see now that the overview suggests that a pool of bearers should be used, as you mentioned. So yes in that case the maximum ATT_MTU of the bearers seems reasonable to report (if they for some reason would differ). But by having a pool like this, I hope implementations will make sure that multiple Write Without Response values or notifications from the same application are sent on a single bearer, to avoid reorderings. /Emil