Tested with RTL8188EU, STA mode
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Hi,
I'd rather than we build a mostly sensible, consistent way of dealing with things with the USB drivers. Here, I'd like txeof to take an mbuf/txbuf and free it. That way all of the dequeue logic is done in the USB tx callback and it's not broken out. When we start seeing drivers do both USB and non-USB then i'd like there to be a shared txeof that makes no actual assumption that the underlying queuing is done via USB.
However yeah, the USB completion callback can leak buffers in specific instances. So let's fix that and keep XXX_txeof() take the softc and the txbuf to complete.