diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2005-09-12 19:32:25 -0400 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2005-09-12 19:32:25 -0400 |
| commit | 21d9e30ed020d24336cc3bee2a4e04da232ed554 (patch) | |
| tree | 686594eece8d9a2593a62bd1a54a4effa1710b41 /include/net/bluetooth | |
| 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/net/bluetooth')
| -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 371e7d3f2e6f..fa2d12b0579b 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 { | |||
| 463 | __s8 rssi; | 463 | __s8 rssi; |
| 464 | } __attribute__ ((packed)); | 464 | } __attribute__ ((packed)); |
| 465 | 465 | ||
| 466 | #define HCI_EV_EXTENDED_INQUIRY_RESULT 0x2F | ||
| 467 | struct extended_inquiry_info { | ||
| 468 | bdaddr_t bdaddr; | ||
| 469 | __u8 pscan_rep_mode; | ||
| 470 | __u8 pscan_period_mode; | ||
| 471 | __u8 dev_class[3]; | ||
| 472 | __u16 clock_offset; | ||
| 473 | __s8 rssi; | ||
| 474 | __u8 data[240]; | ||
| 475 | } __attribute__ ((packed)); | ||
| 476 | |||
| 466 | #define HCI_EV_CONN_COMPLETE 0x03 | 477 | #define HCI_EV_CONN_COMPLETE 0x03 |
| 467 | struct hci_ev_conn_complete { | 478 | struct hci_ev_conn_complete { |
| 468 | __u8 status; | 479 | __u8 status; |
