aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ieee80211_crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/ieee80211_crypt.h')
-rw-r--r--include/net/ieee80211_crypt.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/net/ieee80211_crypt.h b/include/net/ieee80211_crypt.h
index 225fc751d464..cd82c3e998e4 100644
--- a/include/net/ieee80211_crypt.h
+++ b/include/net/ieee80211_crypt.h
@@ -23,12 +23,18 @@
23#ifndef IEEE80211_CRYPT_H 23#ifndef IEEE80211_CRYPT_H
24#define IEEE80211_CRYPT_H 24#define IEEE80211_CRYPT_H
25 25
26#include <linux/skbuff.h> 26#include <linux/types.h>
27#include <linux/list.h>
28#include <net/ieee80211.h>
29#include <asm/atomic.h>
27 30
28enum { 31enum {
29 IEEE80211_CRYPTO_TKIP_COUNTERMEASURES = (1 << 0), 32 IEEE80211_CRYPTO_TKIP_COUNTERMEASURES = (1 << 0),
30}; 33};
31 34
35struct sk_buff;
36struct module;
37
32struct ieee80211_crypto_ops { 38struct ieee80211_crypto_ops {
33 const char *name; 39 const char *name;
34 struct list_head list; 40 struct list_head list;
@@ -87,6 +93,8 @@ struct ieee80211_crypt_data {
87 atomic_t refcnt; 93 atomic_t refcnt;
88}; 94};
89 95
96struct ieee80211_device;
97
90int ieee80211_register_crypto_ops(struct ieee80211_crypto_ops *ops); 98int ieee80211_register_crypto_ops(struct ieee80211_crypto_ops *ops);
91int ieee80211_unregister_crypto_ops(struct ieee80211_crypto_ops *ops); 99int ieee80211_unregister_crypto_ops(struct ieee80211_crypto_ops *ops);
92struct ieee80211_crypto_ops *ieee80211_get_crypto_ops(const char *name); 100struct ieee80211_crypto_ops *ieee80211_get_crypto_ops(const char *name);