summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorArchie Pusaka <apusaka@chromium.org>2020-04-07 07:26:27 +0300
committerMarcel Holtmann <marcel@holtmann.org>2020-04-07 19:32:21 +0300
commitc2aa30db744d9cbdde127d4ed8aeea18273834c6 (patch)
treee66d810d8927a0daf1515e6829664a62cfa47182 /include/net
parentd2a3f5f4635b7b0df8d4cd04ee0c75886ef699b9 (diff)
downloadlinux-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.h1
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,
};