summaryrefslogtreecommitdiff
path: root/src/btd.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-11-16 14:01:34 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-11-17 09:30:32 -0800
commitf3bd1908b0db7e829ab580736ed5ec187322de68 (patch)
treec827ee2a04ab80d99f822ed304eb942264dee456 /src/btd.h
parentb6e37c1213fdc3387c8e8324225db69933b8809c (diff)
downloadbluez-f3bd1908b0db7e829ab580736ed5ec187322de68.tar.gz
main.conf: Add option to configure AVDP session/stream channel modes
This adds a new group AVDTP where platform can configure the preferred L2CAP channel modes for both session (signalling) and stream (transport). For backward compatibility the both SessionMode and StreamMode defaults to basic mode.
Diffstat (limited to 'src/btd.h')
-rw-r--r--src/btd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/btd.h b/src/btd.h
index c98414e35..a3247e4fd 100644
--- a/src/btd.h
+++ b/src/btd.h
@@ -84,6 +84,11 @@ struct btd_defaults {
struct btd_le_defaults le;
};
+struct btd_avdtp_opts {
+ uint8_t session_mode;
+ uint8_t stream_mode;
+};
+
struct btd_opts {
char *name;
uint32_t class;
@@ -112,6 +117,8 @@ struct btd_opts {
uint8_t gatt_channels;
enum mps_mode_t mps;
+ struct btd_avdtp_opts avdtp;
+
uint8_t key_size;
enum jw_repairing_t jw_repairing;