2024-02-08 19:11:46

by fdanis-oss

[permalink] [raw]
Subject: [bluez/bluez] 747092: shared/bap: Rework stream procedures

Branch: refs/heads/master
Home: https://github.com/bluez/bluez
Commit: 74709286b6b4e3252668d80a0219b438cb4b0e08
https://github.com/bluez/bluez/commit/74709286b6b4e3252668d80a0219b438cb4b0e08
Author: Luiz Augusto von Dentz <[email protected]>
Date: 2024-02-08 (Thu, 08 Feb 2024)

Changed paths:
M src/shared/bap.c

Log Message:
-----------
shared/bap: Rework stream procedures

This rework stream procedures to avoid having to check stream types
everytime the procedure is invoked, instead this creates a operation
abstraction which is assign at stream creation.


Commit: 8e76c9140de1211588a72bf080cc45299256ce83
https://github.com/bluez/bluez/commit/8e76c9140de1211588a72bf080cc45299256ce83
Author: Luiz Augusto von Dentz <[email protected]>
Date: 2024-02-08 (Thu, 08 Feb 2024)

Changed paths:
M src/shared/bap.c

Log Message:
-----------
shared/bap: Add .set_state to bt_bap_stream_ops

This enables different code paths for each stream type e.g unicast vs
broadcast.


Commit: 6dafe901a2bae49048968872e0854cc47cfec45b
https://github.com/bluez/bluez/commit/6dafe901a2bae49048968872e0854cc47cfec45b
Author: Luiz Augusto von Dentz <[email protected]>
Date: 2024-02-08 (Thu, 08 Feb 2024)

Changed paths:
M src/shared/bap.c

Log Message:
-----------
shared/bap: Make bt_bap_ref_safe check if the instance is attached

This makes bt_bap_ref_safe check that bap instance is part of sessions
list which means it is attached/valid.


Commit: c1851987ca2c6e41d1e0e166e959b754e369c254
https://github.com/bluez/bluez/commit/c1851987ca2c6e41d1e0e166e959b754e369c254
Author: Luiz Augusto von Dentz <[email protected]>
Date: 2024-02-08 (Thu, 08 Feb 2024)

Changed paths:
M src/shared/bap.c

Log Message:
-----------
shared/bap: Fix crash due to selecting ucast ops for bcast stream

The stream ops is based on PAC type not the stream type.


Compare: https://github.com/bluez/bluez/compare/5135613ce057...c1851987ca2c