On Fri, 2011-04-15 at 14:10 +0530, Yogesh Ashok Powar wrote: > Define a flag say IEEE80211_CRYPTO_NO_TAILROOM_NEEDED per key. Drivers > need to set this flag in set_key handler for the keys which requires no > extra tailroom. This isn't necessary. You already know from the existing flags, the only relevant one is IEEE80211_KEY_FLAG_GENERATE_MMIC which must be unset. > Then Skip the code which expands the skb iff > IEEE80211_CRYPTO_NO_TAILROOM_NEEDED is set and the key is programmed > into the hardware (checking KEY_FLAG_UPLOADED_TO_HARDWARE). You don't know the key at this point, so you have to keep track of whether this is true for all keys, which depends on whether or not they're already programmed into the HW (since for SW crypto we need the tailroom) 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