WiFi positioning through packet sniffing