From 8e4a73f4b7f2b88fdba2f034c5f441fbc3c8e759 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 29 Jan 2005 05:22:56 +0100 Subject: [Bluetooth] Update inquiry cache from clock offset event The HCI clock offset event contains the actual clock offset for the connection. It is the same value that is received from an inquiry response and it can be used to make further reconnections faster. Signed-off-by: Marcel Holtmann --- include/net/bluetooth/hci.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 6a2fde5bf873..902ba988f187 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -576,6 +576,13 @@ struct hci_ev_rmt_version { __u16 lmp_subver; } __attribute__ ((packed)); +#define HCI_EV_CLOCK_OFFSET 0x01C +struct hci_ev_clock_offset { + __u8 status; + __u16 handle; + __u16 clock_offset; +} __attribute__ ((packed)); + /* Internal events generated by Bluetooth stack */ #define HCI_EV_STACK_INTERNAL 0xFD struct hci_ev_stack_internal { -- cgit v1.2.3