Bluetooth: Add support for Read Local Simple Pairing Options
With the Read Local Simple Pairing Options command it is possible to retrieve the support for max encryption key size supported by the controller and also if the controller correctly verifies the ECDH public key during pairing. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Reviewed-by: Alain Michaud <alainm@chromium.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:

committed by
Johan Hedberg

parent
fc04590e3d
commit
a479036041
@@ -1275,6 +1275,13 @@ struct hci_rp_read_data_block_size {
|
||||
|
||||
#define HCI_OP_READ_LOCAL_CODECS 0x100b
|
||||
|
||||
#define HCI_OP_READ_LOCAL_PAIRING_OPTS 0x100c
|
||||
struct hci_rp_read_local_pairing_opts {
|
||||
__u8 status;
|
||||
__u8 pairing_opts;
|
||||
__u8 max_key_size;
|
||||
} __packed;
|
||||
|
||||
#define HCI_OP_READ_PAGE_SCAN_ACTIVITY 0x0c1b
|
||||
struct hci_rp_read_page_scan_activity {
|
||||
__u8 status;
|
||||
|
Reference in New Issue
Block a user