On Mon, 02 Nov 2026 09:22:26 +0000, Jamin Lin <[email protected]> wrote: > Interrupt IN is not a request and an answer in usbredir. The host asks > once with start_interrupt_receiving. After that it expects a packet > every time the device has data. > > Park one IN packet on the device for each streaming endpoint. A device > that answers USB_RET_ASYNC holds the packet and completes it when it > has data. A device that answers USB_RET_NAK gives the packet back at > once, so park a new one when the bus reports a wakeup on that endpoint. > A slow timer parks one too, for a device that does not report a wakeup. > A streamed request does not wait on the endpoint's list the way a host > request does, because this timer already asks again. > > [...]
Reviewed-by: Marc-André Lureau <[email protected]> -- Marc-André Lureau <[email protected]>
