Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1724806ybt; Mon, 15 Jun 2020 07:53:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyy7aCwYj1k2NPLLHQv8+/AfRhY5qQG0jCW/JwkNYCEV9K2NZUxb8vNqZh3kax+Vpk7t2Eg X-Received: by 2002:aa7:c752:: with SMTP id c18mr23572045eds.55.1592232790555; Mon, 15 Jun 2020 07:53:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592232790; cv=none; d=google.com; s=arc-20160816; b=0WSwBSdT9dCeqTylhovxI8TthTSXkEOz7sKj4XTDUvap0YIt2CEDxiyOLrZyPrkZRs MGAGGcxDr3rwQzT/4ac17T442oYIHh1HsN1yNOOQ3RqvYYy7V7NfmghQanLtg0WGOPI+ VVpTe1ALBQ3yw+9A94MPe39rJ3xe/qCQlQ7uAyIobb0ck5vnqgg/uBwz/LIeXresbQg8 rDKPILFKfsp+ofqNn0zD8bpTiXDIzuMwIXPniH0EJW0qdhX4E2GSJoV9gOG0lnj8xcsF r6gchxtmqSEy4FxJobatOu3YlPCg7As/HdqOmjmNfwjD5OXJLyly467QVRUcsnOAoFLQ tyDQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=U47mD7HI4pVeug6As2ImtcNTuS18CXWl9hDoOJueBcg=; b=w/xOj2J3gEfhFcslZp+m+Df4txFaSKIsTSDaMSM9zO6TfzCLgpbjmjWm3DUxjtZYTM KrcRy7oQVmles72WMqVfRh9/fNSa+1Zfpcm8STsskCbENwdPHq7cB3iwc/4NpjdyplFx goPF1HVBJ5qSeQs/qxBBxUEKKeX7IxFMrhcIb0swHlzSsUFqss1I5Yhpk6QtXCH3FbBx 5IQrQU2kj43xKDaTRHQPjr1/309RNlOhC9vCR7ZKJ4WhY7cfrtQzvqBx8ZLwaAcA8rdm XEKRHJLyGe8AxxtqjL1BVn50y8ijoF8OB3yWHDD8m6QZLlx+0t6C1EN14iH+zmCSviUa jO2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=HnGUv5xr; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz28si8359243edb.384.2020.06.15.07.52.32; Mon, 15 Jun 2020 07:53:10 -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=@chromium.org header.s=google header.b=HnGUv5xr; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730213AbgFOOw0 (ORCPT + 99 others); Mon, 15 Jun 2020 10:52:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728304AbgFOOw0 (ORCPT ); Mon, 15 Jun 2020 10:52:26 -0400 Received: from mail-vk1-xa2d.google.com (mail-vk1-xa2d.google.com [IPv6:2607:f8b0:4864:20::a2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F2FBC061A0E for ; Mon, 15 Jun 2020 07:52:26 -0700 (PDT) Received: by mail-vk1-xa2d.google.com with SMTP id i1so3997952vkp.8 for ; Mon, 15 Jun 2020 07:52:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=U47mD7HI4pVeug6As2ImtcNTuS18CXWl9hDoOJueBcg=; b=HnGUv5xrM0yZzSZmcg/qOyMDquyIdHz2IfxEDrmhu0nVs4FT7QTO9WCGJA89ZgPW9K bz6fyZOB8iPCNbwNdKJUfiv4YBrDgPDImks98ybbxJi0pLzng9FLtwKkynry+h6a7vnA 3dhlHxsdcpdgrhkUjhLKkjn4+F8BGdDasW9jw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=U47mD7HI4pVeug6As2ImtcNTuS18CXWl9hDoOJueBcg=; b=PSm9Sz0tiwmYV8cv3fcFOiuh908q08UAg6pgy7LNvsIZzYZ+exjRbq7dcTuTSh/+mn TquKEISY1/QYdEXvN39v+idbi3Igmo1SgKyB+4YhgkwRsysNs4m1aypE+2AVyRYVuAUH MQ+h0wbjZiPFXAtaHxtuD6zB+ZuVk9LbA9+5wgeGIQIVrGxcmFO9k7eXOL9XRfvwFfem KpZ6wMtHgV6unM1FQYqup/xJS/zKzkccHhqYELkrU1LgzzECdczmOiukkZqOkDuN/LoX xJybVC6EIA/3ZPlAEu8rfFHeVMdW4W2u8hYvwM7MiUKLS9MzeTgz4GnX28hA1sIWNsb8 e/DQ== X-Gm-Message-State: AOAM530JWjEEjvFhYiC3eRjepvQ5mdkcsDfkM8zQyGLdebDtuom59+m5 a0fd9rQKVgpn/7jEdT/E9KrzIZ7dk5Y= X-Received: by 2002:a1f:2d8e:: with SMTP id t136mr18590612vkt.61.1592232744814; Mon, 15 Jun 2020 07:52:24 -0700 (PDT) Received: from alain.c.googlers.com.com (252.177.243.35.bc.googleusercontent.com. [35.243.177.252]) by smtp.gmail.com with ESMTPSA id k5sm1802086uak.20.2020.06.15.07.52.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 07:52:24 -0700 (PDT) From: Alain Michaud To: linux-bluetooth@vger.kernel.org Cc: Alain Michaud Subject: [BlueZ PATCH v1] main: adding missing connection parameter entries Date: Mon, 15 Jun 2020 14:52:21 +0000 Message-Id: <20200615145221.224747-1-alainm@chromium.org> X-Mailer: git-send-email 2.27.0.290.gba653c62da-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch adds the missing connection parameter entries for loading connection parameters from main.conf --- src/main.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/main.c b/src/main.c index 77886d58e..ceb839d11 100644 --- a/src/main.c +++ b/src/main.c @@ -411,6 +411,22 @@ static void parse_controller_config(GKeyFile *config) &main_opts.default_params.le_scan_win_connect, 0x0004, 0x4000}, + { "LEMinConnectionInterval", + &main_opts.default_params.le_min_conn_interval, + 0x0006, + 0x0C80}, + { "LEMaxConnectionInterval", + &main_opts.default_params.le_max_conn_interval, + 0x0006, + 0x0C80}, + { "LEConnectionLatency", + &main_opts.default_params.le_conn_latency, + 0x0000, + 0x01F3}, + { "LEConnectionSupervisionTimeout", + &main_opts.default_params.le_conn_lsto, + 0x000A, + 0x0C80}, { "LEAutoconnecttimeout", &main_opts.default_params.le_autoconnect_timeout, 0x0001, -- 2.27.0.290.gba653c62da-goog