aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/bluetooth/hci.h')
-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 3645139e68c7..ed3aea1605e8 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -101,6 +101,7 @@ enum {
101/* HCI timeouts */ 101/* HCI timeouts */
102#define HCI_CONNECT_TIMEOUT (40000) /* 40 seconds */ 102#define HCI_CONNECT_TIMEOUT (40000) /* 40 seconds */
103#define HCI_DISCONN_TIMEOUT (2000) /* 2 seconds */ 103#define HCI_DISCONN_TIMEOUT (2000) /* 2 seconds */
104#define HCI_PAIRING_TIMEOUT (60000) /* 60 seconds */
104#define HCI_IDLE_TIMEOUT (6000) /* 6 seconds */ 105#define HCI_IDLE_TIMEOUT (6000) /* 6 seconds */
105#define HCI_INIT_TIMEOUT (10000) /* 10 seconds */ 106#define HCI_INIT_TIMEOUT (10000) /* 10 seconds */
106 107
@@ -133,8 +134,13 @@ enum {
133#define ESCO_EV3 0x0008 134#define ESCO_EV3 0x0008
134#define ESCO_EV4 0x0010 135#define ESCO_EV4 0x0010
135#define ESCO_EV5 0x0020 136#define ESCO_EV5 0x0020
137#define ESCO_2EV3 0x0040
138#define ESCO_3EV3 0x0080
139#define ESCO_2EV5 0x0100
140#define ESCO_3EV5 0x0200
136 141
137#define SCO_ESCO_MASK (ESCO_HV1 | ESCO_HV2 | ESCO_HV3) 142#define SCO_ESCO_MASK (ESCO_HV1 | ESCO_HV2 | ESCO_HV3)
143#define EDR_ESCO_MASK (ESCO_2EV3 | ESCO_3EV3 | ESCO_2EV5 | ESCO_3EV5)
138 144
139/* ACL flags */ 145/* ACL flags */
140#define ACL_CONT 0x01 146#define ACL_CONT 0x01
@@ -176,6 +182,9 @@ enum {
176#define LMP_EV5 0x02 182#define LMP_EV5 0x02
177 183
178#define LMP_SNIFF_SUBR 0x02 184#define LMP_SNIFF_SUBR 0x02
185#define LMP_EDR_ESCO_2M 0x20
186#define LMP_EDR_ESCO_3M 0x40
187#define LMP_EDR_3S_ESCO 0x80
179 188
180#define LMP_SIMPLE_PAIR 0x08 189#define LMP_SIMPLE_PAIR 0x08
181 190