diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-08-09 23:28:02 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:54:53 -0400 |
commit | 85a1e930bf628700e8e9c166b1f5c1c26d3651cc (patch) | |
tree | 3361d42b6c32145517df9ac95117221a01a8132c /include/net | |
parent | 45bb4bf08b9c16122af84d3f26a018c8022b24e5 (diff) |
[Bluetooth]: Track page scan repetition mode changes
The HCI page scan repetition mode change event contains the actual
page scan repetition mode for the remote device. 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index cd075f197983..371e7d3f2e6f 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -593,6 +593,12 @@ struct hci_ev_clock_offset { | |||
593 | __u16 clock_offset; | 593 | __u16 clock_offset; |
594 | } __attribute__ ((packed)); | 594 | } __attribute__ ((packed)); |
595 | 595 | ||
596 | #define HCI_EV_PSCAN_REP_MODE 0x20 | ||
597 | struct hci_ev_pscan_rep_mode { | ||
598 | bdaddr_t bdaddr; | ||
599 | __u8 pscan_rep_mode; | ||
600 | } __attribute__ ((packed)); | ||
601 | |||
596 | /* Internal events generated by Bluetooth stack */ | 602 | /* Internal events generated by Bluetooth stack */ |
597 | #define HCI_EV_STACK_INTERNAL 0xFD | 603 | #define HCI_EV_STACK_INTERNAL 0xFD |
598 | struct hci_ev_stack_internal { | 604 | struct hci_ev_stack_internal { |