On Sun, Dec 16, 2007 at 06:10:10PM -0500, Dan Williams wrote: > On Sun, 2007-12-16 at 10:11 -0800, Jouni Malinen wrote: > > It is a new key type regardless of whether it is PSK or passphrase. The > > current key types (IW_AUTH_CIPHER_*) are WEP40, TKIP, CCMP, and WEP104.. > Ah, it's a different key because it's not set _during_ the 4-way > handshake, but just sent to the fw directly and the fw handles it, > right? There are two cases here, but in both of them, them PMK (i.e., PSK for WPA-Personal) needs to be set just before the 4-way handshake would start. When using WPA-Personal, the PSK would be set just before (or as part of) association request. When using WPA-Enterprise (WPA-EAP), the PMK would be set after having completed IEEE 802.1X/EAP authentication (and the driver/firmware would then take care of 4-way handshake). Both cases will end up disabling the user space supplicant from taking part in 4-way handshake, i.e., it will ignore EAPOL-Key frames should they be delivered through the netdev and expects the driver/firmware to process them. -- Jouni Malinen PGP id EFC895FA - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html