git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Bluetooth]: Workaround for inquiry results with RSSI and page scan mode
[pandora-kernel.git]
/
include
/
net
/
bluetooth
/
hci.h
diff --git
a/include/net/bluetooth/hci.h
b/include/net/bluetooth/hci.h
index
6f0706f
..
cd075f1
100644
(file)
--- a/
include/net/bluetooth/hci.h
+++ b/
include/net/bluetooth/hci.h
@@
-453,6
+453,15
@@
struct inquiry_info_with_rssi {
__u16 clock_offset;
__s8 rssi;
} __attribute__ ((packed));
__u16 clock_offset;
__s8 rssi;
} __attribute__ ((packed));
+struct inquiry_info_with_rssi_and_pscan_mode {
+ bdaddr_t bdaddr;
+ __u8 pscan_rep_mode;
+ __u8 pscan_period_mode;
+ __u8 pscan_mode;
+ __u8 dev_class[3];
+ __u16 clock_offset;
+ __s8 rssi;
+} __attribute__ ((packed));
#define HCI_EV_CONN_COMPLETE 0x03
struct hci_ev_conn_complete {
#define HCI_EV_CONN_COMPLETE 0x03
struct hci_ev_conn_complete {