Commits
| Commit | Message | Author | Age | Changes |
| bbf19828 | Fix crash in iov_append_ltv function Fix function iov_append_ltv crashes because is not reallocating memory Use util_ltv_push from util.c [bluetooth]# [NEW] Endpoint /org/bluez/hci0/pac_bcast0 [bluetooth]# Endpoint /local/endpoint/ep0 registered endpoint.config /org/bluez/hci0/pac_bcast0 /local/endpoint/ep0 48_4_1 [/local/endpoint/ep0] BIG (auto/value): 0 [/local/endpoint/ep0] Enter channel location (value/no): 3 ================================================================= ==80806==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000a8ba at pc 0x561971611e0e bp 0x7ffd45ab1f00 sp 0x7ffd45ab1ef0 WRITE of size 1 at 0x60200000a8ba thread T0 0x561971611e0d in put_u8 src/shared/util.h:254 0x561971611e0d in util_iov_push_u8 src/shared/util.c:534 0x5619715c28f0 in iov_append_ltv client/player.c:3565 0x5619715c28f0 in config_endpoint_channel_location client/player.c:3593 0x5619716226ce in bt_shell_release_prompt src/shared/shell.c:744 0x561971623087 in rl_handler src/shared/shell.c:769 | Silviu Florian Barbulescu | 1 year ago | 1 file, +1, -17 |
| b8ad3490 | input/device: Force UHID_DESTROY on error If we cannot sent a message back to the device destroy the UHID device since it is likely that the driver is trying to reach the remote device which is no longer connected. | Luiz Augusto von Dentz | 1 year ago | 1 file, +36, -29 |
| 6c039398 | main.conf: Introduce GATT.Client option General.ReverseServiceDiscovery option is responsible for two different things: 1. It disables SDP reverse discovering. As a side effect, some BR/EDR profiles cannot operate properly. E.g. AVRCP-target profile needs SDP results to determine the peer's AVRCP version. 2. It disables GATT-client creation back to the GATT connection initiator. It may be useful for peripheral devices, especially if the peer doesn't expect them to connect back (and currently some IOS versions don't). This behavior was introduced in 8de73cd12 ("main.conf: Make ReverseServiceDiscovery work with LE") For peripheral devices implementing only A2DP-sink, AVRCP-target, and GATT profiles (e.g. BT loudspeakers), it may be useful to disable GATT-client functionality, but still have SDP reverse discovering. Unfortunately, splitting the General.ReverseServiceDiscovery option into two different options will break backward compatibility on the configuration file level. So a new configuration option has been introduced in addition to the old one. | Sergey Bobrenok | 1 year ago | 4 files, +14, -1 |
| e96a7fdd | client/player: Use util_iov_append instead of iov_append util_iov_append has been recently created. This implementation allocates new memory for the appended data, while the old version of iov_append from client/player.c did not. This could lead to crashes in some scenarios, such as Unicast. | Vlad Pruteanu | 1 year ago | 1 file, +10, -25 |
| 060e3dd6 | shared/bap: Use util_iov_append instead of iov_append Use the newly created util_iov_append function from src/shared/bap.c. | Vlad Pruteanu | 1 year ago | 1 file, +5, -11 |
| 9fc5f9e0 | shared/util: Add util_iov_append function Currently iov_append is defined in 2 places, client/player.c and src/shared/bap.c. The player.c implementation is faulty as it does not allocate additional memory for the data that it appends to the original iovec. This can cause buffer overflows such as the one attached at the end of this message, which was discovered while running an Unicast setup. Therefore, the implementation from src/shared/bap.c was used to create util_iov_append as it allocates new memory appropriately. ==131878==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000059dda at pc 0x7feee2e70ea3 bp 0x7ffd415773f0 sp 0x7ffd41576b98 WRITE of size 6 at 0x602000059dda thread T0 0 0x7feee2e70ea2 in __interceptor_memcpy ../../../../src/libsanitizer /sanitizer_common/sanitizer_common_interceptors.inc:899 1 0x5579661314aa in memcpy /usr/include/x86_64-linux-gnu/bits/ string_fortified.h:29 2 0x5579661314aa in iov_append client/player.c:2120 3 0x557966132169 in endpoint_select_properties_reply client/player.c:2191 4 0x557966132a6f in endpoint_select_properties client/player.c:2268 5 0x55796616e0b4 in process_message gdbus/object.c:246 | Vlad Pruteanu | 1 year ago | 2 files, +7, -0 |
| c04b96dd | a2dp: fix setup->err use-after-free setup->err is set to values that either are on stack of avdtp.c routines, obtained from callbacks, or allocated on heap. This is inconsistent, and use-after-free in some cases. Fix by always allocating setup->err ourselves, copying any values obtained from callbacks. Add setup_error_set/init and do all setup->err manipulation via them. Fixes crash: ==994225==ERROR: AddressSanitizer: stack-use-after-return READ of size 1 at 0x7f15ee5189c0 thread T0 #0 0x445724 in avdtp_error_category profiles/audio/avdtp.c:657 #1 0x41e59e in error_to_errno profiles/audio/a2dp.c:303 #2 0x42bb23 in a2dp_reconfigure profiles/audio/a2dp.c:1336 #3 0x7f15f1512798 in g_timeout_dispatch ... Address 0x7f15ee5189c0 is located in stack of thread T0 at offset 64 in frame #0 0x466b76 in avdtp_parse_rej profiles/audio/avdtp.c:3056 This frame has 2 object(s): [48, 49) 'acp_seid' (line 3058) [64, 72) 'err' (line 3057) <== Memory access at offset 64 is inside this variable | Pauli Virtanen | 1 year ago | 1 file, +39, -29 |
| 8060d120 | device: Fix device_is_connected checking for services being connected Change 44d3f67277f83983e1e9697eda7b9aeb40ca231d seems to have introduced quite a few bugs related to device_is_connected return true which prevents proper cleanup of connection. Fixes: https://github.com/bluez/bluez/issues/774 Fixes: https://github.com/bluez/bluez/issues/778 Fixes: https://github.com/bluez/bluez/issues/783 Fixes: https://github.com/bluez/bluez/issues/784 | Luiz Augusto von Dentz | 1 year ago | 1 file, +12, -10 |
| 84628e5d | client/player: Update minimum LC3 SDU size to accommodate 8_1 config Currently the minimum LC3 SDU size is set to 30B. Thus, if a source uses the 8_1_1 config which has a SDU size of 26 the sink's capabilities won't match and the appropriate endpoint won't be created. | Vlad Pruteanu | 1 year ago | 1 file, +8, -8 |
| 0959cb8f | test-bap: Fix 44.1 KHz tests 44.1 Khz where broken due to change to LC3_QOS_UCAST which now properly sets the framing, so this changes the test vectors of 44.1 Khz test to properly set it since those required framing. | Luiz Augusto von Dentz | 1 year ago | 1 file, +24, -20 |
| b5613181 | build: Fix make distcheck Add missing file src/shared/bap-defs.h. | Luiz Augusto von Dentz | 1 year ago | 1 file, +2, -1 |
| 3ad36787 | client/player: Cleanup broadcast QoS There is no need to setup broadcast QoS related to PA/BIG as bluetootd already sets default settings. | Luiz Augusto von Dentz | 1 year ago | 1 file, +35, -54 |
| fffa21d0 | bap: Add proper default for broadcast setup This adds proper default for broadcast setup so it doesn't fail to create the socket due to users not setting them. | Luiz Augusto von Dentz | 1 year ago | 1 file, +3, -0 |
| 25f42cfc | client/player: Use QOS macros from lc3.h to define presets This makes use of QOS macros for for lc3.h to define preset configuration and remove existing macros since they were just duplicates. | Luiz Augusto von Dentz | 1 year ago | 1 file, +169, -255 |
| 47df60e8 | shared/lc3: Add definition for broadcast configurations This adds defines for broadcast settings as they don't really match unicast when it comes to RTN and Latency. | Luiz Augusto von Dentz | 1 year ago | 3 files, +500, -115 |
| cae922c6 | client/player: Use macros from lc3.h to define presets This makes use of macros for for lc3.h to define preset configuration and remove existing macros since they were just duplicates. | Luiz Augusto von Dentz | 1 year ago | 1 file, +82, -212 |
| e35f4583 | client/player: Split unicast and broadcast presets Although their name matches unicast and broadcast are not actually the same when it comes to RTN and Max Latency, so this splits their settings into 2 presets tables and fix the values for broadcast. | Luiz Augusto von Dentz | 1 year ago | 1 file, +110, -5 |
| f5fecf03 | test-uhid: Test bt_uhid functions This tests bt_uhid_create, bt_uhid_input and bt_uhid_destroy instead of directly submitting UHID_CREATE, UHID_INPUT and UHID_DESTROY. | Luiz Augusto von Dentz | 1 year ago | 1 file, +24, -11 |
| c0c9e462 | input/device: Use bt_uhid functions This makes use of bt_uhid function instead of directly submitting events directly using bt_uhid_send. Fixes: https://github.com/bluez/bluez/issues/771 | Luiz Augusto von Dentz | 1 year ago | 1 file, +22, -71 |
| 256d0b59 | hog-lib: Use bt_uhid functions This makes use of bt_uhid function instead of directly submitting events directly using bt_uhid_send. | Luiz Augusto von Dentz | 1 year ago | 1 file, +25, -143 |
| 92ed637a | shared/uhid: Add dedicated functions for each UHID opcode This adds bt_uhid_create which uses UHID_CREATE2 and tracks progress of when the device is ready to receive events and in the meantime queues them while waiting for UHID_START and other dedicated functions for each UHID opcode so users don't need to build each command manually. | Luiz Augusto von Dentz | 1 year ago | 2 files, +221, -4 |
| c9dddb64 | shared/bap: fix setting io on linked stream Fix the second bap_stream_set_io call to set the io on the linked transport, as it's clearly meant to. Fixes sending duplicate stream stop/start requests. bluetoothd[588207]: < ACL Data TX: Handle 2048 flags 0x00 dlen 11 #492 [hci1] ATT: Write Command (0x52) len 6 Handle: 0x0098 Type: ASE Control Point (0x2bc6) Data: 04020505 Opcode: Receiver Start Ready (0x04) Number of ASE(s): 2 ASE: #0 ASE ID: 0x05 ASE: #1 ASE ID: 0x05 | Pauli Virtanen | 1 year ago | 1 file, +1, -1 |
| a23239f5 | mgmt-tester: Fix eir name length related tests According to Section 1.2 of Core Specification Supplement Part A the complete or short name strings are defined as utf8s, which should not include the trailing NULL for variable length array as defined in Core Specification Vol1 Part E Section 2.9.3. This patch remove the trailing NULL in expected packets, and update the lengths accordingly, to be in sync with Kernel patch "Bluetooth: Fix eir name length" | Frédéric Danis | 1 year ago | 1 file, +32, -34 |
| 9e9f079e | client: Add scripts to start broadcast source/sink This adds sample bluetoothctl scripts for the broadcast source/sink scenarios. The broadcast-source.bt script does the full setup: It registers a broadcast source endpoint, with supported locations as FL/FR and media context supported. It then configures the endpoint to create a stereo media stream, for the BIG handle 1. The transport is also acquired. The broadcast-sink.bt script registers a broadacast sink endpoint, supporting FL/FR locations and the media context. It also starts scanning, and the user is responsible to detect sources and select which endpoint to config. | Iulia Tanasescu | 1 year ago | 2 files, +18, -0 |
| fcbea6f3 | shared/shell: Add fixes for the init script scenario This adds some fixes to the scenario when the shell is run with the -i/--init-script command line option. In bt_shell_dequeue_exec, if a prompt was released with the current line, all other prompts, if any left, should also try to be released. If no other prompts are available, the next line should be executed on bt_shell_noninteractive_quit. In bt_shell_prompt_input, if data is already available in data.queue, execution should continue and the prompt should be released with the input. | Iulia Tanasescu | 1 year ago | 1 file, +16, -1 |
| 32e9d15a | client/adv_monitor: Remove shell quit from adv_monitor_register_app In adv_monitor, adv_monitor_register_app is called when an advertising monitor manager proxy has been added, when a new adapter is added. This commit removes bt_shell_noninteractive_quit from this function, since it causes the shell to exit without a user command having executed. | Iulia Tanasescu | 1 year ago | 1 file, +4, -4 |
| 352e7526 | client/gatt: Quit shell after user input has been processed Inside gatt_register_service and gatt_register_chrc, bt_shell_noninteractive_quit should be called after the input was processed. | Iulia Tanasescu | 1 year ago | 1 file, +5, -4 |
| aa7a8146 | bluetooth: Add BT_ISO_SYNC_TIMEOUT This defines BT_ISO_SYNC_TIMEOUT(20 sec) which shall be considered the default sync_timeout and make all instance previously hardcoding a value to use it. | Luiz Augusto von Dentz | 1 year ago | 4 files, +9, -7 |
| 19f8fcdc | Release 5.73 | Marcel Holtmann | 1 year ago | 2 files, +9, -1 |
| 17cd5563 | build: Update library version | Marcel Holtmann | 1 year ago | 1 file, +1, -1 |
| 25507ba0 | build: Add missing binaries to .gitignore | Marcel Holtmann | 1 year ago | 1 file, +2, -0 |
| 2da45fc7 | test-bap: Add STR sink tests 4.10.1 Unicast Client Streaming – 1 Unicast Server, 1 Stream, 1 CIS – LC3 (Page 80) Test Purpose: Verify that a Unicast Client IUT can stream audio data over one unicast Audio Stream to or from a Unicast Server. Pass verdict: If the IUT is in the Audio Sink role, the IUT receives SDUs with a zero or more length that contains LC3-encoded data formatted using the LC3 Media Packet format (defined in [3] Section 4.2). Test Summary ------------ BAP/UCL/STR/BV-001-C [UCL, AC 2, LC3 8_1_1] Passed BAP/UCL/STR/BV-002-C [UCL, AC 10, LC3 8_1_1] Passed BAP/UCL/STR/BV-003-C [UCL, AC 2, LC3 8_2_1] Passed BAP/UCL/STR/BV-004-C [UCL, AC 10, LC3 8_2_1] Passed BAP/UCL/STR/BV-005-C [UCL, AC 2, LC3 16_1_1] Passed BAP/UCL/STR/BV-006-C [UCL, AC 10, LC3 16_1_1] Passed BAP/UCL/STR/BV-007-C [UCL, AC 2, LC3 16_2_1] Passed BAP/UCL/STR/BV-008-C [UCL, AC 10, LC3 16_2_1] Passed BAP/UCL/STR/BV-009-C [UCL, AC 2, LC3 24_1_1] Passed BAP/UCL/STR/BV-010-C [UCL, AC 10, LC3 24_1_1] Passed BAP/UCL/STR/BV-011-C [UCL, AC 2, LC3 24_2_1] Passed BAP/UCL/STR/BV-012-C [UCL, AC 10, LC3 24_2_1] Passed BAP/UCL/STR/BV-013-C [UCL, AC 2, LC3 32_1_1] Passed BAP/UCL/STR/BV-014-C [UCL, AC 10, LC3 32_1_1] Passed BAP/UCL/STR/BV-015-C [UCL, AC 2, LC3 32_2_1] Passed BAP/UCL/STR/BV-016-C [UCL, AC 10, LC3 32_2_1] Passed BAP/UCL/STR/BV-017-C [UCL, AC 2, LC3 441_1_1] Passed BAP/UCL/STR/BV-018-C [UCL, AC 10, LC3 441_1_1] Passed BAP/UCL/STR/BV-019-C [UCL, AC 2, LC3 44_2_1] Passed BAP/UCL/STR/BV-020-C [UCL, AC 10, LC3 44_2_1] Passed BAP/UCL/STR/BV-021-C [UCL, AC 2, LC3 48_1_1] Passed BAP/UCL/STR/BV-022-C [UCL, AC 10, LC3 48_1_1] Passed BAP/UCL/STR/BV-023-C [UCL, AC 2, LC3 48_2_1] Passed BAP/UCL/STR/BV-024-C [UCL, AC 10, LC3 48_2_1] Passed BAP/UCL/STR/BV-025-C [UCL, AC 2, LC3 48_3_1] Passed BAP/UCL/STR/BV-026-C [UCL, AC 10, LC3 48_3_1] Passed BAP/UCL/STR/BV-027-C [UCL, AC 2, LC3 48_4_1] Passed BAP/UCL/STR/BV-028-C [UCL, AC 10, LC3 48_4_1] Passed BAP/UCL/STR/BV-029-C [UCL, AC 2, LC3 48_5_1] Passed BAP/UCL/STR/BV-030-C [UCL, AC 10, LC3 48_5_1] Passed BAP/UCL/STR/BV-031-C [UCL, AC 2, LC3 48_6_1] Passed BAP/UCL/STR/BV-032-C [UCL, AC 10, LC3 48_6_1] Passed BAP/UCL/STR/BV-033-C [UCL, SRC, AC 1, LC3 8_1_1] Passed BAP/UCL/STR/BV-034-C [UCL, SRC, AC 4, LC3 8_1_1] Passed BAP/UCL/STR/BV-035-C [UCL, SRC, AC 1, LC3 8_2_1] Passed BAP/UCL/STR/BV-036-C [UCL, SRC, AC 4, LC3 8_2_1] Passed BAP/UCL/STR/BV-037-C [UCL, SRC, AC 1, LC3 16_1_1] Passed BAP/UCL/STR/BV-038-C [UCL, SRC, AC 4, LC3 16_1_1] Passed BAP/UCL/STR/BV-039-C [UCL, SRC, AC 1, LC3 16_2_1] Passed BAP/UCL/STR/BV-040-C [UCL, SRC, AC 4, LC3 16_2_1] Passed BAP/UCL/STR/BV-041-C [UCL, SRC, AC 1, LC3 24_1_1] Passed BAP/UCL/STR/BV-042-C [UCL, SRC, AC 4, LC3 24_1_1] Passed BAP/UCL/STR/BV-043-C [UCL, SRC, AC 1, LC3 24_2_1] Passed BAP/UCL/STR/BV-044-C [UCL, SRC, AC 4, LC3 24_2_1] Passed BAP/UCL/STR/BV-045-C [UCL, SRC, AC 1, LC3 32_1_1] Passed BAP/UCL/STR/BV-046-C [UCL, SRC, AC 4, LC3 32_1_1] Passed BAP/UCL/STR/BV-047-C [UCL, SRC, AC 1, LC3 32_2_1] Passed BAP/UCL/STR/BV-048-C [UCL, SRC, AC 4, LC3 32_2_1] Passed BAP/UCL/STR/BV-049-C [UCL, SRC, AC 1, LC3 44_1_1] Passed BAP/UCL/STR/BV-050-C [UCL, SRC, AC 4, LC3 44_1_1] Passed BAP/UCL/STR/BV-051-C [UCL, SRC, AC 1, LC3 44_2_1] Passed BAP/UCL/STR/BV-052-C [UCL, SRC, AC 4, LC3 44_2_1] Passed BAP/UCL/STR/BV-053-C [UCL, SRC, AC 1, LC3 48_1_1] Passed BAP/UCL/STR/BV-054-C [UCL, SRC, AC 4, LC3 48_1_1] Passed BAP/UCL/STR/BV-055-C [UCL, SRC, AC 1, LC3 48_2_1] Passed BAP/UCL/STR/BV-056-C [UCL, SRC, AC 4, LC3 48_2_1] Passed BAP/UCL/STR/BV-057-C [UCL, SRC, AC 1, LC3 48_3_1] Passed BAP/UCL/STR/BV-058-C [UCL, SRC, AC 4, LC3 48_3_1] Passed BAP/UCL/STR/BV-059-C [UCL, SRC, AC 1, LC3 48_4_1] Passed BAP/UCL/STR/BV-060-C [UCL, SRC, AC 4, LC3 48_4_1] Passed BAP/UCL/STR/BV-061-C [UCL, SRC, AC 1, LC3 48_5_1] Passed BAP/UCL/STR/BV-062-C [UCL, SRC, AC 4, LC3 48_5_1] Passed BAP/UCL/STR/BV-063-C [UCL, SRC, AC 1, LC3 48_6_1] Passed BAP/UCL/STR/BV-064-C [UCL, SRC, AC 4, LC3 48_6_1] Passed BAP/UCL/STR/BV-065-C [UCL, AC 2, LC3 8_1_2] Passed BAP/UCL/STR/BV-066-C [UCL, AC 10, LC3 8_1_2] Passed BAP/UCL/STR/BV-067-C [UCL, AC 2, LC3 8_2_2] Passed BAP/UCL/STR/BV-068-C [UCL, AC 10, LC3 8_2_2] Passed BAP/UCL/STR/BV-069-C [UCL, AC 2, LC3 16_1_2] Passed BAP/UCL/STR/BV-070-C [UCL, AC 10, LC3 16_1_2] Passed BAP/UCL/STR/BV-071-C [UCL, AC 2, LC3 16_2_2] Passed BAP/UCL/STR/BV-072-C [UCL, AC 10, LC3 16_2_2] Passed BAP/UCL/STR/BV-073-C [UCL, AC 2, LC3 24_1_2] Passed BAP/UCL/STR/BV-074-C [UCL, AC 10, LC3 24_1_2] Passed BAP/UCL/STR/BV-075-C [UCL, AC 2, LC3 24_2_2] Passed BAP/UCL/STR/BV-076-C [UCL, AC 10, LC3 24_2_2] Passed BAP/UCL/STR/BV-077-C [UCL, AC 2, LC3 32_1_2] Passed BAP/UCL/STR/BV-078-C [UCL, AC 10, LC3 32_1_2] Passed BAP/UCL/STR/BV-079-C [UCL, AC 2, LC3 32_2_2] Passed BAP/UCL/STR/BV-080-C [UCL, AC 10, LC3 32_2_2] Passed BAP/UCL/STR/BV-081-C [UCL, AC 2, LC3 44_1_2] Passed BAP/UCL/STR/BV-082-C [UCL, AC 10, LC3 44_1_2] Passed BAP/UCL/STR/BV-083-C [UCL, AC 2, LC3 44_2_2] Passed BAP/UCL/STR/BV-084-C [UCL, AC 10, LC3 44_2_2] Passed BAP/UCL/STR/BV-085-C [UCL, AC 2, LC3 48_1_2] Passed BAP/UCL/STR/BV-086-C [UCL, AC 10, LC3 48_1_2] Passed BAP/UCL/STR/BV-087-C [UCL, AC 2, LC3 48_2_2] Passed BAP/UCL/STR/BV-088-C [UCL, AC 10, LC3 48_2_2] Passed BAP/UCL/STR/BV-089-C [UCL, AC 2, LC3 48_3_2] Passed BAP/UCL/STR/BV-090-C [UCL, AC 10, LC3 48_3_2] Passed BAP/UCL/STR/BV-091-C [UCL, AC 2, LC3 48_4_2] Passed BAP/UCL/STR/BV-092-C [UCL, AC 10, LC3 48_4_2] Passed BAP/UCL/STR/BV-093-C [UCL, AC 2, LC3 48_5_2] Passed BAP/UCL/STR/BV-094-C [UCL, AC 10, LC3 48_5_2] Passed BAP/UCL/STR/BV-095-C [UCL, AC 2, LC3 48_6_2] Passed BAP/UCL/STR/BV-096-C [UCL, AC 10, LC3 48_6_2] Passed BAP/UCL/STR/BV-097-C [UCL, SRC, AC 1, LC3 8_1_2] Passed BAP/UCL/STR/BV-098-C [UCL, SRC, AC 4, LC3 8_1_2] Passed BAP/UCL/STR/BV-099-C [UCL, SRC, AC 1, LC3 8_2_2] Passed BAP/UCL/STR/BV-100-C [UCL, SRC, AC 4, LC3 8_2_2] Passed BAP/UCL/STR/BV-101-C [UCL, SRC, AC 1, LC3 16_1_2] Passed BAP/UCL/STR/BV-102-C [UCL, SRC, AC 4, LC3 16_1_2] Passed BAP/UCL/STR/BV-103-C [UCL, SRC, AC 1, LC3 16_2_2] Passed BAP/UCL/STR/BV-104-C [UCL, SRC, AC 4, LC3 16_2_2] Passed BAP/UCL/STR/BV-105-C [UCL, SRC, AC 1, LC3 24_1_2] Passed BAP/UCL/STR/BV-106-C [UCL, SRC, AC 4, LC3 24_1_2] Passed BAP/UCL/STR/BV-107-C [UCL, SRC, AC 1, LC3 24_2_2] Passed BAP/UCL/STR/BV-108-C [UCL, SRC, AC 4, LC3 24_2_2] Passed BAP/UCL/STR/BV-109-C [UCL, SRC, AC 1, LC3 32_1_2] Passed BAP/UCL/STR/BV-110-C [UCL, SRC, AC 4, LC3 32_1_2] Passed BAP/UCL/STR/BV-111-C [UCL, SRC, AC 1, LC3 32_2_2] Passed BAP/UCL/STR/BV-112-C [UCL, SRC, AC 4, LC3 32_2_2] Passed BAP/UCL/STR/BV-113-C [UCL, SRC, AC 1, LC3 44_1_2] Passed BAP/UCL/STR/BV-114-C [UCL, SRC, AC 4, LC3 44_1_2] Passed BAP/UCL/STR/BV-115-C [UCL, SRC, AC 1, LC3 44_2_2] Passed BAP/UCL/STR/BV-116-C [UCL, SRC, AC 4, LC3 44_2_2] Passed BAP/UCL/STR/BV-117-C [UCL, SRC, AC 1, LC3 48_1_2] Passed BAP/UCL/STR/BV-118-C [UCL, SRC, AC 4, LC3 48_1_2] Passed BAP/UCL/STR/BV-119-C [UCL, SRC, AC 1, LC3 48_2_2] Passed BAP/UCL/STR/BV-120-C [UCL, SRC, AC 4, LC3 48_2_2] Passed BAP/UCL/STR/BV-121-C [UCL, SRC, AC 1, LC3 48_3_2] Passed BAP/UCL/STR/BV-122-C [UCL, SRC, AC 4, LC3 48_3_2] Passed BAP/UCL/STR/BV-123-C [UCL, SRC, AC 1, LC3 48_4_2] Passed BAP/UCL/STR/BV-124-C [UCL, SRC, AC 4, LC3 48_4_2] Passed BAP/UCL/STR/BV-121-C [UCL, SRC, AC 1, LC3 48_5_2] Passed BAP/UCL/STR/BV-122-C [UCL, SRC, AC 4, LC3 48_5_2] Passed BAP/UCL/STR/BV-123-C [UCL, SRC, AC 1, LC3 48_6_2] Passed BAP/UCL/STR/BV-124-C [UCL, SRC, AC 4, LC3 48_6_2] Passed Total: 128, Passed: 128 (100.0%), Failed: 0, Not Run: 0 | Luiz Augusto von Dentz | 1 year ago | 1 file, +2466, -6 |
| a070ceac | shared/lc3: Add definitions for Audio Configurations This adds defines for Audio Configurations so it can be used for upcoming tests. | Luiz Augusto von Dentz | 1 year ago | 1 file, +400, -80 |
| 0bf9e645 | shared/shell: Fix heap use after free on exit Set the value for data.inputs and data.queue queues to NULL after freeing, so that further processes won't use already freed memory | Andrei Istodorescu | 1 year ago | 1 file, +3, -1 |
| 7665fb5d | Don't install conf and state dir on systemd The bluetooth.service file already specify the State and Configuration directories with the correct modes, which guarantee they will be available (with proper permissions) when bluetoohd starts. Not installing those helps implementing the "Hermetic /usr" pattern (TL;DR: '/usr' contains everything necessary to boostrap a working system) Handling this in upstream bluez (rather than in distribution packaging scripts) avoid duplication of efforts between distros. Links: https://0pointer.net/blog/fitting-everything-together.html | Max Gautier | 1 year ago | 1 file, +5, -0 |
| 3eba64ba | device: Update local and remote CSRK on management event Currently the local and remote CSRK keys are only loaded to device object from storage during start. Those keys are updated on MGMT_EV_NEW_CSRK event only in adapter object, but saved both in adapter and device objects. Those keys should be updated on management event to be able to perform signed write for GAP/SEC/CSIGN/BV-01-C and GAP/SEC/CSIGN/BV-02-C. This commits updates the keys on management event in the device object and move their storage to device object only. | Frédéric Danis | 1 year ago | 3 files, +52, -76 |
| 71f0a1e8 | gatt-server: Add support for signed write command GAP/SEC/CSIGN/BV-02-C request the ability to check that signed write has been performed successfully. | Frédéric Danis | 1 year ago | 1 file, +12, -1 |
| d5a9195a | build: Fix distcheck This fixes the following errors: /usr/bin/mkdir -p '/backend' /usr/bin/mkdir: cannot create directory ‘/backend’: Permission denied make[3]: *** [Makefile:4768: install-cupsPROGRAMS] Error 1 | Luiz Augusto von Dentz | 1 year ago | 2 files, +12, -2 |
| 9cc8b97b | build: obexd: Fix make distcheck This fixes the following error: /usr/bin/install: cannot remove '/usr/share/dbus-1/services/org.bluez.obex.service': Permission denied | Luiz Augusto von Dentz | 1 year ago | 1 file, +3, -4 |
| cb7375fb | client: Remove Pygments dependency from manpage This patch removes the Pygments dependency from btmon .rst file. When the code-block type is specified, the rst2man throws a warning asking for Pygments package. | Luiz Augusto von Dentz | 1 year ago | 1 file, +1, -1 |
| 0d82dd20 | shared/bap: Remove bt_bap_stream_bcast_new This is now handled internally by bt_bap_stream_new by detecting if an ATT session has been attached. | Luiz Augusto von Dentz | 1 year ago | 3 files, +24, -67 |
| 29fe7bd0 | bap: Do PA Sync for each BAP Broadcast source discovered After discovering a BAP Broadcast Source do a short PA sync first to learn the BASE. After discovering the BASE check how many BISes are matching the sink capabilities and create endpoints for them. Allow user to configure one endpoint using "SetConfiguration" causing BIG synchronization to the corresponding BIS; also this results in creating a stream and the corresponding transport. | Andrei Istodorescu | 1 year ago | 1 file, +410, -246 |
| d2fa46e0 | shared/bap: Add API to add an observed BIS Add API to add a PAC for each observed BIS that is supported by the local PACS data. Each BIS observed capabilities LTV is compared to the local capabilities and when we have a full LTVs match a PAC record is created for that BIS. Also a MediaEndpoint is registered over DBUS and the stream can be enabled using the SetConfiguration DBUS call. | Andrei Istodorescu | 1 year ago | 2 files, +268, -5 |
| 2ec513fc | shared/bap: Do stream configuration in bap_bcast_config Stream configuration for BAP broadcast streams should be done inside bap_bcast_config and not when setting the user data. | Andrei Istodorescu | 1 year ago | 1 file, +2, -9 |
| 98aba4aa | shared/bap: Update local PACS for broadcast sink also | Andrei Istodorescu | 1 year ago | 1 file, +7, -0 |
| 7ec9a0f7 | shared/bap: Allow reading endpoint metadata and data Add utilitary functions to get endpoint metadata and data. | Andrei Istodorescu | 1 year ago | 2 files, +15, -1 |
| 3f7d81e9 | shared/util: Add push LTV utilitary function | Andrei Istodorescu | 1 year ago | 2 files, +13, -2 |
| 44d3f672 | device: Consider service state on device_is_connected This checks if there is any service connected on device_is_connected since some profiles maybe probed using advertising data which doesn't require a connection. | Luiz Augusto von Dentz | 1 year ago | 1 file, +12, -1 |
| ade2b975 | btdev: Fix not resetting big_handle on HCI_Reset HCI_Reset shall cleanup BIG state including if the handle has been set. | Luiz Augusto von Dentz | 1 year ago | 1 file, +4, -0 |
| 92f3ed18 | bap: Set generated BASE on all setups from the same BIG Set the BASE generated in BlueZ on all setups from the same BIG, and use defer to inform the kernel when to create the BIG. | Silviu Florian Barbulescu | 1 year ago | 1 file, +196, -16 |