aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-06 06:03:46 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-06 08:57:59 -0400
commitc2f5ebd2148860537762c8d0d687efed73c2c2d0 (patch)
tree055b325ad6590146611183e6143a873968f38e95 /include/net
parentbba3aa550f614b8abf6614f6696a095030ce2ff6 (diff)
Bluetooth: Add constants for LE advertising types
Add constants for ADV_IND, ADV_DIRECT_IND, ADV_SCAN_IND and ADV_NONCONN_IND advertising types. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 9b0e3f9aa1c3..3616ea794eb1 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -1046,6 +1046,11 @@ struct hci_rp_le_read_local_features {
1046 1046
1047#define HCI_OP_LE_SET_RANDOM_ADDR 0x2005 1047#define HCI_OP_LE_SET_RANDOM_ADDR 0x2005
1048 1048
1049#define LE_ADV_IND 0x00
1050#define LE_ADV_DIRECT_IND 0x01
1051#define LE_ADV_SCAN_IND 0x02
1052#define LE_ADV_NONCONN_IND 0x03
1053
1049#define HCI_OP_LE_SET_ADV_PARAM 0x2006 1054#define HCI_OP_LE_SET_ADV_PARAM 0x2006
1050struct hci_cp_le_set_adv_param { 1055struct hci_cp_le_set_adv_param {
1051 __le16 min_interval; 1056 __le16 min_interval;