Skip to contentSkip to conversation

Add BT 3.0+HS definitions

PATCH Superseded Peter Krystad 1 participant 2 messages Dec 13, 2011

Subsystems (2)

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v4 cover Add BT 3.0+HS definitions

This patchset adds BT 3.0+HS signalling definitions

v4 - same content but A2MP definitions placed in l2cap.h

Peter Krystad (1):
Add L2CAP Create/Move Channel and A2MP definitions

 lib/bluetooth.h |    5 ++
 lib/l2cap.h     |  158 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 163 insertions(+), 0 deletions(-)
Signature · 6 lines
1.7.4.1

--
Peter Krystad
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum
#1 lore raw

PATCH v4 1/1 Add L2CAP Create/Move Channel and A2MP definitions

---
 lib/bluetooth.h |    5 ++
 lib/l2cap.h     |  158 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 163 insertions(+), 0 deletions(-)
lib/bluetooth.h +5 -0
index 5bd4f03..ce49d6c 100644
@@ -76,6 +76,11 @@ struct bt_security {
 #define BT_FLUSHABLE_OFF	0
 #define BT_FLUSHABLE_ON		1
 
+#define BT_CHANNEL_POLICY 	10
+#define BT_CHANNEL_POLICY_BREDR_ONLY		0
+#define BT_CHANNEL_POLICY_BREDR_PREFERRED	1
+#define BT_CHANNEL_POLICY_AMP_PREFERRED		2
+
 /* Connection and socket states */
 enum {
 	BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */
lib/l2cap.h +158 -0

170 lines not on this page · raw message

Signature · 6 lines
1.7.4.1

--
Peter Krystad
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum