• Johan Hedberg's avatar
    Bluetooth: Add SMP L2CAP channel skeleton · 70db83c4
    Johan Hedberg authored
    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: default avatarJohan Hedberg <johan.hedberg@intel.com>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    70db83c4
smp.c 38.4 KB