zephyr/subsys/usb/device
Johann Fischer 75ab9f81e3 usb: device: fix control endpoint handling with MPS of 8 bytes
The possible control endpoint MPS for USB 2.0 FS devices is
8, 16, 32, or 64 bytes. Typically, USB2.0 compliant devices support MPS
up to 64 bytes, and we have not had the need to support other MPS.

This patch implements a mechanism to fall back to the minimum allowed
MPS when a controller is likely a USB 1.1 compliant device and does
not support control endpoint MPS of 64 bytes.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2023-04-21 12:45:57 +02:00
..
class init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
bos.c usb: device: update logging module registration 2022-12-12 15:57:35 +01:00
CMakeLists.txt
Kconfig usb: remove usb_pid.Kconfig file 2022-11-22 11:09:21 +01:00
os_desc.c usb: device: update logging module registration 2022-12-12 15:57:35 +01:00
os_desc.h
usb_descriptor.c usb: device: fix control endpoint handling with MPS of 8 bytes 2023-04-21 12:45:57 +02:00
usb_descriptor.h include: add missing sys/slist.h include 2022-10-11 18:05:17 +02:00
usb_device.c usb: device: fix control endpoint handling with MPS of 8 bytes 2023-04-21 12:45:57 +02:00
usb_transfer.c usb: device: Revert "fix possible deadlock in usb_transfer_sync()" 2023-04-17 11:30:48 +02:00
usb_transfer.h
usb_work_q.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
usb_work_q.h