patch-2.4.25 linux-2.4.25/include/net/bluetooth/hci.h

Next file: linux-2.4.25/include/net/bluetooth/hci_core.h
Previous file: linux-2.4.25/include/linux/videodev.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/include/net/bluetooth/hci.h linux-2.4.25/include/net/bluetooth/hci.h
@@ -462,6 +462,17 @@
 } __attribute__ ((packed)) inquiry_info;
 #define INQUIRY_INFO_SIZE 14
 
+#define EVT_INQUIRY_RESULT_WITH_RSSI	0x22
+typedef struct {
+	bdaddr_t	bdaddr;
+	__u8	pscan_rep_mode;
+	__u8	pscan_period_mode;
+	__u8	dev_class[3];
+	__u16	clock_offset;
+	__u8	rssi;
+} __attribute__ ((packed)) inquiry_info_with_rssi;
+#define INQUIRY_INFO_WITH_RSSI_SIZE 14
+
 #define EVT_CONN_COMPLETE 	0x03
 typedef struct {
 	__u8	status;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)