Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6948276ybl; Wed, 15 Jan 2020 12:52:37 -0800 (PST) X-Google-Smtp-Source: APXvYqwQDr/dcndBybTJjS4Z7mGfraShlCjVFeleh8PnXSSylp6tJyiCcrfAHoErt7vwkfuWFFOu X-Received: by 2002:a05:6830:1d5b:: with SMTP id p27mr3928707oth.263.1579121557434; Wed, 15 Jan 2020 12:52:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579121557; cv=none; d=google.com; s=arc-20160816; b=q6xDI/OrUwMU4Eqt8sn29AlR3ReKDP2bfMowHNBHG2lZ6woVAFyLcAILB/osIDqZHr N0Yt1l1lCpnZGfxjxlljSSgv1W7MDZi1HDiRfwR0eOAf3NBNlBWpnMdy2M9Fox58x12d 9Uu4e26HCDpG/QxaeVIrNUaIi9voP7Lzv2As5elPCcOl4Q29IoGrrZZ8+sZQBA1sbH/i yNE4MqiGZm85KxB9MXxM/jIRuHnh7v0AX4znmJfxKRvs4ICkT5jckjeQYpPLco6vAKQe f5OZ360ZKuw+IbR0nNzLft8LeqNXraWiH8bZzyUJ6nb8BCiq/EV5TWtpoEKjeC/rmcZJ C5ig== 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=cqyRGHUAW+1QbPE6wUiY+b5b3nQWSrlPoYttkChU8nw=; b=VuDhSXadiwSpWvHifkmWAnduO4pjt3UwStG69h7vnK07YmUgWK9825+KEa47PXYk5z SXZBAnjato/B4aPgcgsBZo8m2XGiU91Gg4BxXBPNCkrwQDufmV+ay5dnEvaBa8o8oo+k bf5rCW4ChTotF9jb6WXFX9ZTURDRaK7KgBL1XB5+alEumpygjXqIY6xFUhvndwxLd88a WSX+GCbw3WaGn0hHZwgK/5OFLr+GpVSI0QDndCHhWiJWPg9ZeqzPhcMN94E24zm1dRBs 0NSS2XW0JNCxLmXEjQ41z8uizpLddMSL4FbjWPm03uvqfEFnqjPi5Q5j3BVymNeyJ48G vhPA== 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 w24si9338131oic.260.2020.01.15.12.52.25; Wed, 15 Jan 2020 12:52:37 -0800 (PST) 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 S1729273AbgAOUhh (ORCPT + 99 others); Wed, 15 Jan 2020 15:37:37 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:52887 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728963AbgAOUhh (ORCPT ); Wed, 15 Jan 2020 15:37:37 -0500 Received: from marcel-macbook.fritz.box (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id 85B43CECF2; Wed, 15 Jan 2020 21:46:53 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: [PATCH v5 2/2] Implementation of MGMT_OP_SET_BLOCKED_KEYS. From: Marcel Holtmann In-Reply-To: <20200107004317.152792-2-alainm@chromium.org> Date: Wed, 15 Jan 2020 21:37:35 +0100 Cc: BlueZ Content-Transfer-Encoding: 7bit Message-Id: References: <20200107004317.152792-1-alainm@chromium.org> <20200107004317.152792-2-alainm@chromium.org> To: Alain Michaud X-Mailer: Apple Mail (2.3608.40.2.2.4) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Alain, > MGMT command is added to receive the list of blocked keys from > user-space. > > The list is used to: > 1) Block keys from being distributed by the device during > the ke distribution phase of SMP. > 2) Filter out any keys that were previously saved so > they are no longer used. > > Signed-off-by: Alain Michaud > --- > > include/net/bluetooth/hci_core.h | 10 ++++ > include/net/bluetooth/mgmt.h | 17 +++++++ > net/bluetooth/hci_core.c | 85 +++++++++++++++++++++++++++++--- > net/bluetooth/hci_debugfs.c | 17 +++++++ > net/bluetooth/mgmt.c | 76 ++++++++++++++++++++++++++++ > net/bluetooth/smp.c | 18 +++++++ > 6 files changed, 215 insertions(+), 8 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel