From patchwork Mon Sep 28 07:44:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Howard Chung X-Patchwork-Id: 11803101 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B13586CB for ; Mon, 28 Sep 2020 07:44:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8E0B822207 for ; Mon, 28 Sep 2020 07:44:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="hvzD2DDp" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726589AbgI1HoW (ORCPT ); Mon, 28 Sep 2020 03:44:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726566AbgI1HoV (ORCPT ); Mon, 28 Sep 2020 03:44:21 -0400 Received: from mail-qv1-xf4a.google.com (mail-qv1-xf4a.google.com [IPv6:2607:f8b0:4864:20::f4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9451AC0613CE for ; Mon, 28 Sep 2020 00:44:21 -0700 (PDT) Received: by mail-qv1-xf4a.google.com with SMTP id i17so119605qvj.22 for ; Mon, 28 Sep 2020 00:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:message-id:mime-version:subject:from:to:cc; bh=mJ5L5MriFE0YUPrbIn/gTQRHRCzqViv38cjaWaeup20=; b=hvzD2DDpNIZ+kcoW0RtwyoRAxnzDIXg12eF4DnySqx2Zc782VH4TJD/SFxyag5lCy6 H/gzSUqHBA/Nm1h5FAUADwHrgn3O2uiOeNAwJ/esJ3HiUcU9DpGRbtVed5ybBommswqE dSZ3Xy1fYZMUH7fboNfg7RwbiTN8TTOBo+O0NsOtGFceOtbmWVfCbaXhLNjPgV01+3X6 5QGESaB+Ry7JCGKQk4nQF6Cqd9gJjA5UfPivZXxrvz1uOtiFhh83TPOOQkwH7sIJDAYd D3sd4cNa1d/wfuMSh/ud67x70w2MUKYwFmfRfFhtKEOlRn7BQsXFXJJFAu0Y3cP5kYfu y3Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:mime-version:subject:from :to:cc; bh=mJ5L5MriFE0YUPrbIn/gTQRHRCzqViv38cjaWaeup20=; b=TlKHymCVPL6zEZJMa6yXqD4GEIrvVDkdBuwEwlgjdRNBzwrVP7/e2E5cDmbRANFZw0 8YUa4upqOM/Ixs5z5HPlE5ZR3hKS2C933J5y5hCV21KykMqAsSSrl5sl3jJ0NSUoPFTI p/+pxJ8sjv1pbINR90kQkIRieTdy5XxZ8FvF71JFLXQRWgJc12Y9aKS2vqYQG7nyKH5Q lKxL90EyUyA2Qjj7zAqR3DjyenOoDl6jOsfw2iWjOYRlGDbmpMu3iHVuCiUmccpuJ+pY hULuAcZi6bSsSUtS/w/dajPl9kJJrOBYwaiC/XuYr6k3Y6ZXILEh/5pC1G26JdgqScc6 5acQ== X-Gm-Message-State: AOAM532MqrfPzjFtPBgdiyiRG/D3X8nILWjfINQj+Uq2uttsEm7d8jJi kMLRswcsi8UuDgY4p1rpXonaOnnmSXd0x0xwwY5b5T58XiSWfAoPw1d7UUXZpp+Q8n5xwm7aC8X J3j+lINMs9ZHgLxlz3BNagiyxgwJMhN0zJbncpngxXKHNUSRN28WPxajmpBLSj+m9+qDOqN+J7T vxaWpan+Ku0Ak= X-Google-Smtp-Source: ABdhPJyvAjjX6DdowSsi3VkAiYYvO91Q88PMRLmSLScta9KHxq7LIKymsvAv5bVgqHgjFdAcFmsWsZIIyM6PJTJDDg== Sender: "howardchung via sendgmr" X-Received: from howardchung-p920.tpe.corp.google.com ([2401:fa00:1:10:f693:9fff:fef4:4e45]) (user=howardchung job=sendgmr) by 2002:a0c:e892:: with SMTP id b18mr10702414qvo.5.1601279060685; Mon, 28 Sep 2020 00:44:20 -0700 (PDT) Date: Mon, 28 Sep 2020 15:44:01 +0800 Message-Id: <20200928154344.BlueZ.v4.1.I1f083629d41c747a33a3937fbc199ea37dccde12@changeid> Mime-Version: 1.0 X-Mailer: git-send-email 2.28.0.681.g6f77f65b4e-goog Subject: [BlueZ PATCH v4 1/3] core: Add params to set interleaving durations From: Howard Chung To: linux-bluetooth@vger.kernel.org Cc: luiz.dentz@gmail.com, mmandlik@chromium.org, mcchou@chromium.org, alainm@chromium.org, Howard Chung Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch adds parameters to control the durations of allowlist scan and no-filter scan when the kernel is doing interleaving scan. --- Changes in v4: - Change type of EnableAdvMonInterleaveScan default to u8 - Add a patch for doc/mgmt-api.txt Changes in v3: - Set EnableAdvMonInterleaveScan default to Disable Changes in v2: - Fix typo in the commit title src/adapter.c | 18 ++++++++++++++++++ src/hcid.h | 3 +++ src/main.c | 10 ++++++++++ src/main.conf | 7 +++++++ 4 files changed, 38 insertions(+) diff --git a/src/adapter.c b/src/adapter.c index c0053000ac19..f072541aad35 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -4418,6 +4418,24 @@ static void load_default_system_params(struct btd_adapter *adapter) len += sizeof(params[i].u16); } + if (main_opts.default_params.advmon_allowlist_scan_duration) { + params[i].entry.type = 0x001d; + params[i].entry.length = sizeof(params[i].u16); + params[i].u16 = + main_opts.default_params.advmon_allowlist_scan_duration; + ++i; + len += sizeof(params[i].u16); + } + + if (main_opts.default_params.advmon_no_filter_scan_duration) { + params[i].entry.type = 0x001e; + params[i].entry.length = sizeof(params[i].u16); + params[i].u16 = + main_opts.default_params.advmon_no_filter_scan_duration; + ++i; + len += sizeof(params[i].u16); + } + err = mgmt_send(adapter->mgmt, MGMT_OP_SET_DEF_SYSTEM_CONFIG, adapter->dev_id, len, params, NULL, NULL, NULL); if (!err) diff --git a/src/hcid.h b/src/hcid.h index 95d4b9665193..713eab8e03ae 100644 --- a/src/hcid.h +++ b/src/hcid.h @@ -80,6 +80,9 @@ struct main_opts { uint16_t le_conn_latency; uint16_t le_conn_lsto; uint16_t le_autoconnect_timeout; + + uint16_t advmon_allowlist_scan_duration; + uint16_t advmon_no_filter_scan_duration; } default_params; diff --git a/src/main.c b/src/main.c index 77be776686a8..38f193a093df 100644 --- a/src/main.c +++ b/src/main.c @@ -110,6 +110,8 @@ static const char *controller_options[] = { "LEConnectionLatency", "LEConnectionSupervisionTimeout", "LEAutoconnecttimeout", + "AdvMonAllowlistScanDuration", + "AdvMonNoFilterScanDuration", NULL }; @@ -421,6 +423,14 @@ static void parse_controller_config(GKeyFile *config) &main_opts.default_params.le_autoconnect_timeout, 0x0001, 0x4000}, + { "AdvMonAllowlistScanDuration", + &main_opts.default_params.advmon_allowlist_scan_duration, + 1, + 10000}, + { "AdvMonNoFilterScanDuration", + &main_opts.default_params.advmon_no_filter_scan_duration, + 1, + 10000}, }; uint16_t i; diff --git a/src/main.conf b/src/main.conf index 8d85702d4316..3b341f44c9cf 100644 --- a/src/main.conf +++ b/src/main.conf @@ -152,6 +152,13 @@ #LEConnectionSupervisionTimeout= #LEAutoconnecttimeout= +# Scan duration during interleaving scan. Only used when scanning for ADV +# monitors. The units are msec. +# Default: 300 +#AdvMonAllowlistScanDuration= +# Default: 500 +#AdvMonNoFilterScanDuration= + [GATT] # GATT attribute cache. # Possible values: From patchwork Mon Sep 28 07:44:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Howard Chung X-Patchwork-Id: 11803103 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 256B46CB for ; Mon, 28 Sep 2020 07:44:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0008322207 for ; Mon, 28 Sep 2020 07:44:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="gF9IbvI5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726638AbgI1HoZ (ORCPT ); Mon, 28 Sep 2020 03:44:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726566AbgI1HoZ (ORCPT ); Mon, 28 Sep 2020 03:44:25 -0400 Received: from mail-pf1-x44a.google.com (mail-pf1-x44a.google.com [IPv6:2607:f8b0:4864:20::44a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51F75C0613CE for ; Mon, 28 Sep 2020 00:44:25 -0700 (PDT) Received: by mail-pf1-x44a.google.com with SMTP id 8so236829pfx.6 for ; Mon, 28 Sep 2020 00:44:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:in-reply-to:message-id:mime-version:references:subject :from:to:cc; bh=UQh2y3XDTl/CA66aIVWliYnUFIAGI1AHGNC3aVVpJ74=; b=gF9IbvI5mG5R19CpLBhx+lMZblEkLCZ3x0DrxtPAKMxY7f+MK516UJ1EWG9Vbq+B/L P1lSCBtmnBiTyMdphHYz5f1/2t1qQuCo0MDvZQrEGbQPhneP1zn3yIEQez5vMPgZ8MDF oW/53hlO83v2w/InyRRJmG0GD2/PN0vNmwlZgwkHfZSCuzC5WMuP4qxEjF6oTSp3PhSg W2UqL/4aeexwiaPzTCJgP7AFaMztaAsRZRsEOC+KcIeK4txxEajBBmTVbQ5k8VbH0eJw Swe7+5jxoU0J4CViF4aM25KkoUtxzf/AVHncvFgTex4yONziUcTW/HPL/tjHf3RWa1At tTPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=UQh2y3XDTl/CA66aIVWliYnUFIAGI1AHGNC3aVVpJ74=; b=AxvJG//LbgTf9Z213dx4YWfFr/o2OxOm+XCGlKGKZKIvxWuaw50/mOhnhHIq55yRdy xbFoj51zdxXB+TprhABgs+i3D2mwluaS/zYuvfOpNyAbyfavP+AFR9n638ExE6VmAhCa SBooh2b4nvy83QMKSJMyb5I6jDieNh7nthbVur8h8ZTlhMEd5XviAY6WHKz1ap/oQ+cW 3HROsTbes77ZRZBmXaAU59JUzmBIn+BoPhs2rxze+l0JnqGnqMY6a/wC8XJG/ksHRF4r s2M830G5cTlfDUY8XsHo6sYnKAW5vGA1NTDCLnbelkCghcGCbLqLn+APUKM4uF+V9GaG sV8w== X-Gm-Message-State: AOAM530BcE+lPbablBSU+aVihja+a+tBEcw8GydgvdnkgF2mwRsPVpm8 5smZbPX+9Q2oqFAsdZBf81cgXpfKus2eR+OW5onCTSz58+szQvlIQ/DDt4HXU10K5kEnuQONirx Up8PLAHznvA4yHSBrHt2DcJ57WTQzX5ESWcl+IgeHykbCwEUuTkIuO1jihYGKU+TDvrP8qJbt6b 7WGc6nWl4i+1s= X-Google-Smtp-Source: ABdhPJxeSjaOHaizN/6X6yDQDZM4y/hrxVAWAyw2ItaQtduXPLRL1o1Fxp47xCxKvNO3ONiK6oWN9gaFO6XR/aMdcw== Sender: "howardchung via sendgmr" X-Received: from howardchung-p920.tpe.corp.google.com ([2401:fa00:1:10:f693:9fff:fef4:4e45]) (user=howardchung job=sendgmr) by 2002:a17:902:6903:b029:d2:2503:e5c1 with SMTP id j3-20020a1709026903b02900d22503e5c1mr447845plk.60.1601279064660; Mon, 28 Sep 2020 00:44:24 -0700 (PDT) Date: Mon, 28 Sep 2020 15:44:02 +0800 In-Reply-To: <20200928154344.BlueZ.v4.1.I1f083629d41c747a33a3937fbc199ea37dccde12@changeid> Message-Id: <20200928154344.BlueZ.v4.2.Iac5207375d22fb7b96ae4ef73b49ae4ab457219c@changeid> Mime-Version: 1.0 References: <20200928154344.BlueZ.v4.1.I1f083629d41c747a33a3937fbc199ea37dccde12@changeid> X-Mailer: git-send-email 2.28.0.681.g6f77f65b4e-goog Subject: [BlueZ PATCH v4 2/3] core: Add param to disable interleave scan From: Howard Chung To: linux-bluetooth@vger.kernel.org Cc: luiz.dentz@gmail.com, mmandlik@chromium.org, mcchou@chromium.org, alainm@chromium.org, Howard Chung Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch adds parameter to enable/disable the interleave scan feature. --- Changes in v4: - Set type of EnableAdvMonInterleaveScan to u8 Changes in v3: - Set EnableAdvMonInterleaveScan default to Disable src/adapter.c | 10 ++++++++++ src/hcid.h | 1 + src/main.c | 6 ++++++ src/main.conf | 6 ++++++ 4 files changed, 23 insertions(+) diff --git a/src/adapter.c b/src/adapter.c index f072541aad35..553db4aa8b1f 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -4169,6 +4169,7 @@ static void load_default_system_params(struct btd_adapter *adapter) struct mgmt_tlv entry; union { uint16_t u16; + uint8_t u8; }; } __packed *params; uint16_t i = 0; @@ -4436,6 +4437,15 @@ static void load_default_system_params(struct btd_adapter *adapter) len += sizeof(params[i].u16); } + if (main_opts.default_params.enable_advmon_interleave_scan != 0xFF) { + params[i].entry.type = 0x001f; + params[i].entry.length = sizeof(params[i].u8); + params[i].u8 = + main_opts.default_params.enable_advmon_interleave_scan; + ++i; + len += sizeof(params[i].u8); + } + err = mgmt_send(adapter->mgmt, MGMT_OP_SET_DEF_SYSTEM_CONFIG, adapter->dev_id, len, params, NULL, NULL, NULL); if (!err) diff --git a/src/hcid.h b/src/hcid.h index 713eab8e03ae..34d22b3470f9 100644 --- a/src/hcid.h +++ b/src/hcid.h @@ -83,6 +83,7 @@ struct main_opts { uint16_t advmon_allowlist_scan_duration; uint16_t advmon_no_filter_scan_duration; + uint8_t enable_advmon_interleave_scan; } default_params; diff --git a/src/main.c b/src/main.c index 38f193a093df..bcdde069d843 100644 --- a/src/main.c +++ b/src/main.c @@ -112,6 +112,7 @@ static const char *controller_options[] = { "LEAutoconnecttimeout", "AdvMonAllowlistScanDuration", "AdvMonNoFilterScanDuration", + "EnableAdvMonInterleaveScan", NULL }; @@ -431,6 +432,10 @@ static void parse_controller_config(GKeyFile *config) &main_opts.default_params.advmon_no_filter_scan_duration, 1, 10000}, + { "EnableAdvMonInterleaveScan", + &main_opts.default_params.enable_advmon_interleave_scan, + 0, + 1}, }; uint16_t i; @@ -698,6 +703,7 @@ static void init_defaults(void) main_opts.default_params.num_entries = 0; main_opts.default_params.br_page_scan_type = 0xFFFF; main_opts.default_params.br_scan_type = 0xFFFF; + main_opts.default_params.enable_advmon_interleave_scan = 0xFF; if (sscanf(VERSION, "%hhu.%hhu", &major, &minor) != 2) return; diff --git a/src/main.conf b/src/main.conf index 3b341f44c9cf..82ffc5813204 100644 --- a/src/main.conf +++ b/src/main.conf @@ -159,6 +159,12 @@ # Default: 500 #AdvMonNoFilterScanDuration= +# Enable/Disable Advertisement Monitor interleave scan for power saving. +# 0: disable +# 1: enable +# Defaults to 0 +#EnableAdvMonInterleaveScan= + [GATT] # GATT attribute cache. # Possible values: From patchwork Mon Sep 28 07:44:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Howard Chung X-Patchwork-Id: 11803107 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 32B016CB for ; Mon, 28 Sep 2020 07:44:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0A53E221EC for ; Mon, 28 Sep 2020 07:44:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Hk4D0RUa" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726648AbgI1Ho3 (ORCPT ); Mon, 28 Sep 2020 03:44:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726566AbgI1Ho3 (ORCPT ); Mon, 28 Sep 2020 03:44:29 -0400 Received: from mail-qv1-xf49.google.com (mail-qv1-xf49.google.com [IPv6:2607:f8b0:4864:20::f49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D121C0613CE for ; Mon, 28 Sep 2020 00:44:29 -0700 (PDT) Received: by mail-qv1-xf49.google.com with SMTP id w2so122994qvr.19 for ; Mon, 28 Sep 2020 00:44:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:in-reply-to:message-id:mime-version:references:subject :from:to:cc; bh=pgfqKV7LBIlMPkXRvO7yuz6KtuOYAmkcHX6f4TfAnHs=; b=Hk4D0RUaPdXO2ts4zSScGXqOR8pm+y/vljrW8RfhxU1sIL9whX4TTi+JsmKezveE9m xaR77OeIdMGq6hQsFtjoPKwZLHgo8YY4OJ4uXZ6YtP6GUfwqjQEx0iwcFrbgPLNhJ4fT ULf4tl2jsJyquRGdTP1WTnduaaPNqh+ishUmER53SsnR9cS6qL+oMqr90XyO5W8x7gZ/ U9DLxCHYKC8Z4uWnthOdEySgZBEZQskgzwTsBqdTM7GxQpGudsQz851dAhBtAROYyLy+ U4I+9bVcsUFczOyPnC0IceAs6qIijqdlU9SRfD973ta7zKBARe0QcjXUkitOPw1VhHS6 fR1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=pgfqKV7LBIlMPkXRvO7yuz6KtuOYAmkcHX6f4TfAnHs=; b=U4vybdK02TvZrZII1gTdxUTIf0xgsLQ8PrzAkimFRSsi0NcHo6uLT0cS5eGlYkgyP9 QOIjywv3jNvllfzpahebIo2esXqUv58diC/I12VipUBA7suWFcbQg1Kkds5fRq8atNo1 kmx/SrDzqFdQaOPJLnICtxg7UP9oGPe2fVCsMSDmwv2JL39785llGH7x4of1/7qa2X5g Wld+SBByGkrRG6TrMKfqfb9KW2VU/kUvRyO1SQrcbFK+UGettkwTxY50MBT6CPWeDnqJ XErd0GhWK2oyTDk6oLaLRJpNcdC71TDp3metAUdJnJvpRLpyBZoIg68GcP9jBw6/dugZ S2Kg== X-Gm-Message-State: AOAM532em+ock6dFOkWmNM1gha8UeLin6xvPmmuq+/3C8T0q2EG40lxk iRxqeY93JjU0U6/noYtTjKLzH+wAZCEU7+XEnuVlezG1M9LeQ52F4K3URCCaeatkIuVpibeh0Yk en++4rkcfKqYZIds8ActLvnDBJojd16nY+JfNI9tj/Vqsf2jtqa12huNZYgqICOdpPToCScMpao 0REyPzWMtnp3c= X-Google-Smtp-Source: ABdhPJyrFBWmJTq3CVdj7w1+wcqwkrHlWPlXs+UAXUI+UAMorOeqI8oVsa8ow5DkBx+5mL6Lv904qqDL0WNyiZlGbw== Sender: "howardchung via sendgmr" X-Received: from howardchung-p920.tpe.corp.google.com ([2401:fa00:1:10:f693:9fff:fef4:4e45]) (user=howardchung job=sendgmr) by 2002:a0c:9cc6:: with SMTP id j6mr10605757qvf.60.1601279068224; Mon, 28 Sep 2020 00:44:28 -0700 (PDT) Date: Mon, 28 Sep 2020 15:44:03 +0800 In-Reply-To: <20200928154344.BlueZ.v4.1.I1f083629d41c747a33a3937fbc199ea37dccde12@changeid> Message-Id: <20200928154344.BlueZ.v4.3.I7d35bfa961d5f9998833b0b015e02b81f804f9fe@changeid> Mime-Version: 1.0 References: <20200928154344.BlueZ.v4.1.I1f083629d41c747a33a3937fbc199ea37dccde12@changeid> X-Mailer: git-send-email 2.28.0.681.g6f77f65b4e-goog Subject: [BlueZ PATCH v4 3/3] doc: Add definition of advmon related parameters From: Howard Chung To: linux-bluetooth@vger.kernel.org Cc: luiz.dentz@gmail.com, mmandlik@chromium.org, mcchou@chromium.org, alainm@chromium.org, Howard Chung Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This adds definition of the newly added parameters for advertisment monitor interleave scan. --- (no changes since v1) doc/mgmt-api.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt index e7a7138249d1..45211dba7fbd 100644 --- a/doc/mgmt-api.txt +++ b/doc/mgmt-api.txt @@ -3279,6 +3279,9 @@ Read Default System Configuration Command 0x0019 LE Connection Latency 0x001a LE Connection Supervision Timeout 0x001b LE Autoconnect Timeout + 0x001d Advertisement Monitor Allowlist scan duration + 0x001e Advertisement Monitor No filter scan duration + 0x001f Enable Advertisement Monitor Interleave Scan This command can be used at any time and will return a list of supported default parameters as well as their current value.