TLS failing with Linksys WPC54G and WRK54G

Jouni Malinen jkmaline at cc.hut.fi
Sun Nov 21 00:08:30 EST 2004


On Wed, Nov 10, 2004 at 01:27:01PM -0700, Stephen Mathezer wrote:

> I hope somebody can offer me some insight into this. I cannot for the 
> life of me get my Linksys WPC54GV4 to connect with WPA (EAP-TLS) to the 
> WRK54G.
> 
> I am using ndiswrapper 0.11, 2.6.7 kernel, wpa_supplicant 2.5.

The current version of ndiswrapper does not seem to support WPA-EAP.
Could you please re-test with the attached patch?

-- 
Jouni Malinen                                            PGP id EFC895FA
-------------- next part --------------
Index: driver/iw_ndis.c
===================================================================
RCS file: /cvsroot/ndiswrapper/ndiswrapper/driver/iw_ndis.c,v
retrieving revision 1.79
diff -u -p -r1.79 iw_ndis.c
--- driver/iw_ndis.c	13 Nov 2004 04:56:27 -0000	1.79
+++ driver/iw_ndis.c	21 Nov 2004 04:49:35 -0000
@@ -1523,6 +1523,7 @@ static int wpa_associate(struct net_devi
 		 wpa_assoc_info.key_mgmt_suite,
 		 wpa_assoc_info.pairwise_suite, wpa_assoc_info.group_suite);
 	if (wpa_assoc_info.key_mgmt_suite != KEY_MGMT_PSK &&
+	    wpa_assoc_info.key_mgmt_suite != KEY_MGMT_802_1X &&
 	    wpa_assoc_info.key_mgmt_suite != KEY_MGMT_NONE)
 		TRACEEXIT(return -EINVAL);
 
@@ -1555,6 +1556,11 @@ static int wpa_associate(struct net_devi
 			TRACEEXIT(return -EINVAL);
 		auth_mode = AUTHMODE_WPAPSK;
 		break;
+	case KEY_MGMT_802_1X:
+		if (!test_bit(CAPA_WPA, &handle->capa))
+			TRACEEXIT(return -EINVAL);
+		auth_mode = AUTHMODE_WPA;
+		break;
 	case KEY_MGMT_NONE:
 		if (wpa_assoc_info.group_suite != CIPHER_WEP104 &&
 		    wpa_assoc_info.group_suite != CIPHER_WEP40)


More information about the HostAP mailing list