summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndre Guedes <andre.guedes@openbossa.org>2011-12-02 12:13:31 (GMT)
committerGustavo F. Padovan <padovan@profusion.mobi>2011-12-02 12:19:31 (GMT)
commit07f7fa5db1e65a27066c8ebf9fc676a4168e07f4 (patch)
treea9a57514cf4c815ecb158ad3f5b5f87145dcf1b6 /include
parentd23264a896a931c4b355c102d8e9d46649195ba4 (diff)
downloadlinux-fsl-qoriq-07f7fa5db1e65a27066c8ebf9fc676a4168e07f4.tar.xz
Bluetooth: LE Set Scan Parameter Command
This patch adds the parameter struct and the command complete event handler to the LE Set Scan Parameter HCI command. Signed-off-by: Andre Guedes <andre.guedes@openbossa.org> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index e2ed368..67ad984 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -782,6 +782,15 @@ struct hci_rp_le_read_buffer_size {
__u8 le_max_pkt;
} __packed;
+#define HCI_OP_LE_SET_SCAN_PARAM 0x200b
+struct hci_cp_le_set_scan_param {
+ __u8 type;
+ __le16 interval;
+ __le16 window;
+ __u8 own_address_type;
+ __u8 filter_policy;
+} __packed;
+
#define HCI_OP_LE_SET_SCAN_ENABLE 0x200c
struct hci_cp_le_set_scan_enable {
__u8 enable;