Page MenuHomeFreeBSD

rtwn_usb: add support for fragmented Rx
ClosedPublic

Authored by s3erios_gmail.com on Jul 23 2017, 5:44 PM.

Details

Summary

Since device can pass multiple frames in a single payload temporary Rx buffer must hold all of them; with this patch driver can concatenate a single frame from multiple payloads. The Rx buffer size now is configurable via tunable (dev.rtwn.%d.rx_buf_size).

(Also, this should resolve https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218527).

Test Plan

Tested with RTL8188CUS (3k, 12k), RTL8188EU (16k) and RTL8821AU (2k, 2.5k) in STA mode.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kevlo accepted this revision.Jul 24 2017, 5:19 AM

I tested with rtl8192cu and rtl8188eu, seems to be working fine.

This revision is now accepted and ready to land.Jul 24 2017, 5:19 AM
This revision was automatically updated to reflect the committed changes.