summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>2013-06-26 19:32:08 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2013-08-01 12:32:11 +0300
commitc594291320709e51e90de9973200a00db91de89c (patch)
treee49fefc65226dd5819eb7b3e6606b34da671f623 /lib
parenta79f22a45a65aa4203483e870f69e5a287ac66ec (diff)
lib: SCO voice setting support header
Modify headers to enable support for changing SCO voice setting. Corresponding commit implements functionality on kernel side.
Diffstat (limited to 'lib')
-rw-r--r--lib/bluetooth.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index 48323f06b..012fde40d 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -104,6 +104,14 @@ struct bt_security {
*/
#define BT_CHANNEL_POLICY_AMP_PREFERRED 2
+#define BT_VOICE 11
+struct bt_voice {
+ uint16_t setting;
+};
+
+#define BT_VOICE_TRANSPARENT 0x0003
+#define BT_VOICE_CVSD_16BIT 0x0060
+
/* Connection and socket states */
enum {
BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */