In the ieee80211_free_sta_keys, the key idx 4 is not deleted, since it is limited by NUM_DEFAULT_KEYS. ---- Chun-Yeow On Tue, Jun 18, 2013 at 3:56 PM, Yeoh Chun-Yeow <yeohchunyeow@xxxxxxxxx> wrote: > In authsae, we have a GTK with key index 4 as follow: > install_key(&nlcfg, peer, CIPHER_AES_CMAC, NL80211_KEYTYPE_GROUP, 4, peer_mgtk); > > We may need to delete this key while doing re-authentication for the > same peer mesh STA due to accidental reboot. Otherwise, this GTK key > is not deleted. > > --- > Chun-Yeow > > On Tue, Jun 18, 2013 at 3:31 PM, Johannes Berg > <johannes@xxxxxxxxxxxxxxxx> wrote: >> On Tue, 2013-06-18 at 12:07 +0800, Chun-Yeow Yeoh wrote: >>> This is to support key deletion for mesh interface, especially >>> to be used for key which is not deleted even with the deletion >>> of peer mesh station. >> >> Can you explain which keys in mesh aren't deleted? It seems the >> per-station keys would be deleted when the station is deleted, and >> something like "GTK" would be deleted when leaving the mesh? >> >> johannes >> -- 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