diff options
| author | alvin <[email protected]> | 2026-04-17 17:23:38 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2026-04-21 10:05:15 +0800 |
| commit | febe71b30c6786041dcf8b38d68874d76adb8749 (patch) | |
| tree | 9d662e31bbc44fd3c4c46d00d94050bb02481d72 /docs/_build/html/_static/basic.css | |
| parent | 3bd79e23648ac522ebfe9b17768bce7ea359b4a5 (diff) | |
fix(third_party/bluetooth): fix bugs in USB host BT HCI drivers
NimBLE (nimble-1.6.0/ble_hci_usbh.c):
- fix hci_read_callback: pass full buffer to hci_h4_sm_rx in one call
instead of splitting type byte and payload into two calls
- fix ble_transport_to_ll_cmd_impl: use struct ble_hci_cmd for
type-safe length calculation instead of raw byte indexing
- fix ble_transport_to_ll_acl_impl: gather mbuf with os_mbuf_copydata
and issue single usbh_bluetooth_hci_write; the old per-segment loop
violated USB Bluetooth class bulk transfer requirements
- fix unused-parameter warnings in run/stop callbacks
Zephyr (zephyr_bluetooth-2.7.5/ble_hci_usbh.c):
- remove unreachable fallthrough comment after return statement
- restore ISO payload length check (was commented out); use inline
mask (& 0x3FFF) per BT Core Spec v5.x Vol 4 Part E Section 5.4.5
- fix bt_usbh_send error code: 255 -> -EIO
- guard bt_hci_driver_register with static bool to prevent duplicate
registration on USB reconnect
- fix unused-parameter warnings in run/stop callbacks
Diffstat (limited to 'docs/_build/html/_static/basic.css')
0 files changed, 0 insertions, 0 deletions
