diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-09-13 01:32:25 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-09-13 01:32:25 +0200 |
commit | 21d9e30ed020d24336cc3bee2a4e04da232ed554 (patch) | |
tree | 686594eece8d9a2593a62bd1a54a4effa1710b41 /include | |
parent | 862aad56dcd67fd0313db51d09a5269f7e3f1f0b (diff) |
[Bluetooth] Add support for extended inquiry responses
This patch adds the handling of the extended inquiry responses and
inserts them into the inquiry cache.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/hci.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 371e7d3f2e6..fa2d12b0579 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -463,6 +463,17 @@ struct inquiry_info_with_rssi_and_pscan_mode { __s8 rssi; } __attribute__ ((packed)); +#define HCI_EV_EXTENDED_INQUIRY_RESULT 0x2F +struct extended_inquiry_info { + bdaddr_t bdaddr; + __u8 pscan_rep_mode; + __u8 pscan_period_mode; + __u8 dev_class[3]; + __u16 clock_offset; + __s8 rssi; + __u8 data[240]; +} __attribute__ ((packed)); + #define HCI_EV_CONN_COMPLETE 0x03 struct hci_ev_conn_complete { __u8 status; |