zephyr/subsys/bluetooth/host
Rubin Gerritsen 569d988585 Bluetooth: ISO: Don't call LE Create Conn Cancel on ISO disconnect
When calling `bt_iso_chan_disconnect()` while the channel is
connecting, the host should simply use HCI Disconnect.

Note: For the peripheral it is not allowed to call HCI Disconnect
on a CIS after it has accepted the CIS request, but before it has
received the CIS established event. The implementation in this
commit does not fix this case. In that case the controller will
return an error code.

Also, this commit does not handle the events following the
HCI Disconnect correctly.
In this particular case, two events are raised by the controller.
See Core_v5.4, Vol 6, Part D, Figure 6.51.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
2023-08-18 10:13:36 +02:00
..
a2dp_internal.h
a2dp.c
addr_internal.h
addr.c Bluetooth: Host: Fix bt_addr_from_str for str starting with ':' 2023-06-05 08:31:06 -04:00
adv.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
adv.h
aes_ccm.c
at.c
at.h
att_internal.h Bluetooth: att: Remove unused bt_att_free_tx_meta_data function 2023-07-24 09:09:44 +00:00
att.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
avdtp_internal.h
avdtp.c
br.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
br.h
buf.c Bluetooth: att: re-use REQ buf for RSP 2023-08-04 15:06:05 +02:00
CMakeLists.txt
conn_internal.h Bluetooth: att: re-use REQ buf for RSP 2023-08-04 15:06:05 +02:00
conn.c Bluetooth: ISO: Don't call LE Create Conn Cancel on ISO disconnect 2023-08-18 10:13:36 +02:00
crypto.c
crypto.h
data.c
direction_internal.h
direction.c bluetooth: host: add checks for connection types 2023-07-05 09:15:48 +02:00
ecc.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
ecc.h bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
gatt_internal.h
gatt.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
hci_common.c
hci_core.c Bluetooth: att: re-use REQ buf for RSP 2023-08-04 15:06:05 +02:00
hci_core.h Bluetooth: id: Keep RPA as bt_addr_t 2023-05-12 10:55:50 +03:00
hci_ecc.c
hci_ecc.h
hci_raw_internal.h
hci_raw.c Bluetooth: hci_raw: Fix a LOG_ERR message 2023-04-28 10:33:18 -05:00
hfp_hf.c
hfp_internal.h
id.c Bluetooth: adv: add USE_NRPA advertising option 2023-07-25 10:47:37 +02:00
id.h
iso_internal.h
iso.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
Kconfig Bluetooth: Host: Introduce BT_CONN_PARAM_ANY 2023-07-14 09:40:52 +00:00
Kconfig.gatt Bluetooth: Host: Introduce BT_CONN_PARAM_ANY 2023-07-14 09:40:52 +00:00
Kconfig.l2cap Bluetooth: Mesh: Reduce BT_L2CAP_TX_MTU for mesh to 33 2023-06-29 10:05:03 +00:00
keys_br.c Bluetooth: Host: Use custom API for Bluetooth settings 2023-06-17 07:58:07 -04:00
keys.c Bluetooth: Host: Use custom API for Bluetooth settings 2023-06-17 07:58:07 -04:00
keys.h
l2cap_br.c iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
l2cap_internal.h iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
l2cap.c Bluetooth: l2cap: add debug print for EATT 2023-08-04 15:06:05 +02:00
long_wq.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
long_wq.h
monitor.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
monitor.h
rfcomm_internal.h
rfcomm.c
scan.c bluetooth: host: add checks for connection types 2023-07-05 09:15:48 +02:00
scan.h
sdp_internal.h
sdp.c
settings.c Bluetooth: Host: Use custom API for Bluetooth settings 2023-06-17 07:58:07 -04:00
settings.h Bluetooth: Host: Use custom API for Bluetooth settings 2023-06-17 07:58:07 -04:00
smp_null.c
smp.c bluetooth: fixes shadow variables 2023-08-17 13:00:09 +02:00
smp.h
ssp.c bluetooth: host: add checks for connection types 2023-07-05 09:15:48 +02:00
ssp.h
testing.c
testing.h
uuid.c