Wi-fi is not basic.
Having written a wifi driver, that’s something I’m comfortable stating unequivocally.
The hardware is almost always proprietary and undocumented, and in many cases (looking at you, Broadcom), a poorly-designed shitshow of complex errata, proprietary magic numbers required for initialization, and in general, an absolute dogshit technology stack.
The only reason Linux has working Wi-Fi at all tends to be because it was used to power a lot of cheap consumer access points, and Wi-Fi chipset manufacturers released binary and open-source Linux drivers — generally of horrific quality, but drivers nonetheless.
For me, FreeBSD wifi works straight of the box on the laptop I have.
It will "work" correctly when it supports general consumer expectations e.g 5ghz networks, which has been a common complaint about FreeBSD for years now.
This is why FreeBSD loses in my view. The arrogance of claiming to be a complete system when basic stuff like wifi doesn’t work.