Skip to contentSkip to conversation

Bluetooth: Add definitions for LE Direct Advertising Report event

PATCH In review Marcel Holtmann 1 participant 1 message Dec 5, 2014

Subsystems (2)
lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 2/6 Bluetooth: Add definitions for LE Direct Advertising Report event

This patch adds the event id and data structures for the LE Direct Advertising Report event.

---
 include/net/bluetooth/hci.h | 10 ++++++++++
 1 file changed, 10 insertions(+)
include/net/bluetooth/hci.h +10 -0
index edb55e54e039..ffebd393af4f 100644
@@ -1795,6 +1795,16 @@ struct hci_ev_le_remote_conn_param_req {
 	__le16 timeout;
 } __packed;
 
+#define HCI_EV_LE_DIRECT_ADV_REPORT	0x0B
+struct hci_ev_le_direct_adv_info {
+	__u8	 evt_type;
+	__u8	 bdaddr_type;
+	bdaddr_t bdaddr;
+	__u8	 direct_addr_type;
+	bdaddr_t direct_addr;
+	__s8	 rssi;
+} __packed;
+
 /* Internal events generated by Bluetooth stack */
 #define HCI_EV_STACK_INTERNAL	0xfd
 struct hci_ev_stack_internal {
Signature · 1 line
1.9.3