Page MenuHomeFreeBSD

run: rum: migrate to new net80211 encryption key API
ClosedPublic

Authored by adrian on Jan 2 2026, 11:40 PM.
Referenced Files
Unknown Object (File)
Sat, Feb 14, 6:19 PM
Unknown Object (File)
Tue, Jan 20, 7:26 AM
Unknown Object (File)
Jan 17 2026, 6:41 PM
Unknown Object (File)
Jan 9 2026, 10:29 AM
Unknown Object (File)
Jan 7 2026, 4:54 AM
Unknown Object (File)
Jan 7 2026, 4:26 AM
Unknown Object (File)
Jan 7 2026, 3:33 AM
Unknown Object (File)
Jan 6 2026, 1:34 PM
Subscribers

Details

Summary

Migrate to the new encryption key API rather than poking at the
key struct directly.

Locally tested:

  • STA mode - run0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (MIMO 2T2R), address 00:0e:2e:e5:ae:3a

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz added inline comments.
sys/dev/usb/wlan/if_run.c
2378

We really should just remove these and no longer allow them.
I think what I am trying to say is: remove that TODO comment.

sys/dev/usb/wlan/if_run.c
2378

you mean no longer allow WEP?

I still occasionally use WEP because I want to build a private network for old devices. It's still there.

sys/dev/usb/wlan/if_run.c
2378

You are worse than TKIP users ;-) We still do support OPEN for that :)

Well, does it really make sense to touch all the "legacy" drivers and change a check into a bool inline function, just because?

WEP needs to die die die or at least start hiding behind extra pain not introduce more work for no good?

This revision was not accepted when it landed; it landed in state Needs Review.Wed, Feb 11, 6:05 AM
This revision was automatically updated to reflect the committed changes.