wpa supplicant v0.3.3 and WPA2-PSK issue

Zimmermann, Christopher Brian (Chris) cbzimmermann at agere.com
Wed Jan 12 13:04:14 EST 2005


Whoops!  I cut out part of my message...

The function I am referring to is wpa_supplicant_process_1_of_4() in
wpa.c


-----Original Message-----
From: hostap-bounces+cbzimmermann=agere.com at shmoo.com
[mailto:hostap-bounces+cbzimmermann=agere.com at shmoo.com] On Behalf Of
Zimmermann, Christopher Brian (Chris)
Sent: Wednesday, January 12, 2005 11:24 AM
To: hostap at shmoo.com
Subject: wpa supplicant v0.3.3 and WPA2-PSK issue

I've ported WPA supplicant v0.3.3 to VxWorks v5.5 on ARM little Endian.
I am associating to a Cisco AP1231 with WPA2 Wi-Fi Alliance special test
firmware (for WPA2/WMM certification).

I tried using WPA2-PSK and it always fails.  I believe the problem to be
caused by PMKSA.  To the best of my understanding, PMKSA and Pre-Shared
Key are mutually exclusive; the point of PMKIDs being to avoid the
potentially lengthy EAP negotiation (certificate exchange, etc.).

Earlier in the function, eapol_sm_get_key() is called, and no key is
obtained, PMKSA caching being aborted.  wpa_eapol_send() is called and
the 1_of_4 function returns.  For the PSK condition, this seems to be
invalid.  I patched the problem on my system by changing

Line 1106:	if (abort_cached) {

to be as follows:

	if ((abort_cached) && (wpa_s->key_mgmt ==
WPA_KEY_MGMT_IEEE8021X)) {

This change prevents sending out the EAPOL-Start message, which the AP
will not answer, and allows sends message 2/4.  WPA2-PSK completes
successfully this way

Am I missing something? 

Thanks in advance,
Chris

Chris Zimmermann
Agere Systems
cbzimmermann at agere.com


_______________________________________________
HostAP mailing list
HostAP at shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap



More information about the HostAP mailing list