Hardware compatibility largely comes down to your kernel version. The other major consideration is firmware, which some distros like Fedora can manage and update for you through tools like fwupdmgr, what firmwares are available largely depend on the package repos you are using. There’s also the ability to run some Windows WIFI drivers on Linux using ndiswrapper which can be useful if your wifi card doesn’t have native kernel support. Either way, it’s usually a good idea to look up your system on something like the Arch Wiki and check out compatibility and see if there are any changes you should make to improve compatibility.