> I haven't looked at what the current implementation does, but as far as > WEXT and SIOCSIWENCODEEXT is concerned, IW_ENCODE_EXT_GROUP_KEY flag > should be used to select which key is being configured. There is no > difference between "static/global" and "dynamic group" keys. The only > difference is between default and key-mapping (individual) keys. > > Sure, the terminology here can be quite confusing, but as far as I can > tell, that IW_ENCODE_EXT_GROUP_KEY flag is all that is needed to > distinguish which key is being configured and configuring a single key > should not automatically change another one (even if the key index is > same which could, at least in theory, happen with key index 0 that can > be used both with default and key-mapping keys). > Ok, I tested this flag, this will be enough (AFAIK for the moment) to distinguish which key is being configured. Regarding SIOCSIWENCODE, I understand that there is no need to support it (at least wrt wpa_supplicant) since mac80211 supports SIOCSIWENCODEEXT and wpa_supplicant won't send SIOCSIWENCODE if SIOCSIWENCODEEXT call succeeds right ? iwconfig sends SIOCSIWENCODE but AFAIK, iwconfig configs only default keys (or broadcast (default key) as RFC 3580 calls it), so no possibility to be mistaken here... Thanks for you help ! > > > -- > Jouni Malinen PGP id EFC895FA > -- Emmanuel Grumbach egrumbach@xxxxxxxxx -- 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