summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSudha Bheemanna <b.sudha@samsung.com>2016-08-25 12:46:07 +0530
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:53:10 +0900
commit85519ab575e7815f2a05ba49d7fc0984cf9f48f5 (patch)
tree04353d75aace2d2f4d9d871a6c577ccbbf3293f9 /include
parent6ab62b2d93ab9335c77ee982b416c2c4f2229499 (diff)
Bluetooth: Add set LE scan parameter feature
Added new MGMT command to set LE scan parameters Change-Id: I5ea660f97e93dfcc72273971ad0250e7f582f718 Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/mgmt_tizen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt_tizen.h b/include/net/bluetooth/mgmt_tizen.h
index 4f24c42132b2..4c2e9d0c54d6 100644
--- a/include/net/bluetooth/mgmt_tizen.h
+++ b/include/net/bluetooth/mgmt_tizen.h
@@ -143,6 +143,14 @@ struct mgmt_cp_set_manufacturer_data {
#define MGMT_SET_MANUFACTURER_DATA_SIZE 100
/* Set Manufacturer Data */
+#define MGMT_OP_LE_SET_SCAN_PARAMS (TIZEN_OP_CODE_BASE + 0x0f)
+struct mgmt_cp_le_set_scan_params {
+ __u8 type; /* le scan type */
+ __le16 interval;
+ __le16 window;
+} __packed;
+#define MGMT_LE_SET_SCAN_PARAMS_SIZE 5
+
/* EVENTS */
/* For device name update changes */