Apple has a really good guide for troubleshooting Windows WiFi issues.
This is a drop down for which version of the MacOS you are using. Click here for instructions on finding which version you are using.
https://support.apple.com/guide/mac-help/solve-internet-connection-problems-on-mac-mh11395/mac