diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-09-09 16:51:52 -0400 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-09-12 12:27:50 -0400 |
commit | 7b05933340f4490ef5b09e84d644d12484b05fdf (patch) | |
tree | 92b1f4faffed09c65f85e6fad777b201e036d30e /drivers/bluetooth/btbcm.h | |
parent | 39e4bfb466741a1364e0f690ea22961b93d2e73b (diff) |
Bluetooth: btusb: Fix not handling ZPL/short-transfer
Requesting transfers of the exact same size of wMaxPacketSize may result
in ZPL/short-transfer since the USB stack cannot handle it as we are
limiting the buffer size to be the same as wMaxPacketSize.
Also, in terms of throughput this change has the same effect to
interrupt endpoint as 290ba200815f "Bluetooth: Improve USB driver throughput
by increasing the frame size" had for the bulk endpoint, so users of the
advertisement bearer (e.g. BT Mesh) may benefit from this change.
Fixes: 5e23b923da03 ("[Bluetooth] Add generic driver for Bluetooth USB devices")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tested-by: Kiran K <kiran.k@intel.com>
Diffstat (limited to 'drivers/bluetooth/btbcm.h')
0 files changed, 0 insertions, 0 deletions