On Saturday 14 May 2011 00:21:41 Ignacy Gawedzki wrote: > On Fri, May 13, 2011 at 10:31:47PM +0200, thus spake Christian Lamparter: > > Note: there's a special bit [RX_MAC_CONTROL - bit 6] which instructs the key > > cache controller to do the "key security settings" lookup with addr2 for all > > bc/mc frames. If we enable this bit and modify carl9170_op_set_key to set the > > per station gtk correctly [i.e.: use sta->addr as MAC and put the keys into > > the per-sta space [0-63?]] we should be able to enable PER_STA_GTK... > > although the driver will be restricted to a single vif [I think]. > > If I understand correctly, by PER_STA_GTK you mean a different encryption key > for each one-hop neighbor. It happens to be unnecessary in my case as one > "ad-hoc-global" encryption key would be enough. yes, but AFAIK that's not how it works. There's no "global" encryption key see 802.11-2007 8.4.9 RSNA key management in an IBSS: "Each Authenticator generates its own GTK and uses either the 4-Way Handshake or Group Key Handshake to transfer the GTK to other STAs with whom it has completed a 4-Way Handshake." Regards, Chr -- 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