diff options
author | Arman Uguray <armansito@chromium.org> | 2015-03-23 18:57:15 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-03-23 20:53:47 -0400 |
commit | 912098a6308e37208b8dcc46c57c66d0778a854b (patch) | |
tree | bcc9acea73780237f1b848122b9d4bfa797e2d9c /include/net/bluetooth | |
parent | 4117ed70a55128273f1b6d00c7725e4c8a5c0031 (diff) |
Bluetooth: Add support for adv instance timeout
This patch implements support for the timeout parameter of the
Add Advertising command.
Signed-off-by: Arman Uguray <armansito@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 3a6d4e3d68fe..540c07feece7 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -156,8 +156,10 @@ struct oob_data { | |||
156 | }; | 156 | }; |
157 | 157 | ||
158 | struct adv_info { | 158 | struct adv_info { |
159 | struct delayed_work timeout_exp; | ||
159 | __u8 instance; | 160 | __u8 instance; |
160 | __u32 flags; | 161 | __u32 flags; |
162 | __u16 timeout; | ||
161 | __u16 adv_data_len; | 163 | __u16 adv_data_len; |
162 | __u8 adv_data[HCI_MAX_AD_LENGTH]; | 164 | __u8 adv_data[HCI_MAX_AD_LENGTH]; |
163 | __u16 scan_rsp_len; | 165 | __u16 scan_rsp_len; |