If you have the driver files (from a USB drive) but running the setup file didn't work, you may need to install it manually.
If Windows Update doesn't find a WiFi driver, you can try installing it manually: windows 11 setup install wifi driver