On Thu, 2008-08-14 at 11:25 +0300, Jouni Malinen wrote: > On Thu, Aug 14, 2008 at 10:05:27AM +0300, Kalle Valo wrote: > > > What about PMKSA caching? Shouldn't user space need to provide PMKIDs > > (or the IEs) to mac80211 before association? > > There are two possible designs for this. In wpa_supplicant terms, > ap_scan=2 would most likely mean that driver is responsible for > generating the RSN IE, including PMKID list, and wpa_supplicant is > providing the driver a list of currently available PMKs (PMKIDs for > them). In ap_scan=1, there is option for the driver to use the RSN IE > from wpa_supplicant (which is something that mac80211 is doing at the > moment) and in that case, yes, PMKIDs would indeed need to be updated > in the RSN IE just before association. The problem with ap_scan is that it really has two uses: roaming (it's original meaning) and hidden SSID support (the acquired meaning because of WEXT command ordering issues and lack of SSID scan support). It's important to note that historically, mac80211 has completely failed with ap_scan=2 and I'm not sure it's worth fixing that because effort should be directed into cfg80211. So if you're going to suggest that people should actually start using roaming support and fixing it up, we need to figure out how to do scanning better in the supplicant config too. Dan -- 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