WiFi library to the new format