zephyr/subsys/bluetooth/controller
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
..
coex Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
crypto
flash
hal Bluetooth: Controller: Refactor isr_ecb and unit testing 2025-01-01 02:04:33 +01:00
hci Bluetooth: Controller: Fix HCI command buffer allocation failure 2025-02-21 11:30:38 +00:00
include Bluetooth: Controller: Implement PAST support in ULL 2024-10-23 16:53:58 +02:00
ll_sw Bluetooth: Controller: Fix redundant reset of sync aux association 2025-02-17 15:47:36 +00:00
ticker Bluetooth: Controller: Fix reschedule for ticker that yield 2024-12-05 15:18:11 +01:00
util Bluetooth: Controller: Include mem and ecb in-system tests 2025-01-01 02:04:33 +01:00
CMakeLists.txt Bluetooth: Controller: Implement Periodic Sync Procedure 2024-10-23 16:53:58 +02:00
Kconfig Bluetooth: Controller: Fix HCI command buffer allocation failure 2025-02-21 11:30:38 +00:00
Kconfig.df
Kconfig.dtm
Kconfig.ll_sw_split Bluetooth: Rename BLE to Bluetooth (LE) where applicable 2025-02-12 12:24:18 +01:00