summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2019-07-16 20:34:41 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2019-08-17 13:54:40 +0300
commit58a96fc35375ab87db7c5b69336f5befde1b548f (patch)
tree3232c0e7f6658ead557a8d5c6055676143dd3456 /include
parent6600c0808e2ea2939009e53983f066fe38bd308a (diff)
downloadlwn-58a96fc35375ab87db7c5b69336f5befde1b548f.tar.gz
lwn-58a96fc35375ab87db7c5b69336f5befde1b548f.zip
Bluetooth: Add debug setting for changing minimum encryption key size
For testing and qualification purposes it is useful to allow changing the minimum encryption key size value that the host stack is going to enforce. This adds a new debugfs setting min_encrypt_key_size to achieve this functionality. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index ded574b32c20..ffc95b382eb5 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -278,6 +278,7 @@ struct hci_dev {
__u16 conn_info_min_age;
__u16 conn_info_max_age;
__u16 auth_payload_timeout;
+ __u8 min_enc_key_size;
__u8 ssp_debug_mode;
__u8 hw_error_code;
__u32 clock;