zephyr/subsys/bluetooth/common
Vinayak Kariappa Chettimada d382fca6ff Bluetooth: Controller: Fix HCI command buffer allocation failure
Fix HCI command buffer allocation failure, that can cause
loss of Host Number of Completed Packets command.

Fail by rejecting the HCI Host Buffer Size command if the
required number of HCI command buffers are not allocated in
the Controller implementation.

When Controller to Host data flow control is supported in
the Controller only build, ensure that BT_BUF_CMD_TX_COUNT
is greater than or equal to (BT_BUF_RX_COUNT + Ncmd),
where Ncmd is supported maximum Num_HCI_Command_Packets in
the Controller implementation.

Relates to commit 81614307e9 ("Bluetooth: Add workaround
for no command buffer available")'.

Relates to commit 297f4f481f ("Bluetooth: Split HCI
command & event buffers to two pools").

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-02-21 11:30:38 +00:00
..
addr.c
assert.h
bt_settings_commit.h Bluetooth: Mesh: use settings priority feature 2025-01-14 00:00:56 +01:00
bt_shell_private.c bluetooth: shell: move bt_shell_private.c to common folder 2025-01-14 10:56:16 +01:00
bt_shell_private.h bluetooth: shell: move bt_shell_private.c to common folder 2025-01-14 10:56:16 +01:00
bt_str.c Bluetooth: Mark bt_<type>_err_to_str() APIs experimental 2024-07-11 13:11:59 -04:00
bt_str.h
CMakeLists.txt bluetooth: shell: move bt_shell_private.c to common folder 2025-01-14 10:56:16 +01:00
dummy.c Bluetooth: Host: Deprecate BT_BUF_ACL_RX_COUNT symbol 2024-11-27 10:30:59 +01:00
hci_common_internal.h Bluetooth: Controller: Fix HCI command buffer allocation failure 2025-02-21 11:30:38 +00:00
Kconfig Bluetooth: Controller: Fix HCI command buffer allocation failure 2025-02-21 11:30:38 +00:00
rpa.c
rpa.h