In the case of the Street View cars, the vehicles were able to get information not only about the name and location of the WiFi network itself (like the one you have in your house) but also, in the case of unsecured networks, the ???payload??? data traveling across that network, including emails and passwords.