zephyr/samples
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
..
application_development boards: samples: remove CONFIG_BUILD_NO_GAP_FILL=y and similar 2024-12-02 11:14:09 +01:00
arch twister: shell harness with commands alongside the harness_config 2025-02-14 19:14:38 +00:00
basic samples: blinky: add esp32s3_supermini overlay 2025-02-14 17:08:03 +01:00
bluetooth Bluetooth: Controller: Fix HCI command buffer allocation failure 2025-02-21 11:30:38 +00:00
boards dts: arm: nxp: RT10xx/11xx .dtsi Files: Remove flexram,bank-spec property 2025-02-20 06:04:46 +01:00
cpp doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
drivers samples: drivers: i2c: rtio_loopback: change harness to console 2025-02-20 21:31:06 +01:00
fuel_gauge doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
hello_world samples: hello_world: set min RAM to 2KB for Hello World test 2025-02-20 15:08:50 +00:00
kernel samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
modules samples: modules: lvgl: demos: Increase memory pool to fix crash 2025-02-13 12:14:30 +01:00
net samples: net: fix spelling of "Celsius" 2025-02-19 18:51:13 +01:00
philosophers samples: doc: convert philosophers sample to code-sample directive 2024-09-23 12:00:00 +02:00
posix samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
psa secure_storage: add a global registry header file for PSA key IDs 2025-02-13 20:22:09 +01:00
sensor samples: fix spelling of "below" 2025-02-19 18:51:13 +01:00
shields samples/shields: x-nucleo-iks4a1: Add lis2dux12 accel and temp test 2024-12-27 19:34:46 +01:00
subsys samples: fix spelling of "below" 2025-02-19 18:51:13 +01:00
synchronization samples/synchronization: fix thread b pinning 2024-07-30 18:30:30 +01:00
sysbuild samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
tfm_integration samples: tfm_integration: Update regression test dependencies 2025-01-20 11:43:32 +01:00
userspace samples: userspace: prod_consumer: Update API to use DEVICE_API macro 2025-01-24 01:15:19 +01:00
index.rst doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
sample_definition_and_criteria.rst doc: overhaul sample criteria and expectations 2024-09-12 10:03:30 +02:00