struct ieee80211_key_conf — key information
struct ieee80211_key_conf { atomic64_t tx_pn; u32 cipher; u8 icv_len; u8 iv_len; u8 hw_key_idx; u8 flags; s8 keyidx; u8 keylen; u8 key[0]; };
PN used for TX on non-TKIP keys, may be used by the driver as well if it needs to do software PN assignment by itself (e.g. due to TSO)
The key's cipher suite selector.
The ICV length for this key type
The IV length for this key type
To be set by the driver, this is the key index the driver wants to be given when a frame is transmitted and needs to be encrypted in hardware.
key flags, see enum ieee80211_key_flags.
the key index (0-3)
key material length
key material. For ALG_TKIP the key is encoded as a 256-bit (32 byte)
This key information is given by mac80211 to the driver by
the set_key
callback in struct ieee80211_ops.