mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
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>
This commit is contained in:
parent
2331fd46f5
commit
32c9d43fa5
@ -1795,6 +1795,16 @@ struct hci_ev_le_remote_conn_param_req {
|
|||||||
__le16 timeout;
|
__le16 timeout;
|
||||||
} __packed;
|
} __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 */
|
/* Internal events generated by Bluetooth stack */
|
||||||
#define HCI_EV_STACK_INTERNAL 0xfd
|
#define HCI_EV_STACK_INTERNAL 0xfd
|
||||||
struct hci_ev_stack_internal {
|
struct hci_ev_stack_internal {
|
||||||
|
Loading…
Reference in New Issue
Block a user