aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2011-02-11 16:28:54 -0500
committerGustavo F. Padovan <padovan@profusion.mobi>2011-02-16 14:33:23 -0500
commit3300d9a930a79508032e3e03ac2bde3a22dd048d (patch)
treef5a3c285b282a6bc6e9e814bcbe5220f6acc7132 /include/net/bluetooth/l2cap.h
parent03c2d0e89409b59c1ec9d9511533cedc0b7aaa69 (diff)
Bluetooth: Add LE signaling commands handling
This patch splits the L2CAP command handling function in order to have a clear separation between the commands related to BR/EDR and LE. Commands and responses in the LE signaling channel are not being handled yet, command reject is sent to all received requests. Bluetooth Core Specification, Volume 3, Part A, section 4 defines the signaling packets formats and allowed commands/responses over the LE signaling channel. Signed-off-by: Claudio Takahasi <claudio.takahasi@openbossa.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r--include/net/bluetooth/l2cap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 41b3bc56f13f..06f245dcf6b2 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -89,6 +89,8 @@ struct l2cap_conninfo {
89#define L2CAP_ECHO_RSP 0x09 89#define L2CAP_ECHO_RSP 0x09
90#define L2CAP_INFO_REQ 0x0a 90#define L2CAP_INFO_REQ 0x0a
91#define L2CAP_INFO_RSP 0x0b 91#define L2CAP_INFO_RSP 0x0b
92#define L2CAP_CONN_PARAM_UPDATE_REQ 0x12
93#define L2CAP_CONN_PARAM_UPDATE_RSP 0x13
92 94
93/* L2CAP feature mask */ 95/* L2CAP feature mask */
94#define L2CAP_FEAT_FLOWCTL 0x00000001 96#define L2CAP_FEAT_FLOWCTL 0x00000001