[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <9FED3BF8-B784-4E71-86C2-5BFACB18F1AA@holtmann.org>
Date: Tue, 7 Apr 2020 18:33:26 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: Archie Pusaka <apusaka@...gle.com>
Cc: linux-bluetooth <linux-bluetooth@...r.kernel.org>,
Johan Hedberg <johan.hedberg@...il.com>,
Archie Pusaka <apusaka@...omium.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
LKML <linux-kernel@...r.kernel.org>, netdev@...r.kernel.org
Subject: Re: [PATCH v2] Bluetooth: debugfs option to unset MITM flag
Hi Archie,
> The BT qualification test SM/MAS/PKE/BV-01-C needs us to turn off
> the MITM flag when pairing, and at the same time also set the io
> capability to something other than no input no output.
>
> Currently the MITM flag is only unset when the io capability is set
> to no input no output, therefore the test cannot be executed.
>
> This patch introduces a debugfs option to force MITM flag to be
> turned off.
>
> Signed-off-by: Archie Pusaka <apusaka@...omium.org>
> ---
>
> Changes in v2:
> - Rename flag to HCI_FORCE_NO_MITM
> - Move debugfs functions to hci_debugfs.c
> - Add comments on not setting SMP_AUTH_MITM
>
> include/net/bluetooth/hci.h | 1 +
> net/bluetooth/hci_debugfs.c | 46 +++++++++++++++++++++++++++++++++++++
> net/bluetooth/smp.c | 15 ++++++++----
> 3 files changed, 57 insertions(+), 5 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists