]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add SMP L2CAP channel skeleton
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 8 Aug 2014 06:37:16 +0000 (09:37 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:18 +0000 (08:49 +0200)
commit6441511495f50072adda1c25201aa68d894df241
treec175a11638d84a71b3349015b0c8b9c8ce14d61e
parentb0f28f044a4df031ff56dbe521d3c15b6b430319
Bluetooth: Add SMP L2CAP channel skeleton

This patch creates the initial SMP L2CAP channels and a skeleton for
their callbacks. There is one per-adapter channel created upon adapter
registration, and then one channel per-connection created through the
new_connection callback. The channels are registered with the reserved
CID 0x1f for now in order to not conflict with existing SMP
functionality. Once everything is in place the value can be changed to
what it should be, i.e. L2CAP_CID_SMP.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
include/net/bluetooth/l2cap.h
net/bluetooth/smp.c