mbox series

[0/4] Bluetooth: ISO: Order PA/BIG sync commands

Message ID 20241101082339.4278-1-iulia.tanasescu@nxp.com (mailing list archive)
Headers show
Series Bluetooth: ISO: Order PA/BIG sync commands | expand

Message

Iulia Tanasescu Nov. 1, 2024, 8:23 a.m. UTC
If the Host issues the HCI_LE_Periodic_Advertising_Create_Sync
command while another is pending, the Controller shall return the
error code Command Disallowed (0x0C) (Bluetooth Core spec 5.3,
Vol 4, Part E, page 2493). The same applies for the HCI_LE_BIG_
Create_Sync command (Bluetooth Core spec 5.3, Vol 4, Part E,
page 2586).

This patch updates the way PA/BIG sync commands are handled, by
waiting for the previous command to complete before handling a
new one.

Iulia Tanasescu (4):
  Bluetooth: ISO: Do not emit LE PA Create Sync if previous is pending
  Bluetooth: ISO: Fix matching parent socket for BIS slave
  Bluetooth: ISO: Do not emit LE BIG Create Sync if previous is pending
  Bluetooth: ISO: Update hci_conn_hash_lookup_big for Broadcast slave

 include/net/bluetooth/hci.h      |   4 +-
 include/net/bluetooth/hci_core.h |  75 +++++++++++-
 net/bluetooth/hci_conn.c         | 204 +++++++++++++++++++++++--------
 net/bluetooth/hci_event.c        |  40 +++++-
 net/bluetooth/iso.c              |  24 +++-
 5 files changed, 290 insertions(+), 57 deletions(-)


base-commit: dff8a64238a3f951dbf0930bac915eec7cae8200

Comments

patchwork-bot+bluetooth@kernel.org Nov. 5, 2024, 2:10 p.m. UTC | #1
Hello:

This series was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Fri,  1 Nov 2024 10:23:35 +0200 you wrote:
> If the Host issues the HCI_LE_Periodic_Advertising_Create_Sync
> command while another is pending, the Controller shall return the
> error code Command Disallowed (0x0C) (Bluetooth Core spec 5.3,
> Vol 4, Part E, page 2493). The same applies for the HCI_LE_BIG_
> Create_Sync command (Bluetooth Core spec 5.3, Vol 4, Part E,
> page 2586).
> 
> [...]

Here is the summary with links:
  - [1/4] Bluetooth: ISO: Do not emit LE PA Create Sync if previous is pending
    https://git.kernel.org/bluetooth/bluetooth-next/c/763c133ff07b
  - [2/4] Bluetooth: ISO: Fix matching parent socket for BIS slave
    https://git.kernel.org/bluetooth/bluetooth-next/c/b6ac0f1db378
  - [3/4] Bluetooth: ISO: Do not emit LE BIG Create Sync if previous is pending
    https://git.kernel.org/bluetooth/bluetooth-next/c/6243e598bc64
  - [4/4] Bluetooth: ISO: Update hci_conn_hash_lookup_big for Broadcast slave
    https://git.kernel.org/bluetooth/bluetooth-next/c/ff3fd60725a0

You are awesome, thank you!