Provided the code of WiFi