tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Support for USBD_FORCE_SHORT_XFER for xhci



On Sat, Aug 23, 2025 at 12:06:09AM +1000, Nat Sloss wrote:
> Hi,
> 
> I've done recent work on urtwn that fixes transfers when the device is used 
> with xhci.
> 
> It turns out the root of the problem was a lack of support in the xhci stack 
> for the flag USBD_FORCE_SHORT_XFER.
> 
> 
> There is some previous artwork for ehci/uhci/ohci that has special handling 
> for this particuar flag.
> 
> Attached is my attempt at fixing this - this would also make possible for me to 
> revert the last 2 commits to urtwn as I would no longer have to send zero 
> lengh xfers in the driver.
> 
> Thoughts?
> 

Looks appropriate; just also make sure that any in-advance accounting of
TRBs is also adjusted.

	Jonathan Kollasch


Home | Main Index | Thread Index | Old Index