"Wi-Fi doesn't have valid IP configuration"

If it only happens with this device, then I would be focusing on the device and its wifi card.

And rather than fighting with wifi cards, I tend to just replace them to confirm/disconfirm hypothesis.

You could also do this with a wifi dongle, and disabling your primary wifi card, if accessing your device is a PITA.

That error tends to occur with the device, not the network equipment, so focus on your device and start ruling things out.