summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorGeorg Lukas <georg@op-co.de>2014-07-26 13:59:57 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-07-26 19:05:09 +0200
commit628531c9e971f1bd023d9fbd00faff014ca22440 (patch)
tree705bf842d95de637051c93ee4ea007f5a1453c03 /include/net
parent66d8e837ab4f58722c56ccbfa5ab9a522cebde78 (diff)
downloadop-kernel-dev-628531c9e971f1bd023d9fbd00faff014ca22440.zip
op-kernel-dev-628531c9e971f1bd023d9fbd00faff014ca22440.tar.gz
Bluetooth: Provide defaults for LE advertising interval
Store the default values for minimum and maximum advertising interval with all the other controller defaults. These vaules are sent to the adapter whenever advertising is (re)enabled. Signed-off-by: Georg Lukas <georg@op-co.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 747a0c3..b5d5af3 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -203,6 +203,8 @@ struct hci_dev {
__u16 page_scan_window;
__u8 page_scan_type;
__u8 le_adv_channel_map;
+ __u16 le_adv_min_interval;
+ __u16 le_adv_max_interval;
__u8 le_scan_type;
__u16 le_scan_interval;
__u16 le_scan_window;
OpenPOWER on IntegriCloud