summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2011-02-11 19:28:54 -0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-02-16 16:33:23 -0300
commit3300d9a930a79508032e3e03ac2bde3a22dd048d (patch)
treef5a3c285b282a6bc6e9e814bcbe5220f6acc7132 /include/net
parent03c2d0e89409b59c1ec9d9511533cedc0b7aaa69 (diff)
downloadop-kernel-dev-3300d9a930a79508032e3e03ac2bde3a22dd048d.zip
op-kernel-dev-3300d9a930a79508032e3e03ac2bde3a22dd048d.tar.gz
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')
-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 41b3bc5..06f245d 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -89,6 +89,8 @@ struct l2cap_conninfo {
#define L2CAP_ECHO_RSP 0x09
#define L2CAP_INFO_REQ 0x0a
#define L2CAP_INFO_RSP 0x0b
+#define L2CAP_CONN_PARAM_UPDATE_REQ 0x12
+#define L2CAP_CONN_PARAM_UPDATE_RSP 0x13
/* L2CAP feature mask */
#define L2CAP_FEAT_FLOWCTL 0x00000001
OpenPOWER on IntegriCloud