Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1507883ybj; Fri, 20 Sep 2019 11:37:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzr8Q7sxA+RI8braJTwXxi5QsCa2w95lWzppajdxd12YGmzhQfS8Tt307ZxKq/hM+BS154Z X-Received: by 2002:a17:906:5acd:: with SMTP id x13mr19980819ejs.186.1569004673332; Fri, 20 Sep 2019 11:37:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569004673; cv=none; d=google.com; s=arc-20160816; b=NitMpWctpK11GXOTsDe67kK00KkfgOw0CSOMha5ugI3rasOGBhts4xfZBGxPQEjMZY KLEJfFCceLPW7+2De+5ErTvFgdgEndLSl+NcsPBtlQaqUSmSjPsIirrx22mk9RIhxVvi cqJXX/f8jZ+xlBVS2AjFrzzbf7PkIMVS8aV0DdoivDeRRg4MxK38IpI31D+9GrpVDlTh PbNVW1lPsOJ+aO14R4zQ+r6Nuvv4a0F1HhdMg8Wf8wGv0poFPGGwxYM57N1MsGj91EFE 5c0+NM0QbpecFICaoSF9UZIUUv47YgJuvaz+fcBiwze/zlGkhb7Tf8cbhHAtHoDndBF9 W5AQ== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=HELD1wBCSgloEXPlRNWMELq87zwane+TqAg9m+mb8VA=; b=oMd6bw0DtwVJlAFg09/3w9CtQFyGw8lJujM9lf/V3aGhQqZtdbHQEo5RPcgLgQ0Zoc lGpcnCbW94v97pFGTJJa4lula8eyhv8BI4CYcmCVQcwnTrhYIAOhsVRp9m+I6CaYOEex bVHIHogQXm9szPHy4Iejm5V+ABMhlTT5843NtdeOA8tvkn13NQFIYJOcxT0x0kcz/TaQ h1ZjZTTNyg44IkyLfVHLcFsIWBepEgrYI67DqEaNPi6PhC6A8hCLT3bslmMJqdNHCGVh IL7eDJZB7Bu2iFSaTfjQEg3glSAPHtBzaCSt1Z5TW9EI0DYnSM4T2/W+po1KO9cS/HFD odTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=DUFNCnoF; 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 s27si1870571edm.226.2019.09.20.11.37.11; Fri, 20 Sep 2019 11:37:53 -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=fail header.i=@kemnade.info header.s=20180802 header.b=DUFNCnoF; 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 S2393330AbfITJLm (ORCPT + 99 others); Fri, 20 Sep 2019 05:11:42 -0400 Received: from mail.andi.de1.cc ([85.214.55.253]:56078 "EHLO mail.andi.de1.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393258AbfITJLm (ORCPT ); Fri, 20 Sep 2019 05:11:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=HELD1wBCSgloEXPlRNWMELq87zwane+TqAg9m+mb8VA=; b=DUFNCnoFznFomFaS/hxKJnsYUA wJqr4aabO8I4BAY7TJ5NZyJ2spYa926AEdPvYI7Oe+amfZUKJqI7bLqCLYMyDU9onPPNU28vM6wGq llcBfDyzDvyxIyb8NqYFyQ7UcvQvlhb347nG2va0qnW01YfqWNbwaB6HG68enjMCSf+E=; Received: from p200300ccff0d4e001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff0d:4e00:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iBEx1-00087g-Fl; Fri, 20 Sep 2019 11:11:39 +0200 Date: Fri, 20 Sep 2019 11:11:38 +0200 From: Andreas Kemnade To: Marcel Holtmann Cc: Carey Sonsino , Johan Hedberg , Jamie Mccrae , "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH 1/1] bluetooth: update default BLE connection params Message-ID: <20190920111138.047dc5be@aktux> In-Reply-To: <4BFC2A23-1D8A-4021-BB74-418A13676E65@holtmann.org> References: <705dbccb-58a9-7adc-8430-c16b395c27e5@gmail.com> <4BFC2A23-1D8A-4021-BB74-418A13676E65@holtmann.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi, On Thu, 5 Sep 2019 17:34:03 +0200 Marcel Holtmann wrote: > 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. > is this revert also going towards stable/longterm? I do not see it in stable-queue yet. Regards, Andreas