diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2005-01-29 05:22:56 +0100 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2005-01-29 05:22:56 +0100 |
| commit | 8e4a73f4b7f2b88fdba2f034c5f441fbc3c8e759 (patch) | |
| tree | e765b7ff8ad88c5dfad7bd8fb523ce69331fc6c7 /include/net | |
| parent | 7af32eeba53677bf2c0ce6245252a0a17992b95f (diff) | |
[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 <marcel@holtmann.org>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/bluetooth/hci.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 { |
