calculation wi-fi signal