diff options
Diffstat (limited to 'net/mac80211/michael.h')
| -rw-r--r-- | net/mac80211/michael.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net/mac80211/michael.h b/net/mac80211/michael.h index 2e6aebabeea..0e4886f881f 100644 --- a/net/mac80211/michael.h +++ b/net/mac80211/michael.h @@ -11,10 +11,15 @@ #define MICHAEL_H #include <linux/types.h> +#include <linux/ieee80211.h> #define MICHAEL_MIC_LEN 8 -void michael_mic(u8 *key, u8 *da, u8 *sa, u8 priority, - u8 *data, size_t data_len, u8 *mic); +struct michael_mic_ctx { + u32 l, r; +}; + +void michael_mic(const u8 *key, struct ieee80211_hdr *hdr, + const u8 *data, size_t data_len, u8 *mic); #endif /* MICHAEL_H */ |
