diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-12-02 14:34:18 (GMT) |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-12-05 15:05:34 (GMT) |
commit | 1f435424ce2c93c31c3887ec67e3afb6056f18f6 (patch) | |
tree | 93a7aed7a02b6984dfb3b4adfe45a4e4142eb8dd /include/net/bluetooth | |
parent | 64b4f8dc763d5c26dea0f483d6e475540eaf9759 (diff) | |
download | linux-1f435424ce2c93c31c3887ec67e3afb6056f18f6.tar.xz |
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>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/bluetooth.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index 2a628b2..f4f9ee4 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h @@ -115,6 +115,9 @@ struct bt_voice { #define BT_VOICE_TRANSPARENT 0x0003 #define BT_VOICE_CVSD_16BIT 0x0060 +#define BT_SNDMTU 12 +#define BT_RCVMTU 13 + __printf(1, 2) int bt_info(const char *fmt, ...); __printf(1, 2) |