From: Mat Martineau Date: Wed, 2 Nov 2011 23:18:33 +0000 (-0700) Subject: Bluetooth: Add definitions for L2CAP fixed channels X-Git-Tag: next-20111104~33^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7e22b4b5c788930190fb0e07600b67ee4b6ebf4d;p=karo-tx-linux.git Bluetooth: Add definitions for L2CAP fixed channels Symbolic fixed channel IDs will be used instead of magic numbers. Signed-off-by: Mat Martineau Acked-by: Marcel Holtmann Acked-by: Andrei Emeltchenko Signed-off-by: Gustavo F. Padovan --- diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index b3ad6acae2f7..fdb2b78da251 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h @@ -122,6 +122,10 @@ struct l2cap_conninfo { #define L2CAP_FCS_NONE 0x00 #define L2CAP_FCS_CRC16 0x01 +/* L2CAP fixed channels */ +#define L2CAP_FC_L2CAP 0x02 +#define L2CAP_FC_A2MP 0x08 + /* L2CAP Control Field bit masks */ #define L2CAP_CTRL_SAR 0xC000 #define L2CAP_CTRL_REQSEQ 0x3F00