I have setup WiFi Direct connection between two Android devices by using Wi-Fi Protected Setup (WPS) "push button" for authentication.I also want to secure the connection itself by securing the data transmission between any two peers.
Edit: The WiFi Direct standard says to support WPA2 ciphering, but I'm not sure how it works (there is no way to configure the passphrase of it), and if it works at all.
One way of doing this could be to make some cipher key that the two peers shares and encrypt all the traffic coming out of specific port that I'm using.
Can you suggest some other method to make the connection secure?