HomeFreeBSD

Implement an API for sending a zero-length-packet. The purpose of such a

Description

Implement an API for sending a zero-length-packet. The purpose of such a
USB packet is to toggle the binary packet counter for USB 1.0/2.0 protocols,
without sending any data, so that the first packet sent after opening
a USB BULK endpoint doesn't get lost. This is for devices not supporting
the USB standard defined clear-stall handling.

Tested by: jmg
Sponsored by: NVIDIA Networking

(cherry picked from commit f83f5d58394db57576bbed6dc7531997cabeb102)
(cherry picked from commit ec97e9ca1fa543a4a803e84706564d41cd492065)

Details

Provenance
hselaskyAuthored on Jul 6 2021, 10:29 AM
Parents
rG9529b980ed39: usb: tiny formatting nit
Branches
Unknown
Tags
Unknown