There are many reasons for this problem; one of the reasons is that Windows Update failed to install or update the Network drivers, in that case, you have to update the required driver manually.
Every Xiaomi smartphone has its very own set of reset commands that are ready to tap whenever things go wrong and restoring defaults seems to be the only solution. One of the said commands is the ...