Page MenuHomeFreeBSD

uath: add support for GCMP-128 encryption
ClosedPublic

Authored by adrian on Mar 15 2025, 2:06 AM.
Referenced Files
Unknown Object (File)
Sun, Oct 26, 12:38 AM
Unknown Object (File)
Sun, Oct 26, 12:24 AM
Unknown Object (File)
Mon, Oct 20, 4:22 AM
Unknown Object (File)
Sep 26 2025, 5:51 AM
Unknown Object (File)
Sep 24 2025, 10:24 PM
Unknown Object (File)
Sep 20 2025, 9:51 PM
Unknown Object (File)
Sep 1 2025, 1:39 AM
Unknown Object (File)
Aug 31 2025, 7:31 PM
Subscribers

Details

Summary

Explicitly set the software ciphers; add support for GCMP-128.

Locally tested:

  • AR5523 11abg NIC, 2/5GHz STA operation, GCMP forced in wpa_supplicant.conf

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62967
Build 59851: arc lint + arc unit

Event Timeline

bz requested changes to this revision.Mar 18 2025, 10:53 AM
bz added a subscriber: bz.
bz added inline comments.
sys/dev/usb/wlan/if_uath.c
446

ieee80211_set_software_ciphers

This revision now requires changes to proceed.Mar 18 2025, 10:53 AM
This revision is now accepted and ready to land.Mar 19 2025, 12:34 PM
emaste added inline comments.
sys/dev/usb/wlan/if_uath.c
445

Can we have an assert in ieee80211_set_software_ciphers that enforces this?

adrian added inline comments.
sys/dev/usb/wlan/if_uath.c
445

Can we have an assert in ieee80211_set_software_ciphers that enforces this?

I'll think about to enforce it after this lands, and before I start liberally sprinkling this in chipsets as I test it.

I'll likely need to go add a flag in the ieee80211com struct that says ieee80211_ifattach() has been called, so i'm not relying on BSDisms like our ifnet layer being init'ed.

(Yeah I've been made aware again of our stack being ported to weird and wonderful places...)

This revision was automatically updated to reflect the committed changes.