pin based WPS authentication

Padmanabha, Seshadri K. Seshadri.K.Padmanabha at physio-control.com
Wed Feb 10 12:32:17 PST 2016


Added Group owner log.

-----Original Message-----
From: Hostap [mailto:hostap-bounces at lists.infradead.org] On Behalf Of Padmanabha, Seshadri K.
Sent: Wednesday, February 10, 2016 12:19 PM
To: hostap at lists.infradead.org
Subject: pin based WPS authentication

Hello all,

I have a P2P peer trying to connect to a group owner. Here is the sequence that fails All user entered commands are prepended with [intf : xxxx]

---P2P Peer trying to join group--
[intf : p2pdev0] p2p_find 8 dev_id=5c:31:3e:d4:82:4f freq=2462

--Group Owner--
P2P-DEVICE-FOUND 84:dd:20:76:4a:ab p2p_dev_addr=84:dd:20:76:4a:ab pri_dev_type=1-0050F204-1 name='PEER_P2P' config_methods=0x108 dev_capab=0x25 group_capab=0x0

--P2P Peer trying to join group--
[intf : p2pdev0] p2p_prov_disc 5c:31:3e:d4:82:4f display join                                                                              

--Group Owner--
P2P-PROV-DISC-SHOW-PIN 84:dd:20:76:4a:ab 83987175 p2p_dev_addr=84:dd:20:76:4a:ab pri_dev_type=1-0050F204-1 name='PEER_P2P' config_methods=0x108 dev_capab=0x25 group_capab=0x0 group=p2pgrp0 

--P2P Peer trying to join group--
P2P-PROV-DISC-ENTER-PIN 5c:31:3e:d4:82:4f [intf : p2pdev0] p2p_connect 5c:31:3e:d4:82:4f 83987175 keypad join

WPS authentication kicks off after this and group formation failure occurs. Is the above sequence right?


-----Client Log-----------
The following log occurs a few times before group formation failure
p2pgrp0: Trying to associate with 5c:31:3e:d4:82:50 (SSID='DIRECT-qu' freq=2462 MHz) HOSTAPTIW _associate: enter, mode = 0 role 4 iface p2pgrp0
p2pgrp0: Associated with 5c:31:3e:d4:82:50
p2pgrp0: CTRL-EVENT-EAP-STARTED EAP authentication started
p2pgrp0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=1
p2pgrp0: CTRL-EVENT-EAP-METHOD EAP vendor 14122 method 1 (WSC) selected
p2pgrp0: WPS-M2D dev_password_id=0 config_error=15
p2pdev0: WPS-M2D dev_password_id=0 config_error=15
p2pgrp0: CTRL-EVENT-EAP-FAILURE EAP authentication failed
p2pgrp0: CTRL-EVENT-DISCONNECTED bssid=5c:31:3e:d4:82:50 reason=3 locally_generated=1
p2pgrp0: Trying to associate with 5c:31:3e:d4:82:50 (SSID='DIRECT-qu' freq=2462 MHz) P2P-GROUP-FORMATION-FAILURE P2P-GROUP-REMOVED p2pgrp0 client reason=FORMATION_FAILED

--------- Group Owner Log -----------
p2pgrp0: CTRL-EVENT-EAP-STARTED 84:dd:20:76:4a:ac
p2pgrp0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
p2pgrp0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=254
p2pgrp0: WPS-PIN-NEEDED 4d500a32-bc6a-5a3a-bc13-7a5ffa54398e 84:dd:20:76:4a:ac [ | | | | |0-00000000-0]
p2pgrp0: CTRL-EVENT-EAP-FAILURE 84:dd:20:76:4a:ac
p2pgrp0: CTRL-EVENT-EAP-STARTED 84:dd:20:76:4a:ac
p2pgrp0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
p2pgrp0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=254
p2pgrp0: WPS-PIN-NEEDED 4d500a32-bc6a-5a3a-bc13-7a5ffa54398e 84:dd:20:76:4a:ac [ | | | | |0-00000000-0]
p2pgrp0: CTRL-EVENT-EAP-FAILURE 84:dd:20:76:4a:ac
p2pgrp0: CTRL-EVENT-EAP-STARTED 84:dd:20:76:4a:ac
p2pgrp0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
p2pgrp0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=254

Regards,
Sesh

_______________________________________________
Hostap mailing list
Hostap at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/hostap



More information about the Hostap mailing list