zephyr/subsys/bluetooth/audio
Emil Gydesen 4b68043ebb Bluetooth: MPL: Replace busy bool with atomic
Replace the busy boolean flag with an atomic value.
This prevents any race conditions with the MPL implementation.
Modifies where the new atomic value is set and cleared
so that initialization gets to finish before allowing
any reads.

Due to how the MPL is structured, and how a select cannot
be rejected from OTS, this does not give a perfect solution.
Ideally we need a separate object per OTS object, rather than
a shared one, and/or the OTS implemenation would allow
us to reject a select if the object is not currently
available or ready.

This commit does not fix the above issues, as that is a
larger undertaking.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-09-16 20:18:39 +02:00
..
shell Bluetooth: ascs: Add dynamic ASE registration 2024-09-11 07:41:12 -04:00
aics_client.c Bluetooth: AICS: Replace bools with atomic 2024-09-04 09:54:05 +02:00
aics_internal.h Bluetooth: AICS: Replace bools with atomic 2024-09-04 09:54:05 +02:00
aics.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
ascs_internal.h Bluetooth: ascs: Add dynamic ASE registration 2024-09-11 07:41:12 -04:00
ascs.c Bluetooth: ascs: Add dynamic ASE registration 2024-09-11 07:41:12 -04:00
audio_internal.h Bluetooth: CAP: Fix dependency on BT_BAP_STREAM 2024-09-05 12:24:16 +01:00
audio.c Bluetooth: CAP: Fix dependency on BT_BAP_STREAM 2024-09-05 12:24:16 +01:00
bap_base.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
bap_broadcast_assistant.c Bluetooth: BAP: BA: Replace bools with atomic 2024-09-12 13:01:48 -04:00
bap_broadcast_sink.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
bap_broadcast_source.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
bap_endpoint.h Bluetooth: BAP: Add support for reconfiguring unicast group 2024-09-03 10:43:53 +02:00
bap_internal.h Bluetooth: ISO/BAP: Refactor BIS bitfield 2024-07-27 15:19:46 +03:00
bap_iso.c bluetooth: audio: fix typo 2024-06-25 10:27:23 -04:00
bap_iso.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
bap_scan_delegator.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
bap_stream.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
bap_stream.h Bluetooth: CAP: Fix dependency on BT_BAP_STREAM 2024-09-05 12:24:16 +01:00
bap_unicast_client_internal.h lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
bap_unicast_client.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
bap_unicast_server.c Bluetooth: ascs: Add dynamic ASE registration 2024-09-11 07:41:12 -04:00
bap_unicast_server.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
cap_acceptor.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
cap_commander.c Bluetooth: CAP: Fix dependency on BT_BAP_STREAM 2024-09-05 12:24:16 +01:00
cap_common.c Bluetooth: BAP: Unicast client Split start and connect 2024-06-03 15:42:33 +02:00
cap_initiator.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
cap_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
cap_stream.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
ccid_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
ccid.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
CMakeLists.txt Bluetooth: CAP: cap_common.c should only be included with ACL 2024-03-21 15:24:26 +01:00
codec.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
csip_crypto.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
csip_crypto.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
csip_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
csip_set_coordinator.c Bluetooth: CSIP: Set Coordinator: Replace bools with atomic 2024-09-12 14:48:47 +02:00
csip_set_member.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
gmap_client.c Bluetooth: GMAP: Replace busy bool with atomic 2024-09-11 14:00:09 -04:00
gmap_server.c Bluetooth: ascs: Add dynamic ASE registration 2024-09-11 07:41:12 -04:00
has_client.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
has_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
has.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
Kconfig Bluetooth: Audio: Remove empty Kconfig.bass 2024-05-30 16:49:06 -05:00
Kconfig.aics Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.ascs Bluetooth: ascs: Add dynamic ASE registration 2024-09-11 07:41:12 -04:00
Kconfig.bap kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
Kconfig.cap Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.csip kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
Kconfig.gmap Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.has kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
Kconfig.mcs kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
Kconfig.mctl Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.micp Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.mpl kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
Kconfig.pacs Bluetooth: PACS: Remove CONFIG_BT_PACS_{SNK,SRC}_CONTEXT 2023-09-22 09:21:53 +02:00
Kconfig.pbp Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.tbs Bluetooth: TBS: Add UTF8 requirement to Kconfigs 2024-09-05 12:24:07 +01:00
Kconfig.tmap Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.vcp Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
Kconfig.vocs Bluetooth: Audio: Upgrade from experimental to unstable 2024-05-17 14:33:39 +02:00
mcc_internal.h Bluetooth: MCC: Replace busy bool with atomic 2024-09-11 14:00:16 -04:00
mcc.c Bluetooth: MCC: Replace busy bool with atomic 2024-09-11 14:00:16 -04:00
mcs_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
mcs.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
media_proxy_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
media_proxy.c bluetooth: audio: fix typo 2024-06-25 10:27:23 -04:00
micp_internal.h Bluetooth: MICP: Replace busy bool with atomic 2024-09-12 14:48:40 +02:00
micp_mic_ctlr.c Bluetooth: MICP: Replace busy bool with atomic 2024-09-12 14:48:40 +02:00
micp_mic_dev.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
mpl_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
mpl.c Bluetooth: MPL: Replace busy bool with atomic 2024-09-16 20:18:39 +02:00
pacs_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
pacs.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
pbp.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
tbs_client.c Bluetooth: TBS: Replace busy bool with atomic 2024-09-12 14:48:23 +02:00
tbs_internal.h Bluetooth: TBS: Replace busy bool with atomic 2024-09-12 14:48:23 +02:00
tbs.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
tmap.c bluetooth: audio: fix typo 2024-06-25 10:27:23 -04:00
vcp_internal.h Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
vcp_vol_ctlr.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00
vcp_vol_rend.c LE Audio: add conn parameter for bt_vcp_vol_rend_cb 2024-08-20 14:45:35 +02:00
vocs_client.c Bluetooth: VOCS: Replace bools with atomic 2024-09-13 11:38:27 -05:00
vocs_internal.h Bluetooth: VOCS: Replace bools with atomic 2024-09-13 11:38:27 -05:00
vocs.c Bluetooth: Audio: Spring cleaning 2024-06-04 13:37:53 +02:00