Bluetooth: Add new BT_SNDMTU and BT_RCVMTU socket options
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 2 Dec 2013 14:34:18 +0000 (16:34 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:34 +0000 (07:05 -0800)
commit1f435424ce2c93c31c3887ec67e3afb6056f18f6
tree93a7aed7a02b6984dfb3b4adfe45a4e4142eb8dd
parent64b4f8dc763d5c26dea0f483d6e475540eaf9759
Bluetooth: Add new BT_SNDMTU and BT_RCVMTU socket options

This patch adds new socket options for LE sockets since the existing
L2CAP_OPTIONS socket option is not usable for LE. For now, the new
socket options also require LE CoC support to be explicitly enabled to
leave some playroom in case something needs to be changed in a backwards
incompatible way.

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