History

[Bluetooth] Add support for extended inquiry responses

This patch adds the handling of the extended inquiry responses and inserts them into the inquiry cache.

Marcel Holtmann committed 21 years ago

Commit 21d9e301 parent 862aad52 files · +44 −0Browse files

Showing the changes to include/net/bluetooth (1 of 2 files). Show all

Unified · Split

include/net/bluetooth/hci.h+11−0
@@ -463,6 +463,17 @@ struct inquiry_info_with_rssi_and_pscan_mode { · 462 unmodified lines
463 __s8 rssi;463 __s8 rssi;
464} __attribute__ ((packed));464} __attribute__ ((packed));
465 465
466#define HCI_EV_EXTENDED_INQUIRY_RESULT 0x2F
467struct 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 0x03477#define HCI_EV_CONN_COMPLETE 0x03
467struct hci_ev_conn_complete {478struct hci_ev_conn_complete {
468 __u8 status;479 __u8 status;