Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4069024yba; Sun, 19 May 2019 10:00:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+iqWOBY8SSG2pqGrXMSN7Gq9y/DeEk0t3g68v7lsypMYWlEvs5+K51GD/DMJrWFH/Sls9 X-Received: by 2002:a63:534f:: with SMTP id t15mr71560059pgl.445.1558285203917; Sun, 19 May 2019 10:00:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558285203; cv=none; d=google.com; s=arc-20160816; b=n/pTN38xlHuI03PAmzmoZQX/tUqxjnE3kb0SaFEd6Q8tpyznWymD/lLo6TkOA0RKBx Z+FKMhhDn4Uc3xRjCig0bj3/GdVjbBYTzRb7oEGG52LpiG0iO4fUvXlD6P9FTQbcgzJ6 SSoAbbeEKePFdDg6ncHEAluI31ZUCim0bt2Z2eHsIvKkRB1GweKN6+nK0PSkzn09EPBY GUgZXOhVllnqoMlaWU/f1FLpjps+4D2pjBt3okzSZqWDNGaBKEFPm0+uAEoIHxZZFxJp 1B7RJnvBIraZP7R2oU70NFXkdAIElNRVETiugNJp8IMXanqyWmobd4xIHynr5ZNM+vwV I+yw== 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=t/Impq8TAZgC4yrRHs5a3/4LCbs73c5N3feMcgCFyVc=; b=HxaYmiP9YkBUGJ3r7RwtktU9Zd6Z8rgr78ZX7o2UEQGSMls7FbprON7ddsBuJ6Oq3x IVdqLl+DU/S4WUon6b47aSFsCQy08mJYP1dJKaA2GMnMh6R/5c+GdDv0jmeRHnyxRNXh U7rmjL9b6Fjig1h1bhVn7T59cn6LoBP+sIUcFCn9L78aHVDejtwYWG7+szOqI1UzUBXj zkhPW+S7SLfg7HpsnGjwM5TZFDkO9VTyn1cgrvee6Xy5iMK4yifYfBSXe1MQEoQaIiG/ 4U2HB5v33gbxBSFa1uTwqbWQBws9dMOXaAySfyvoG1tKOrKEkCHQiyj0B/zjij2UzRyS XZsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Jx6osoyT; 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 j9si15213808pgk.383.2019.05.19.09.59.31; Sun, 19 May 2019 10:00:03 -0700 (PDT) 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=Jx6osoyT; 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 S1726271AbfESQ6T (ORCPT + 99 others); Sun, 19 May 2019 12:58:19 -0400 Received: from mail-oi1-f169.google.com ([209.85.167.169]:46690 "EHLO mail-oi1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726243AbfESQ6T (ORCPT ); Sun, 19 May 2019 12:58:19 -0400 Received: by mail-oi1-f169.google.com with SMTP id 203so8336090oid.13 for ; Sun, 19 May 2019 09:58:19 -0700 (PDT) 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:content-transfer-encoding; bh=t/Impq8TAZgC4yrRHs5a3/4LCbs73c5N3feMcgCFyVc=; b=Jx6osoyTq01891lUthn6rLzGakJVIYQFXGOMF/qBgmRacnvlt03TGdK4IZvptmWDj2 AYk9LoIcmDgNwHY+nQhz36q4AAH20eOXBCM5YJ7fxkvnY9G8JNPz9UsuK/TDg69KS7LP SZwJy9wzpYENy5m6E232zO9SyfDLQ+CVLBwhEiYwO7AiRRn7ifuTy6m1uhdLritHJsWP /ixM+BnIY6Ab3Jv1EdHOFHOACr5Xw2bkYlP8C2zJ19LD/xMkf4tUi+dS8WXbs0h0e9mF 94yT1duDkGF1EylUaMkrrPRhJGjwYOecDxoGRO9FntuxygEes6+JmQvWL9JUWWlpCRjI GFQA== 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=t/Impq8TAZgC4yrRHs5a3/4LCbs73c5N3feMcgCFyVc=; b=Lc7QHJnXLPy3IYFio5XTKDf9eUpsco5lKd1EEhbyCDsWRo7V8WBUA8OPrlmMEY/duz CCBqcyjtqYbBv6x8zDQSPZFlvmlBVYhv12jUdjsoOXxFGJEp+Oi0cyDmseg/CUjvjKMb AoCo8DJkHk0Ro7Xu/iV1Zknug42sYMfcaSVTO4QFPwdk0p/7+Z3TxDyXazBjDfgr6BX1 nz3cCgdjde7G3YbKp/hnELSqY42RwQrEQAcVZa5xJ7Nuyskj3ZPelwYCtzq1ZwpLh+mc PYB0qy6HF4vNvVBWZ9Vkd6m/6p4iyBm/24zJ7O/HPBBtTFMuoo6zl75qJ3XQYzYjv13z SYRw== X-Gm-Message-State: APjAAAVZx45AhSbz9M7lwfOHCJhM+prDjSYw2QqOMaAtyJys7t9BxZs7 5FxUA49AYi5uq8SwX3P/miuXA6RIrXat67rzbYYVuWZ08gE= X-Received: by 2002:aca:5189:: with SMTP id f131mr546084oib.8.1558253601155; Sun, 19 May 2019 01:13:21 -0700 (PDT) MIME-Version: 1.0 References: <20190518190618.m7rdkthvpz4agxd2@pali> In-Reply-To: <20190518190618.m7rdkthvpz4agxd2@pali> From: Luiz Augusto von Dentz Date: Sun, 19 May 2019 11:13:09 +0300 Message-ID: Subject: Re: bluez A2DP socket reliability To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: "linux-bluetooth@vger.kernel.org" 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 Hi Pali, On Sat, May 18, 2019 at 11:12 PM Pali Roh=C3=A1r wro= te: > > Hello! How is L2CAP layer of bluetooth socket used for A2DP audio > transfer configured in bluez? It is reliable with big/infinite > retransmit count? Or in best-effort manner and some packets may be > dropped? And it is possible to change between these two modes for > application which uses bluez DBUS API? I'm asking because some A2DP > audio codecs are designed to deal with packet loss and for those codecs > it would be probably better to configure L2CAP socket to unreliable > mode. We don't use ERTM with AVDTP, both signaling and transport sockets are using basic mode which don't support retransmissions, there the concept of flush timeout which iirc we don't currently it. --=20 Luiz Augusto von Dentz