[bluez/bluez] 890149: bap: Fix not setting SID for broadcast receiver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 890149c1fb56e36aae22918f2a68656a978fc2fd
      https://github.com/bluez/bluez/commit/890149c1fb56e36aae22918f2a68656a978fc2fd
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M profiles/audio/bap.c

  Log Message:
  -----------
  bap: Fix not setting SID for broadcast receiver

SID most be set otherwise 0x00 is assume which may not be what the
broadcast source is using over the air. but since we don't have access
to the SID of the advertisement in userspace mark de SID as invalid
(0xff) so the kernel fill it up while scanning when creating the PA
sync.


  Commit: 709aa00a1e502c434045f1fa2800391699ca0658
      https://github.com/bluez/bluez/commit/709aa00a1e502c434045f1fa2800391699ca0658
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2025-04-14 (Mon, 14 Apr 2025)

  Changed paths:
    M emulator/btdev.c

  Log Message:
  -----------
  btdev: Check for valid SID on BT_HCI_CMD_LE_PA_CREATE_SYNC


  Commit: e5a27a9c7b6881a1e11f57d6b10f66aed42246e6
      https://github.com/bluez/bluez/commit/e5a27a9c7b6881a1e11f57d6b10f66aed42246e6
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2025-04-14 (Mon, 14 Apr 2025)

  Changed paths:
    M emulator/btdev.c

  Log Message:
  -----------
  btdev: Fix not matching SID on le_pa_sync_estabilished

In order to estabilish a PA sync the advertising SID must match:

7.8.67. LE Periodic Advertising Create Sync command:

'The Advertising_SID parameter, if used, specifies the value that shall match
 the Advertising SID subfield in the ADI field of the received advertisement
 for it to be used to synchronize.'


  Commit: 7e67dc9dcb9e851b44e9c9510b9075ef9b37c4db
      https://github.com/bluez/bluez/commit/7e67dc9dcb9e851b44e9c9510b9075ef9b37c4db
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2025-04-15 (Tue, 15 Apr 2025)

  Changed paths:
    M tools/iso-tester.c

  Log Message:
  -----------
  iso-tester: Add test for SID=0xff

This adds the following test which is used to verify that when
application sets bc_sid to 0xff the kernel will attempt to scan for a
valid SID before attempting to create the PA sync:

ISO Broadcaster Receiver SID 0xff


  Commit: b4c5300f530477b197b309dd975207762fd7f405
      https://github.com/bluez/bluez/commit/b4c5300f530477b197b309dd975207762fd7f405
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2025-04-15 (Tue, 15 Apr 2025)

  Changed paths:
    M tools/iso-tester.c

  Log Message:
  -----------
  iso-tester: Test getpeername return SID

If test is not setting a valid SID (0xff) use getpeername to validate
the SID gets updated.


  Commit: 64e7377d455b7cd7653a0ef3dbddbbd0b3c6cab0
      https://github.com/bluez/bluez/commit/64e7377d455b7cd7653a0ef3dbddbbd0b3c6cab0
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2025-04-15 (Tue, 15 Apr 2025)

  Changed paths:
    M btio/btio.c

  Log Message:
  -----------
  btio: Add support to BT_IO_OPT_ISO_BC_SID to bt_io_get

This adds support for reading BT_IO_OPT_ISO_BC_SID using bt_io_get


  Commit: aedd7b936b7240614a5305a8039a402d2da335ea
      https://github.com/bluez/bluez/commit/aedd7b936b7240614a5305a8039a402d2da335ea
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2025-04-15 (Tue, 15 Apr 2025)

  Changed paths:
    M profiles/audio/bap.c
    M profiles/audio/bass.c
    M src/shared/bap.c
    M src/shared/bap.h

  Log Message:
  -----------
  bap: Add support for using SID for broadcast receiver

Broadcast receiver needs to set the SID of the advertisement, for now
that is done by using 0xff which indicates to the kernel to perform to
discover what is the actual SID in use over the air.


Compare: https://github.com/bluez/bluez/compare/f8e7bcfdfb83...aedd7b936b72

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux