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.
Details
Details
- Reviewers
kevlo adrian - Commits
- rS309586: rsu: add hardware crypto support (WEP, TKIP and CCMP).
Tested with Asus USB-N10 (all ciphers).
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
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.
Comment Actions
+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.