<div dir="ltr">Hi,<br><br>Im working on a project where I need to setup an autonomous
P2P-GO such that clients can connect to it without a password. I
understand from the IEEE spec that having security in P2P is a
requirement, but for the purposes of experimentation, I would like to
set one up without a password. Can anyone provide any pointers on how to
implement this in 2.2? For version 1.0, I had a patch that worked.
Essentially, I added a new CLI parameter “secured” in p2p_group_add, and
then in wpas_start_wps_go() in p2p_supplicant.c, I changed the
following lines <br><br>ssid->key_mgmt = WPA_KEY_MGMT_PSK;<br> ssid->proto = WPA_PROTO_RSN;<br> sid->pairwise_cipher = WPA_CIPHER_CCMP;<br> ssid->passphrase = os_strdup(params->passphrase);<br><br>To <br><br>if (secured == 0) {<br> ssid->key_mgmt = WPA_KEY_MGMT_NONE;<br> }<br> {<br> ssid->key_mgmt = WPA_KEY_MGMT_PSK;<br> ssid->proto = WPA_PROTO_RSN;<br> ssid->pairwise_cipher = WPA_CIPHER_CCMP;<br> ssid->passphrase = os_strdup(params->passphrase);<br> }<br><br>Although a hack, this seemed to work, however it does not in supplicant 2.2. Can someone please help me with this?<br><br>Thanks<br clear="all"><br>-- <br><div class="gmail_signature">regards,<br>Aditya Bhave</div>
</div>