Allow URBs to be anchored and released upon completion keeping a list
of them (managed by the driver). This allows the driver (rtw89) upon
reset or disconnect to cancel all outstanding TX.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential D55035
LinuxKPI: usb: add usb_anchor support Authored by bz on Feb 1 2026, 5:11 PM. Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions Plus these points, usb_unlink_urb_sub bypass unanchored in not started yet branch. Causing a forever run if the xfer hasn't start yet. Also, we need usb_put_urb in the same point
Comment Actions Thanks for the comment; I have a way larger branch I think than what is in review. Do you want to have a look at the entire bits? I'd be thrilled if someone will review them :) and more than happy to extract the next days. Comment Actions Do you mean https://reviews.freebsd.org/D54987? I was typing something while you leave your comment:) Comment Actions No, I mean more changes to be added to the stack; when I first did this it was a/multiple year(s) ago. I put some of that out earlier this year in order to get the de-coupling of LinuxKPI from the native stack structures out but that got into controversial discussions. In the follow-up I added more stuff for more USB wifi drivers ... which I never uploaded to Phab. I'll go through what you have and would love to put a new stack up next week, if that's okay? | ||||||||||||||||||||||||||||||||||||||