Page MenuHomeFreeBSD

sys: add wlan_gcmp to GENERIC kernels as appropriate
ClosedPublic

Authored by adrian on Mar 13 2025, 3:11 PM.
Referenced Files
Unknown Object (File)
Mon, Nov 17, 4:06 PM
Unknown Object (File)
Nov 11 2025, 3:15 PM
Unknown Object (File)
Nov 7 2025, 10:15 AM
Unknown Object (File)
Nov 4 2025, 3:54 AM
Unknown Object (File)
Nov 3 2025, 8:36 AM
Unknown Object (File)
Nov 1 2025, 10:14 AM
Unknown Object (File)
Nov 1 2025, 12:39 AM
Unknown Object (File)
Oct 28 2025, 9:51 AM
Subscribers

Details

Summary

Add wlan_gcmp wherever CCMP is defined in kernel configs.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Mar 13 2025, 11:37 PM

Tested this w/ hostapd configs enabling GCMP, seems to work!

Unrelated thought:

  • Do any of these kernel files differ for wifi? Otherwise we should contemplate adding a std.wlan to sys/conf/ maybe and include that for all. Would also then be a lot easier to fix arm64 ;-)

Yeah, creating a std.wifi would be good, especially for the options versus the stack and drivers.

I'll pencil that in for a refactor after all of this lands.

Thanks for the suggestion/idea! Honestly it's been bugging me for years too.

Yeah, creating a std.wifi would be good, especially for the options versus the stack and drivers.

I'll pencil that in for a refactor after all of this lands.

Thanks for the suggestion/idea! Honestly it's been bugging me for years too.

Having looked at sys/modules/Makefile I probably wouldn't do the drivers but all the options/devices.

In general as soon as a driver supports PNP and isn't needed to get to init we probably shouldn't include them in GENERIC anymore but that's a different story and I keep forgetting how this is supposed to be handled today vs. MINIMAL and other kernel configs.

Wifi is kinda a special case. We have multiple drivers for the same hardware that play badly together because linuxkpi driver bidding model sucks.

I do like std.wifi for the stack. Not for the drivers which are their own problem.