Does not sound too good. The Mi 11 series is often affected by a defect of the Wi-Fi chip caused by heat. At least that is what happened to my Mi 11 Pro. I wanted to try resetting my phone to see if it helps, but I guess it's gone.
If this is the case for yours, I cannot say. I also know nothing...