summaryrefslogtreecommitdiff
path: root/lib/bluetooth.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2019-07-29 13:09:57 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-03-30 15:23:11 -0700
commitcbb39474cf4d398d73c908b2adfe117415a90318 (patch)
tree7d5101ef068d85d8436ccdefe014a4b3eeb727ac /lib/bluetooth.h
parent6cd9832c865453fff3fde238434695ff33141fa4 (diff)
downloadbluez-cbb39474cf4d398d73c908b2adfe117415a90318.tar.gz
lib: Add definitions for Enhanced Credits Based Mode
Diffstat (limited to 'lib/bluetooth.h')
-rw-r--r--lib/bluetooth.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index d14217eac..4a52ecb78 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -141,6 +141,14 @@ struct bt_voice {
#define BT_PHY_LE_CODED_TX 0x00002000
#define BT_PHY_LE_CODED_RX 0x00004000
+#define BT_MODE 15
+
+#define BT_MODE_BASIC 0x00
+#define BT_MODE_ERTM 0x01
+#define BT_MODE_STREAMING 0x02
+#define BT_MODE_LE_FLOWCTL 0x03
+#define BT_MODE_EXT_FLOWCTL 0x04
+
/* Connection and socket states */
enum {
BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */