diff options
author | Simon Mikuda <simon.mikuda@streamunlimited.com> | 2022-11-18 06:26:10 +0100 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-11-21 16:43:00 -0800 |
commit | 9f5036834ba20226456acc0c430642ce36d4eecc (patch) | |
tree | b8fec6f1b0cd4539ce364298c4b46916c7d9c0f5 /src/btd.h | |
parent | 5a872af406ca2d432e79d978f23a85771c7ce6ea (diff) | |
download | bluez-9f5036834ba20226456acc0c430642ce36d4eecc.tar.gz |
main.conf: Add SecureConnections option
This introduces SecureConnections option to main.conf that can be used to
configure this on adapter initialization.
This is useful for:
- disable for adapters that have a problems with SecureConnections enabled
- if you want to disable CTKD (cross transport key derivation)
- add option to enable only SecureConnections
Diffstat (limited to 'src/btd.h')
-rw-r--r-- | src/btd.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -36,6 +36,12 @@ enum mps_mode_t { MPS_MULTIPLE, }; +enum sc_mode_t { + SC_OFF, + SC_ON, + SC_ONLY, +}; + struct btd_br_defaults { uint16_t page_scan_type; uint16_t page_scan_interval; @@ -105,6 +111,7 @@ struct btd_opts { uint8_t privacy; bool device_privacy; uint32_t name_request_retry_delay; + uint8_t secure_conn; struct btd_defaults defaults; |