diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-11-16 14:01:34 -0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-11-17 09:30:32 -0800 |
commit | f3bd1908b0db7e829ab580736ed5ec187322de68 (patch) | |
tree | c827ee2a04ab80d99f822ed304eb942264dee456 /src/btd.h | |
parent | b6e37c1213fdc3387c8e8324225db69933b8809c (diff) | |
download | bluez-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.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; |