OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33c2f53
)
mac80211: add pointer for driver use to key
author
Johannes Berg
<johannes.berg@intel.com>
Fri, 12 Jun 2015 12:55:34 +0000
(14:55 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Fri, 17 Jul 2015 13:38:22 +0000
(15:38 +0200)
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: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
patch
|
blob
|
history
diff --git
a/include/net/mac80211.h
b/include/net/mac80211.h
index
8f61a23
..
484cc14
100644
(file)
--- a/
include/net/mac80211.h
+++ b/
include/net/mac80211.h
@@
-1492,8
+1492,10
@@
enum ieee80211_key_flags {
* - Temporal Authenticator Rx MIC Key (64 bits)
* @icv_len: The ICV length for this key type
* @iv_len: The IV length for this key type
+ * @drv_priv: pointer for driver use
*/
struct ieee80211_key_conf {
+ void *drv_priv;
atomic64_t tx_pn;
u32 cipher;
u8 icv_len;