aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-06 05:34:38 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-06 08:51:23 -0400
commit1e191893f38e89796d948af0516b7e29594dab99 (patch)
tree5af089ad2a71a5d8e34bad387bee9a1111614f00
parentc25dfc610b983f74f05b3c12d9ad4ff4af6cd858 (diff)
Bluetooth: Add HCI structure for LE advertising parameters command
Add the basic HCI structure for building the LE advertising parameters command. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
-rw-r--r--include/net/bluetooth/hci.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 9f8d1c1f0414..9b0e3f9aa1c3 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -1046,6 +1046,18 @@ 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 HCI_OP_LE_SET_ADV_PARAM 0x2006
1050struct hci_cp_le_set_adv_param {
1051 __le16 min_interval;
1052 __le16 max_interval;
1053 __u8 type;
1054 __u8 own_address_type;
1055 __u8 direct_addr_type;
1056 bdaddr_t direct_addr;
1057 __u8 channel_map;
1058 __u8 filter_policy;
1059} __packed;
1060
1049#define HCI_OP_LE_READ_ADV_TX_POWER 0x2007 1061#define HCI_OP_LE_READ_ADV_TX_POWER 0x2007
1050struct hci_rp_le_read_adv_tx_power { 1062struct hci_rp_le_read_adv_tx_power {
1051 __u8 status; 1063 __u8 status;