diff options
author | Mat Martineau <mathewm@codeaurora.org> | 2011-11-02 19:18:33 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-11-07 14:25:02 -0500 |
commit | d835ac0fc73276893af63a478317027787a3ac1f (patch) | |
tree | ddcf0000490739c37d14da6e27b15e9c17ba5002 /include | |
parent | f94ff6fff7b8b5896a173d165e9ec579c83067f2 (diff) |
Bluetooth: Add definitions for L2CAP fixed channels
Symbolic fixed channel IDs will be used instead of magic numbers.
Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Acked-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 88d462a4ee78..9280bff55430 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -119,6 +119,10 @@ struct l2cap_conninfo { | |||
119 | #define L2CAP_FCS_NONE 0x00 | 119 | #define L2CAP_FCS_NONE 0x00 |
120 | #define L2CAP_FCS_CRC16 0x01 | 120 | #define L2CAP_FCS_CRC16 0x01 |
121 | 121 | ||
122 | /* L2CAP fixed channels */ | ||
123 | #define L2CAP_FC_L2CAP 0x02 | ||
124 | #define L2CAP_FC_A2MP 0x08 | ||
125 | |||
122 | /* L2CAP Control Field bit masks */ | 126 | /* L2CAP Control Field bit masks */ |
123 | #define L2CAP_CTRL_SAR 0xC000 | 127 | #define L2CAP_CTRL_SAR 0xC000 |
124 | #define L2CAP_CTRL_REQSEQ 0x3F00 | 128 | #define L2CAP_CTRL_REQSEQ 0x3F00 |