Add wifi scan loop