Commit f9a060f4 authored by Johannes Berg's avatar Johannes Berg

mac80211: add pointer for driver use to key

Some drivers may need to store data per key, for example for PN
validation. Allow this by adding a pointer to the struct that
the driver can assign.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 33c2f538
...@@ -1492,8 +1492,10 @@ enum ieee80211_key_flags { ...@@ -1492,8 +1492,10 @@ enum ieee80211_key_flags {
* - Temporal Authenticator Rx MIC Key (64 bits) * - Temporal Authenticator Rx MIC Key (64 bits)
* @icv_len: The ICV length for this key type * @icv_len: The ICV length for this key type
* @iv_len: The IV length for this key type * @iv_len: The IV length for this key type
* @drv_priv: pointer for driver use
*/ */
struct ieee80211_key_conf { struct ieee80211_key_conf {
void *drv_priv;
atomic64_t tx_pn; atomic64_t tx_pn;
u32 cipher; u32 cipher;
u8 icv_len; u8 icv_len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment