Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1197298ybe; Thu, 5 Sep 2019 11:47:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOBGijGDCCdhNvbbLEc+jAD/JYoZpsb8cKkEWpn412Bikr96AyH6c4VtNIq2C/wvYZMUrX X-Received: by 2002:a17:902:e592:: with SMTP id cl18mr5005819plb.291.1567709268765; Thu, 05 Sep 2019 11:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567709268; cv=none; d=google.com; s=arc-20160816; b=kmrGIqn6VVnzWPHf9HOHh6XaN1XExi9tNCqXYUnXQMqMO8cko4wOsIOuMVzOoifwkv KSJ6aJ6R5agKCBxjPOx+2dA/5gWUSQh6fDJ1wT7kyeOnhTPW+6J54pZUrnOlkk2Vw3zq bKnnysIB2G9CcLuGPuHDvGEA+m30btOEbY5UJOgSCI8Bj4kf91AYvhqN4PxFgKFxLB3H GxHMnpxqTdEQdsMUvghLV9zydBM8FAwMxtVq6+2mOXfobHcz4KZ0AD79k/9aicCJO/av 6h3F7PHPzQwvSp/ryngvnmTgMVI6U7N1lWncDdJ0FqdxDYyeN6XT/T/chiop0Avt6PA9 BM4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=XVdph/g0xvvWicIviFLbfxySR9S0QVRZ/jPkiriWRs4=; b=dK6PWjxoS6LZtHHUvQPq/Mjo55cvSVooiIzYB8b3voAMPiNHPlcPSmjkxv4Okix7+C OrNI5WwUiigLn7F/SHkBRmjVvHZ+JxfMT8UI4F2dyKXzTr5zWGT/qmBNhqbrXrGg6WNr OI+6ebJNOX2J6SjSEK7SV93F8O/Vvv8PI2Z6cqhHHLJ2ndZJOCOpesH++8MAKWw2aQlT arsh00c+qXXpujdFMNN9pWJVfZMkxquDUcSEmINMyjzaDrLRgqIDvnT/4PPmpoTxUZE0 QkxjySOMNcWw00f46Frq+NmUbk5UVPxIxd10l7I3iteMzmQNIYMwxuzcb9553On3taN6 l6JQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si2679354pjj.67.2019.09.05.11.47.33; Thu, 05 Sep 2019 11:47:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388142AbfIEPeF convert rfc822-to-8bit (ORCPT + 99 others); Thu, 5 Sep 2019 11:34:05 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:43048 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733031AbfIEPeE (ORCPT ); Thu, 5 Sep 2019 11:34:04 -0400 Received: from marcel-macbook.fritz.box (p4FEFC197.dip0.t-ipconnect.de [79.239.193.151]) by mail.holtmann.org (Postfix) with ESMTPSA id 53EF2CECD1; Thu, 5 Sep 2019 17:42:51 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [PATCH 1/1] bluetooth: update default BLE connection params From: Marcel Holtmann In-Reply-To: <705dbccb-58a9-7adc-8430-c16b395c27e5@gmail.com> Date: Thu, 5 Sep 2019 17:34:03 +0200 Cc: Johan Hedberg , Andreas Kemnade , Jamie Mccrae , "linux-bluetooth@vger.kernel.org" Content-Transfer-Encoding: 8BIT Message-Id: <4BFC2A23-1D8A-4021-BB74-418A13676E65@holtmann.org> References: <705dbccb-58a9-7adc-8430-c16b395c27e5@gmail.com> To: Carey Sonsino X-Mailer: Apple Mail (2.3445.104.11) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Carey, > Update the default BLE connection parameters. > > Commit c49a8682fc5d298d44e8d911f4fa14690ea9485e introduced a bounds > check on connection interval update requests, but the default min/max > values were left at 24-40 (30-50ms) which caused problems for devices > that want to negotiate connection intervals outside of those bounds. > > Setting the default min/max connection interval to the full allowable > range in the bluetooth specification restores the default Linux behavior > of allowing remote devices to negotiate their desired connection > interval, while still permitting the system administrator to later > narrow the range. > > The default supervision timeout must also be modified to accommodate > the max connection interval increase. The new default value meets the > requirements of the bluetooth specification and the conditions in > the hci_check_conn_params function. > > The downside to modifying the default supervision timeout is that > it will take longer (about 10 seconds) to detect a link loss condition. > > Fixes c49a8682fc5d: (validate BLE connection interval updates) I decided to revert c49a8682fc5d and we need an overall better solution for handling connection parameters. Regards Marcel