diff options
author | Archie Pusaka <apusaka@chromium.org> | 2020-04-07 07:26:27 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-04-07 19:32:21 +0300 |
commit | c2aa30db744d9cbdde127d4ed8aeea18273834c6 (patch) | |
tree | e66d810d8927a0daf1515e6829664a62cfa47182 /include/net | |
parent | d2a3f5f4635b7b0df8d4cd04ee0c75886ef699b9 (diff) | |
download | linux-c2aa30db744d9cbdde127d4ed8aeea18273834c6.tar.xz |
Bluetooth: debugfs option to unset MITM flag
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>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 79de2a659dd6..f4e8e2a0b7c1 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -298,6 +298,7 @@ enum { HCI_FORCE_STATIC_ADDR, HCI_LL_RPA_RESOLUTION, HCI_CMD_PENDING, + HCI_FORCE_NO_MITM, __HCI_NUM_FLAGS, }; |