diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2013-12-11 16:05:37 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-12-11 21:57:55 +0100 |
commit | 18722c247023035b9e2e2a08a887adec2a9a6e49 (patch) | |
tree | ea345642b91699e7ea6994533c79aa24aafe20c8 /include/net/bluetooth/l2cap.h | |
parent | ipv6: Add checks for 6LOWPAN ARP type (diff) | |
download | linux-18722c247023035b9e2e2a08a887adec2a9a6e49.tar.xz linux-18722c247023035b9e2e2a08a887adec2a9a6e49.zip |
Bluetooth: Enable 6LoWPAN support for BT LE devices
This is initial version of
http://tools.ietf.org/html/draft-ietf-6lo-btle-00
By default the 6LoWPAN support is not activated and user
needs to tweak /sys/kernel/debug/bluetooth/hci0/6lowpan
file.
The kernel needs IPv6 support before 6LoWPAN is usable.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index e149e992fdae..dbc4a89984ca 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h @@ -136,6 +136,7 @@ struct l2cap_conninfo { #define L2CAP_FC_L2CAP 0x02 #define L2CAP_FC_CONNLESS 0x04 #define L2CAP_FC_A2MP 0x08 +#define L2CAP_FC_6LOWPAN 0x3e /* reserved and temporary value */ /* L2CAP Control Field bit masks */ #define L2CAP_CTRL_SAR 0xC000 |