Page MenuHomeFreeBSD

Fix Tx queues to USB endpoints mapping and merge two dma_init functions into one
ClosedPublic

Authored by kevlo on Dec 4 2015, 3:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 7, 12:23 PM
Unknown Object (File)
Thu, Nov 6, 3:50 AM
Unknown Object (File)
Wed, Oct 29, 10:22 PM
Unknown Object (File)
Sat, Oct 25, 10:44 PM
Unknown Object (File)
Sat, Oct 25, 10:38 PM
Unknown Object (File)
Oct 11 2025, 5:40 PM
Unknown Object (File)
Oct 9 2025, 11:10 PM
Unknown Object (File)
Oct 6 2025, 11:12 PM
Subscribers
None

Details

Summary
  • Fix Tx queues to USB endpoints mapping
  • Merge urtwn_r92c_dma_init() and urtwn_r88e_dma_init() into one

Tested on RTL8188CU, RTL8192CU, and RTL8188EU.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kevlo retitled this revision from to Fix Tx queues to USB endpoints mapping and merge two dma_init functions into one .
kevlo updated this object.
kevlo edited the test plan for this revision. (Show Details)
kevlo added reviewers: adrian, avos.

Looks fine to me; which other chipsets need testing?

In D4381#92266, @adrian wrote:

Looks fine to me; which other chipsets need testing?

RTL8188RU. All chipsets which the urtwn(4) supports (including
upcoming RTL8192EU and RTL8723BU chipsets) are use the same logic.

sys/dev/usb/wlan/if_urtwn.c
34 ↗(On Diff #10743)

where it's used?

sys/dev/usb/wlan/if_urtwn.c
34 ↗(On Diff #10743)

The header usb_device.h needs to include sys/condvar.h to define
struct cv.

avos edited edge metadata.

Works fine for me.

This revision is now accepted and ready to land.Dec 5 2015, 3:22 PM
This revision was automatically updated to reflect the committed changes.