summaryrefslogtreecommitdiff
path: root/net/mac80211/wapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/wapi.h')
-rw-r--r--net/mac80211/wapi.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/net/mac80211/wapi.h b/net/mac80211/wapi.h
new file mode 100644
index 00000000000..f06eee0cb7c
--- /dev/null
+++ b/net/mac80211/wapi.h
@@ -0,0 +1,27 @@
+/*
+ * Software WAPI encryption implementation
+ * Copyright (c) 2011, ST-Ericsson
+ * Author: Janusz Dziedzic <janusz.dziedzic@tieto.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef WAPI_H
+#define WAPI_H
+
+#include <linux/skbuff.h>
+#include <linux/types.h>
+#include "ieee80211_i.h"
+#include "key.h"
+
+#ifndef ETH_P_WAPI
+#define ETH_P_WAPI 0x88B4
+#endif
+
+
+ieee80211_rx_result
+ieee80211_crypto_wapi_decrypt(struct ieee80211_rx_data *rx);
+
+#endif /* WAPI_H */