Add wlan_networks setters and getters
Also remove some copy/pasted code