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, Apr 14, 12:00 PM
Unknown Object (File)
Fri, Apr 11, 10:18 AM
Unknown Object (File)
Sat, Apr 5, 6:37 AM
Unknown Object (File)
Mon, Mar 31, 9:33 PM
Unknown Object (File)
Thu, Mar 27, 2:07 AM
Unknown Object (File)
Thu, Mar 20, 10:07 AM
Unknown Object (File)
Wed, Mar 19, 6:50 PM
Unknown Object (File)
Mar 19 2025, 3:25 PM
Subscribers

Details

Summary

Add wlan_gcmp wherever CCMP is defined in kernel configs.

Diff Detail

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

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.