WLAN functions and root check