diff options
author | Marcel Holtmann | 2014-01-10 11:07:16 +0100 |
---|---|---|
committer | Johan Hedberg | 2014-02-13 08:51:31 +0100 |
commit | d5991585d0bc49dca4ff36d18447bb27ad1ccd73 (patch) | |
tree | 38e6539eb22231e9f9e22b58d8fecd632db4673d /include/net/bluetooth/hci_core.h | |
parent | Bluetooth: Fix outgoing authentication requirement check (diff) | |
download | kernel-qcow2-linux-d5991585d0bc49dca4ff36d18447bb27ad1ccd73.tar.gz kernel-qcow2-linux-d5991585d0bc49dca4ff36d18447bb27ad1ccd73.tar.xz kernel-qcow2-linux-d5991585d0bc49dca4ff36d18447bb27ad1ccd73.zip |
Bluetooth: Add LMP feature definitions for Secure Connections support
The support for Secure Connections introduces two new controller
features and one new host feature.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index f2f0cf5865c4..bb984d0626b7 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -803,9 +803,12 @@ void hci_conn_del_sysfs(struct hci_conn *conn); #define lmp_csb_slave_capable(dev) ((dev)->features[2][0] & LMP_CSB_SLAVE) #define lmp_sync_train_capable(dev) ((dev)->features[2][0] & LMP_SYNC_TRAIN) #define lmp_sync_scan_capable(dev) ((dev)->features[2][0] & LMP_SYNC_SCAN) +#define lmp_sc_capable(dev) ((dev)->features[2][1] & LMP_SC) +#define lmp_ping_capable(dev) ((dev)->features[2][1] & LMP_PING) /* ----- Host capabilities ----- */ #define lmp_host_ssp_capable(dev) ((dev)->features[1][0] & LMP_HOST_SSP) +#define lmp_host_sc_capable(dev) ((dev)->features[1][0] & LMP_HOST_SC) #define lmp_host_le_capable(dev) (!!((dev)->features[1][0] & LMP_HOST_LE)) #define lmp_host_le_br_capable(dev) (!!((dev)->features[1][0] & LMP_HOST_LE_BREDR)) |