add devicescape 802.11 stack
[openwrt/staging/mkresin.git] / openwrt / target / linux / package / ieee80211-dscape / src / wpa.h
1 /*
2 * Copyright 2002-2004, Instant802 Networks, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9 #ifndef WPA_H
10 #define WPA_H
11
12 ieee80211_txrx_result
13 ieee80211_tx_h_michael_mic_add(struct ieee80211_txrx_data *tx);
14 ieee80211_txrx_result
15 ieee80211_rx_h_michael_mic_verify(struct ieee80211_txrx_data *rx);
16
17 ieee80211_txrx_result
18 ieee80211_tx_h_tkip_encrypt(struct ieee80211_txrx_data *tx);
19 ieee80211_txrx_result
20 ieee80211_rx_h_tkip_decrypt(struct ieee80211_txrx_data *rx);
21
22 ieee80211_txrx_result
23 ieee80211_tx_h_ccmp_encrypt(struct ieee80211_txrx_data *tx);
24 ieee80211_txrx_result
25 ieee80211_rx_h_ccmp_decrypt(struct ieee80211_txrx_data *rx);
26
27 int ieee80211_get_hdr_info(const struct sk_buff *skb, u8 **sa, u8 **da,
28 u8 *qos_tid, u8 **data, size_t *data_len);
29
30 #endif /* WPA_H */