audio/transport: update BAP transport QOS values when changed
authorPauli Virtanen <pav@iki.fi>
Sun, 19 Feb 2023 18:02:03 +0000 (18:02 +0000)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:21:48 +0000 (15:51 +0530)
commit1166c0fb2131ab1a90d128003c7f249bd1b7e2f3
tree0eb25e3e83ff7ee64e1937f9943fa4ffa681d4ec
parent2c1781ea4eaef8b91b2a699c1ca78b019e9c94e8
audio/transport: update BAP transport QOS values when changed

Currently, BAP transport publishes on DBus QOS values obtained at
transport creation time. For BAP server the transport creation usually
occurs before stream QOS is configured, and these values are then all
zero. bap->sdu is also never set.

Update transport QOS values in DBus when stream state changes.  Since
nearly all QOS values are exposed in the transport, use bt_bap_qos to
store them there for simplicity.
profiles/audio/transport.c