added wlan functionality and minor functionalities