If it’s happening on a laptop, look for a hardware switch or a key combination (Fn + FX) keys that could disable the Wi-Fi on the hardware level. The OS cannot find the hardware when it’s turned on ...
Completely missed this a couple of days ago but WiFi Alliance, the company behind WiFi, introduced a new WiFi Display certification program called Miracast at the end of May. Miracast when launched ...