Fails to associate during WPS using Atheros AR5007EG adaptor

skn skrishnamohan
Mon Jul 27 06:56:52 PDT 2009


 Hi All,

I'm testing wpa_supplicant 0.6.9 and am able to successfully pair using WPS on a win xp sp2. 
However, on this particular samsung laptop (xp sp3 with AR5007EG adaptor), after start of WPS-PBC the Association times out.
On the same laptop, I'm able to do WPA-PSK association with the same AP. Below are the partial logs for the two cases (WPA and WPS) along with conf files.

If any one has some clues as to difference please let me know. 
Why does the WPS case fail to receive an "MSNdis_StatusMediaConnect" event?

Thanks,
Srikanth

------------------Partial log of WPS case - where it fails to associates ----------------- 
WPS: Building WPS IE for Probe Request
WPS:  * Version
WPS:  * Request Type
WPS:  * Config Methods (80)
WPS:  * UUID-E
WPS:  * Primary Device Type
WPS:  * RF Bands (3)
WPS:  * Association State
WPS:  * Configuration Error (0)
WPS:  * Device Password ID (4)
NDIS: Set OID 0d01011a - hexdump(len=4): [REMOVED]
Scan timeout - try to get results
CTRL-EVENT-SCAN-RESULTS 
CTRL_IFACE monitor send 003F9A08
WPS: attr type=0x104a len=1
WPS: attr type=0x1044 len=1
WPS: attr type=0x1057 len=1
WPS: Unsupported attribute type 0x1057 len=1
WPS: attr type=0x1041 len=1
WPS: attr type=0x1012 len=2
WPS: attr type=0x1053 len=2
WPS: attr type=0x103b len=1
WPS: attr type=0x1047 len=16
WPS: attr type=0x1021 len=5
WPS: attr type=0x1023 len=8
WPS: attr type=0x1024 len=4
WPS: attr type=0x1042 len=4
WPS: attr type=0x1054 len=8
WPS: attr type=0x1011 len=8
WPS: attr type=0x1008 len=2
WPS: attr type=0x103c len=1
WPS-AP-AVAILABLE-PBC 
CTRL_IFACE monitor send 003F9A08
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 06:1d:6a:48:fb:9b ssid='Livebox-be35' wpa_ie_len=26 rsn_ie_len=24 caps=0x431
WPS: attr type=0x104a len=1
WPS: attr type=0x1044 len=1
WPS: attr type=0x1057 len=1
WPS: Unsupported attribute type 0x1057 len=1
WPS: attr type=0x1041 len=1
WPS: attr type=0x1012 len=2
WPS: attr type=0x1053 len=2
WPS: attr type=0x103b len=1
WPS: attr type=0x1047 len=16
WPS: attr type=0x1021 len=5
WPS: attr type=0x1023 len=8
WPS: attr type=0x1024 len=4
WPS: attr type=0x1042 len=4
WPS: attr type=0x1054 len=8
WPS: attr type=0x1011 len=8
WPS: attr type=0x1008 len=2
WPS: attr type=0x103c len=1
   selected based on WPS IE (Active PBC)
   selected WPA AP 06:1d:6a:48:fb:9b ssid='Livebox-be35'
WPS: attr type=0x104a len=1
WPS: attr type=0x1044 len=1
WPS: attr type=0x1057 len=1
WPS: Unsupported attribute type 0x1057 len=1
WPS: attr type=0x1041 len=1
WPS: attr type=0x1012 len=2
WPS: attr type=0x1053 len=2
WPS: attr type=0x103b len=1
WPS: attr type=0x1047 len=16
WPS: attr type=0x1021 len=5
WPS: attr type=0x1023 len=8
WPS: attr type=0x1024 len=4
WPS: attr type=0x1042 len=4
WPS: attr type=0x1054 len=8
WPS: attr type=0x1011 len=8
WPS: attr type=0x1008 len=2
WPS: attr type=0x103c len=1
WPS: attr type=0x104a len=1
WPS: attr type=0x1044 len=1
WPS: attr type=0x1041 len=1
WPS: attr type=0x103b len=1
WPS: attr type=0x1047 len=16
WPS: attr type=0x1021 len=6
WPS: attr type=0x1023 len=7
WPS: attr type=0x1024 len=7
WPS: attr type=0x1042 len=8
WPS: attr type=0x1054 len=8
WPS: attr type=0x1011 len=7
WPS: attr type=0x1008 len=2
WPS: attr type=0x104a len=1
WPS: attr type=0x1044 len=1
WPS: attr type=0x1057 len=1
WPS: Unsupported attribute type 0x1057 len=1
WPS: attr type=0x1047 len=16
WPS: attr type=0x103c len=1
WPS: attr type=0x104a len=1
WPS: attr type=0x1044 len=1
Trying to associate with 06:1d:6a:48:fb:9b (SSID='Livebox-be35' freq=2417 MHz)
CTRL_IFACE monitor send 003F9A08
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPS: Building WPS IE for (Re)Association Request
WPS:  * Version
WPS:  * Request Type
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
NDIS: Set OID 0d010108 - hexdump(len=4): [REMOVED]
NDIS: Set OID 0d010119 - hexdump(len=4): [REMOVED]
NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED]
NDIS: Set OID 0d01011b - hexdump(len=4): [REMOVED]
NDIS: Set OID 0d010101 - hexdump(len=6): [REMOVED]
NDIS: Set OID 0d010102 - hexdump(len=36): [REMOVED]
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RSN: Ignored PMKID candidate without preauth flag
Authentication with 06:1d:6a:48:fb:9b timed out.


------------------End of WPS log------------------------------------------


------------------Partial log of WPA case - where it associates successfully-----------------
WPS-AP-AVAILABLE 
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 06:1d:6a:48:fb:9b ssid='Livebox-be35' wpa_ie_len=26 rsn_ie_len=24 caps=0x431
   selected based on WPA IE
   selected WPA AP 06:1d:6a:48:fb:9b ssid='Livebox-be35'
Trying to associate with 06:1d:6a:48:fb:9b (SSID='Livebox-be35' freq=2417 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
Overriding auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 04 00 50 f2 02 01 00 00 50 f2 02
WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 00 00
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
NDIS: Set OID 0d010108 - hexdump(len=4): [REMOVED]
NDIS: Set OID 0d010119 - hexdump(len=4): [REMOVED]
NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED]
NDIS: Set OID 0d01011b - hexdump(len=4): [REMOVED]
NDIS: Set OID 0d010101 - hexdump(len=6): [REMOVED]
NDIS: Set OID 0d010102 - hexdump(len=36): [REMOVED]
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RSN: Ignored PMKID candidate without preauth flag
EAPOL: disable timer tick
MSNdis_StatusMediaConnect
NDIS: received event data - hexdump(len=4): 00 00 00 00
NDIS: event - type 0
NDIS: Media Connect Event
NDIS: association information - hexdump(len=338):
....
----------------------------------------End of wpa log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20090727/398456c6/attachment-0001.htm 



More information about the Hostap mailing list