diff options
author | Takanori Watanabe <takawata@FreeBSD.org> | 2015-10-27 03:42:26 +0000 |
---|---|---|
committer | Takanori Watanabe <takawata@FreeBSD.org> | 2015-10-27 03:42:26 +0000 |
commit | 3a601a238175704dbee47b29290dbe804d71f08b (patch) | |
tree | b31c2aa26d083fe24a6c23bf4c4c21d48354a0dd /sys/netgraph/bluetooth/include/ng_hci.h | |
parent | 222c700312f99012685d49fe653ab76f0047971c (diff) | |
download | src-3a601a238175704dbee47b29290dbe804d71f08b.tar.gz src-3a601a238175704dbee47b29290dbe804d71f08b.zip |
Bluetooth LE Security Management channel support.
Add a socket option to block until underlying HCI connection encrypted.
Differential Revision: https://reviews.freebsd.org/D3981
Notes
Notes:
svn path=/head/; revision=290038
Diffstat (limited to 'sys/netgraph/bluetooth/include/ng_hci.h')
-rw-r--r-- | sys/netgraph/bluetooth/include/ng_hci.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/netgraph/bluetooth/include/ng_hci.h b/sys/netgraph/bluetooth/include/ng_hci.h index 1688c4c35bbe..40d6a79598f8 100644 --- a/sys/netgraph/bluetooth/include/ng_hci.h +++ b/sys/netgraph/bluetooth/include/ng_hci.h @@ -469,7 +469,13 @@ typedef struct { typedef struct { u_int16_t con_handle; /* connection handle */ } ng_hci_lp_qos_ind_ep; - +/*Encryption Change event*/ +#define NGM_HCI_LP_ENC_CHG 10 /* HCI->Upper*/ +typedef struct { + uint16_t con_handle; + uint8_t status; + uint8_t link_type; +}ng_hci_lp_enc_change_ep; /************************************************************************** ************************************************************************** ** HCI node command/event parameters |