Page MenuHomeFreeBSD

rsu: add hardware crypto support (WEP, TKIP and CCMP)
ClosedPublic

Authored by avos on Dec 4 2016, 1:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 8:16 AM
Unknown Object (File)
Thu, Mar 28, 1:07 AM
Unknown Object (File)
Mar 18 2024, 6:46 PM
Unknown Object (File)
Jan 14 2024, 11:32 AM
Unknown Object (File)
Dec 20 2023, 7:02 AM
Unknown Object (File)
Dec 4 2023, 6:58 PM
Unknown Object (File)
Nov 24 2023, 3:13 AM
Unknown Object (File)
Nov 7 2023, 10:38 AM
Subscribers

Details

Summary

This change includes firmware commands for key setup + some additional checking via CAMREAD / CAMWRITE registers. Nothing (except rsu_delete_key() for pairwise keys) is deferred; to ensure that things are done in order rsu_set_key() will wait until key deletion task will be finished.

Test Plan

Tested with Asus USB-N10 (all ciphers).

Diff Detail

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

Event Timeline

avos retitled this revision from to rsu: add hardware crypto support (WEP, TKIP and CCMP).
avos updated this object.
avos edited the test plan for this revision. (Show Details)
avos added reviewers: adrian, kevlo.
avos set the repository for this revision to rS FreeBSD src repository - subversion.
kevlo edited edge metadata.

dmesg:
rsu0: <vendor 0x7392 product 0x7622, class 0/0, rev 2.00/2.00, addr 2> on usbus5
rsu0: MAC/BB RTL8712 cut 3 2T2R
rsu0: rsu_attach: enabling 11n

Works for me. Tested with Edimax EW-7622UMn (TKIP and CCMP) on amd64.

This revision is now accepted and ready to land.Dec 5 2016, 1:42 AM
adrian edited edge metadata.

+1 I'm okay with this. Thanks!

I kinda would like to see if we can fix the whole key add/remove logic in net80211 so the firmware drivers don't have to do this. That's definitely not in scope for this work.

This revision was automatically updated to reflect the committed changes.