summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorh.sandeep <h.sandeep@samsung.com>2016-09-01 12:00:57 +0530
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:53:04 +0900
commit10751017c942a2a25cd36bae1460eb9dafb828f0 (patch)
tree386bebd8b1887c79ee289d4561dedb06e795949a /include
parent77f70c9444f1db11f1e67e43225867e6fa2c3f0c (diff)
Bluetooth: Add MGMT tizen_handlers and TIZEN_OP_BASE_CODE.
Added the basic skeleton code for tizen_mgmt_handlers and mgmt_tizen.h header file. Change-Id: I8f3100aa79e6673840ba561f0a9c50238ca0880b Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci_core.h4
-rw-r--r--include/net/bluetooth/mgmt_tizen.h26
2 files changed, 30 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 2c8dfdfeea07..5d333fff0904 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1320,6 +1320,10 @@ struct hci_mgmt_chan {
unsigned short channel;
size_t handler_count;
const struct hci_mgmt_handler *handlers;
+#ifdef TIZEN_BT
+ size_t tizen_handler_count;
+ const struct hci_mgmt_handler *tizen_handlers;
+#endif
void (*hdev_init) (struct sock *sk, struct hci_dev *hdev);
};
diff --git a/include/net/bluetooth/mgmt_tizen.h b/include/net/bluetooth/mgmt_tizen.h
new file mode 100644
index 000000000000..6bad3c9e7f51
--- /dev/null
+++ b/include/net/bluetooth/mgmt_tizen.h
@@ -0,0 +1,26 @@
+/*
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (c) 2015-2016 Samsung Electronics Co., Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+#ifndef __MGMT_TIZEN_H
+#define __MGMT_TIZEN_H
+
+#define TIZEN_OP_CODE_BASE 0xff00
+#define TIZEN_EV_BASE 0xff00
+
+#endif /* __MGMT_TIZEN_H */