[bluez/bluez] 457343: shared/bap: check lpac type in bap_bcast_stream_new()

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

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 45734349087e909aa5cfb7149da2dd6c1d739bb9
      https://github.com/bluez/bluez/commit/45734349087e909aa5cfb7149da2dd6c1d739bb9
  Author: Pauli Virtanen <pav@xxxxxx>
  Date:   2025-06-09 (Mon, 09 Jun 2025)

  Changed paths:
    M src/shared/bap.c

  Log Message:
  -----------
  shared/bap: check lpac type in bap_bcast_stream_new()

bap_bcast_stream_new() shall refuse to create streams if lpac is not of
broadcast type.


  Commit: b39c37d2179ff63f4d2ced3de7065a4c6616faf5
      https://github.com/bluez/bluez/commit/b39c37d2179ff63f4d2ced3de7065a4c6616faf5
  Author: Magdalena Kasenberg <magdalena.kasenberg@xxxxxxxxxxx>
  Date:   2025-06-09 (Mon, 09 Jun 2025)

  Changed paths:
    M monitor/bt.h
    M monitor/packet.c

  Log Message:
  -----------
  monitor: Add support for decoding Channel Sounding

Add initial support for decoding commands and events of Channel
Sounding, a new feature introduced in Bluetooth Core Specification
Version 6.0 | Vol 1, Part A, Section 9 "Channel Sounding Using
Bluetooth Low Energy".

Testing:

To test the feature you need a hardware that supports Channel Sounding.
Channel Sounding can be tested using Nordic Semiconductor's sample
applications for the Initiator and Reflector roles, which are available
as part of the nRF Connect SDK and require an nRF54L15 development kit.
See tutorials:
https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/channel_sounding_ras_initiator/README.html
https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/channel_sounding_ras_reflector/README.html

Example output from btmon:
> HCI Event: LE Meta Event (0x3e) plen 250                        #102 7.954000
      LE CS Subevent Result (0x31)
        Connection handle: 0
        Config ID: 0
        Start ACL Conn Event Counter: 53
        Procedure Counter: 0
        Frequency Compensation: 49152
        Reference Power Level: 237
        Procedure Done Status: Partial results with more to follow for the CS procedure (0x01)
        Subevent Done Status: Partial results with more to follow for the CS subevent (0x01)
        Abort reason: 0x00
          Procedure: Report with no abort (0x00)
          Subevent: Report with no abort (0x00)
        Num Antenna Paths: 1
        Num Steps Reported: 22
        Steps data: [234]: 00e801024709000702f4000aa2f420022e0900d05df900d0edf820021009007251e400e27f001201100600ffe8f8ff01022d0900c5fd0200c7fd0220023c090029b11d0015911e2002030900bc002200e8effe1201030600ffe7f6ff01022b0900646f220041bf2120022c0900a75f23000820fe1202210900d93ee1001d80001202230900e00ee10000dfdf2001230600ffe71c0001023d090029d2fa00e24f0012021f0900c04d0100c18d022002050900674023005780232001050600ffe80f0001020e090077b0dc005c60dc20022209001f3eec00fcff01120000000000000f0003000005082800
        Step 0
          Mode: 0
          Channel: 3
          Step data len: 3
          Raw step data: [3]: 00e801
          Packet Quality: 0x00
            CS Access Address check is successful, and all bits match the expected sequence
            Bit errors: 0
          Packet RSSI: -24
          Packet Antenna: 1
...
        Step 3
          Mode: 2
          Channel: 71
          Step data len: 9
          Raw step data: [9]: 000702f4000aa2f420
          Antenna Permutation Index: 0
          Path 0
            PCT: 0xf40207
              I: 0x207
              Q: 0xf40
            Tone quality indicator: 0x00
              Tone quality is high (0x00)
              Not tone extension slot (0x00)
          Path 1
            PCT: 0xf4a20a
              I: 0x20a
              Q: 0xf4a
            Tone quality indicator: 0x20
              Tone quality is high (0x00)
              Tone extension slot; tone expected to be present (0x02)
...
        Step 6
          Mode: 1
          Channel: 16
          Step data len: 6
          Raw step data: [6]: 00ffe8f8ff01
          Packet Quality: 0x00
            CS Access Address check is successful, and all bits match the expected sequence
            Bit errors: 0
          Packet NADM: Unknown NADM (0xff)
          Packet RSSI: -24
          ToA_ToD: 0xfffffff8
          Packet Antenna: 1


Compare: https://github.com/bluez/bluez/compare/bbd10bb9bc5e...b39c37d2179f

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