aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/sco.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/bluetooth/sco.h')
-rw-r--r--include/net/bluetooth/sco.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/net/bluetooth/sco.h b/include/net/bluetooth/sco.h
index 1e35c43..7f2869a 100644
--- a/include/net/bluetooth/sco.h
+++ b/include/net/bluetooth/sco.h
@@ -22,6 +22,11 @@
SOFTWARE IS DISCLAIMED.
*/
+#ifdef CONFIG_BT_MGMT
+#include "sco_mgmt.h"
+#elif defined(CONFIG_BT_TIZEN)
+#include "tizen/sco.h"
+#else
#ifndef __SCO_H
#define __SCO_H
@@ -37,6 +42,7 @@
struct sockaddr_sco {
sa_family_t sco_family;
bdaddr_t sco_bdaddr;
+ __u16 sco_pkt_type;
};
/* SCO socket options */
@@ -72,8 +78,10 @@ struct sco_conn {
struct sco_pinfo {
struct bt_sock bt;
- __u32 flags;
+ __u16 pkt_type;
+
struct sco_conn *conn;
};
#endif /* __SCO_H */
+#endif /* CONFIG_BT_MGMT */