summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@nuts.davemloft.net>2004-12-08 06:37:57 -0800
committerDavid S. Miller <davem@nuts.davemloft.net>2004-12-08 06:37:57 -0800
commitc09db0b27e52fc5cb028b9c52f6eb05a47dc227d (patch)
treef7db74cd24098359abbe4b3cdf83b2fb4f97e221 /include
parentca32238957a0f3a2d7e3dd74b9c18f13a438fc38 (diff)
parent4865782efb0706b175043d28359b1274c97b762e (diff)
Merge http://linux-mh.bkbits.net/bluetooth-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci_core.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 16dec2fe1762..fe5cc98511ba 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -38,10 +38,20 @@ extern struct proc_dir_entry *proc_bt_hci;
/* HCI Core structures */
+struct inquiry_data {
+ bdaddr_t bdaddr;
+ __u8 pscan_rep_mode;
+ __u8 pscan_period_mode;
+ __u8 pscan_mode;
+ __u8 dev_class[3];
+ __u16 clock_offset;
+ __s8 rssi;
+};
+
struct inquiry_entry {
struct inquiry_entry *next;
__u32 timestamp;
- struct inquiry_info info;
+ struct inquiry_data data;
};
struct inquiry_cache {
@@ -142,6 +152,7 @@ struct hci_conn {
__u16 state;
__u8 type;
__u8 out;
+ __u8 dev_class[3];
__u32 link_mode;
unsigned long pend;
@@ -199,7 +210,7 @@ static inline long inquiry_entry_age(struct inquiry_entry *e)
}
struct inquiry_entry *hci_inquiry_cache_lookup(struct hci_dev *hdev, bdaddr_t *bdaddr);
-void hci_inquiry_cache_update(struct hci_dev *hdev, struct inquiry_info *info);
+void hci_inquiry_cache_update(struct hci_dev *hdev, struct inquiry_data *data);
/* ----- HCI Connections ----- */
enum {