diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2014-12-05 10:20:11 -0500 |
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-05 11:15:18 -0500 |
| commit | 32c9d43fa5deac40eee5a689428367982f147044 (patch) | |
| tree | 7b3c696c21eccea3c0e7d73a8bb516aa3b2ab31e /include/net/bluetooth | |
| parent | 2331fd46f5452944f32a2bc78fa05026617887c6 (diff) | |
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.
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.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index edb55e54e039..ffebd393af4f 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
| @@ -1795,6 +1795,16 @@ struct hci_ev_le_remote_conn_param_req { | |||
| 1795 | __le16 timeout; | 1795 | __le16 timeout; |
| 1796 | } __packed; | 1796 | } __packed; |
| 1797 | 1797 | ||
| 1798 | #define HCI_EV_LE_DIRECT_ADV_REPORT 0x0B | ||
| 1799 | struct hci_ev_le_direct_adv_info { | ||
| 1800 | __u8 evt_type; | ||
| 1801 | __u8 bdaddr_type; | ||
| 1802 | bdaddr_t bdaddr; | ||
| 1803 | __u8 direct_addr_type; | ||
| 1804 | bdaddr_t direct_addr; | ||
| 1805 | __s8 rssi; | ||
| 1806 | } __packed; | ||
| 1807 | |||
| 1798 | /* Internal events generated by Bluetooth stack */ | 1808 | /* Internal events generated by Bluetooth stack */ |
| 1799 | #define HCI_EV_STACK_INTERNAL 0xfd | 1809 | #define HCI_EV_STACK_INTERNAL 0xfd |
| 1800 | struct hci_ev_stack_internal { | 1810 | struct hci_ev_stack_internal { |
