Skip to contentSkip to conversation

Bluetooth: Add definitions for LE white list HCI commands

PATCH In review Marcel Holtmann 2 participants 2 messages Feb 28, 2014

Subsystems (2)
lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 1/4 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.

---
 include/net/bluetooth/hci.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
include/net/bluetooth/hci.h +14 -0
index 4755a28ace85..0cedc92cda47 100644
@@ -1205,6 +1205,20 @@ struct hci_rp_le_read_white_list_size {
 	__u8	size;
 } __packed;
 
+#define HCI_OP_LE_CLEAR_WHITE_LIST	0x2010
+
+#define HCI_OP_LE_ADD_TO_WHITE_LIST	0x2011
+struct hci_cp_le_add_to_white_list {
+	__u8     bdaddr_type;
+	bdaddr_t bdaddr;
+} __packed;
+
+#define HCI_OP_LE_DEL_FROM_WHITE_LIST	0x2012
+struct hci_cp_le_del_from_white_list {
+	__u8     bdaddr_type;
+	bdaddr_t bdaddr;
+} __packed;
+
 #define HCI_OP_LE_CONN_UPDATE		0x2013
 struct hci_cp_le_conn_update {
 	__le16   handle;
Signature · 1 line
1.8.5.3
#1 lore raw

Hi Marcel,

Quoted 7 lines · Marcel Holtmann

Add the definitions for clearing the LE white list, adding entries to the LE white list and removing entries from the LE white list.

---
 include/net/bluetooth/hci.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

All four patches have been applied to bluetooth-next. Thanks.

Johan