diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-12-02 16:34:18 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-12-05 07:05:34 -0800 |
commit | 1f435424ce2c93c31c3887ec67e3afb6056f18f6 (patch) | |
tree | 93a7aed7a02b6984dfb3b4adfe45a4e4142eb8dd /include | |
parent | 64b4f8dc763d5c26dea0f483d6e475540eaf9759 (diff) | |
download | linux-stable-1f435424ce2c93c31c3887ec67e3afb6056f18f6.tar.gz linux-stable-1f435424ce2c93c31c3887ec67e3afb6056f18f6.tar.bz2 linux-stable-1f435424ce2c93c31c3887ec67e3afb6056f18f6.zip |
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')
-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 2a628b28249f..f4f9ee466791 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) |