How to share the Wi-Fi with the computer?

Through Wi-Fi hotspot or USB sharing, you can quickly extend the network connection of the mobile phone to your computer without the need for additional network equipment or complicated settings, providing you with more flexibility and convenience.
To share the Wi-Fi with the computer, here are the methods for your reference:
Method 1
1. Turn on the Wi-Fi hotspot on the phone;
2. Open Wi-Fi settings on your computer and search for the name of the Wi-Fi hotspot you created on the phone. Select the network and enter the password you set on your phone to connect.
Method 2
1. Go to [Settings] >> [About phone] >> tap the [Xiaomi HyperOS] icon seven times in a row to turn on [Developer options];
2. Turn on [USB debugging] in [Developer options];
3. Connect your phone to your computer using a USB cable;
4. Enable the Wi-Fi hotspot and USB tethering, and the computer will automatically use the phone's network via USB connection.