Messages in this thread | | | Subject | Re: [PATCH v2] Bluetooth: debugfs option to unset MITM flag | From | Marcel Holtmann <> | Date | Tue, 7 Apr 2020 18:33:26 +0200 |
| |
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@chromium.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
| |