aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-02-27 23:37:28 -0500
committerJohan Hedberg <johan.hedberg@intel.com>2014-02-28 02:31:09 -0500
commitd9a7b0a53f898176b31f6a560e487880a2353136 (patch)
tree53d317dad795c9672f93673c59b6004823d758e0 /include/net/bluetooth
parentc9507490ab1769a808fcb4af1a27bd738f4b0407 (diff)
Bluetooth: Add definitions for LE white list HCI commands
Add the definitions for clearing the LE white list, adding entries to the LE white list and removing entries from the LE white list. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index c3834d3aecbb..bb3f4926d4e3 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -1205,6 +1205,20 @@ struct hci_rp_le_read_white_list_size {
1205 __u8 size; 1205 __u8 size;
1206} __packed; 1206} __packed;
1207 1207
1208#define HCI_OP_LE_CLEAR_WHITE_LIST 0x2010
1209
1210#define HCI_OP_LE_ADD_TO_WHITE_LIST 0x2011
1211struct hci_cp_le_add_to_white_list {
1212 __u8 bdaddr_type;
1213 bdaddr_t bdaddr;
1214} __packed;
1215
1216#define HCI_OP_LE_DEL_FROM_WHITE_LIST 0x2012
1217struct hci_cp_le_del_from_white_list {
1218 __u8 bdaddr_type;
1219 bdaddr_t bdaddr;
1220} __packed;
1221
1208#define HCI_OP_LE_CONN_UPDATE 0x2013 1222#define HCI_OP_LE_CONN_UPDATE 0x2013
1209struct hci_cp_le_conn_update { 1223struct hci_cp_le_conn_update {
1210 __le16 handle; 1224 __le16 handle;