zephyr/subsys/bluetooth
Jordan Yates 7aa34e6482 bluetooth: hci_core: handle NUM_COMPLETED_PACKETS rsp
The `BT_HCI_OP_HOST_NUM_COMPLETED_PACKETS` is not expected to generate a
response from the controller, but from the spec:

Normally, no event is generated after the
HCI_Host_Number_Of_Completed_Packets command has completed. However, if
the HCI_Host_Number_Of_Completed_Packets command contains one or more
invalid parameters, the Controller shall return an HCI_Command_Complete
event with a failure status indicating the Invalid HCI Command
Parameters error code.

In practice, this can also be generated if flow control is inadvertedly
turned off during operation. Running `hci_cmd_done` is not correct when
the event happens (as there is no corresponding command buffer), and
`ncmd` should not be returned as this command ignores the semaphore when
sending.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2023-10-20 15:16:54 +02:00
..
audio Bluetooth: BAP: Scan Delegator bis_sync_req cb called on rem 2023-10-20 15:10:37 +02:00
common bluetooth: common: Kconfig: Add missing dependency for BT_MONITOR 2023-10-06 11:42:40 +03:00
controller Bluetooth: Controller: Fix endianness issues for SyncInfo 2023-10-20 15:05:20 +02:00
crypto
host bluetooth: hci_core: handle NUM_COMPLETED_PACKETS rsp 2023-10-20 15:16:54 +02:00
lib Bluetooth: Host: Remove 'Experimental' flag of EAD 2023-07-28 17:48:16 +02:00
mesh Bluetooth: Mesh: Op agg mdl coex 2023-10-20 15:16:33 +02:00
services Bluetooth: Host: Amend existing L2CAP accept callbacks 2023-09-14 14:36:34 +02:00
shell bluetooth: shell: Fixed logic in is_substring function 2023-10-20 15:02:28 +02:00
CMakeLists.txt
Kconfig
Kconfig.adv
Kconfig.iso Bluetooth: ISO: Rename BT_ISO_ADVANCED to BT_ISO_TEST_PARAMS 2023-10-20 14:50:48 +02:00
Kconfig.logging Bluetooth: controller: Included kconfigs for ISO-AL logging 2023-09-18 14:35:42 +02:00