diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-12-02 12:20:42 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-05 09:35:51 -0500 |
commit | dddfb478b26e29a2b47f655ec219e743b8111015 (patch) | |
tree | 040ba518fcddc9b2e89a8bbf9d3a2e2d24f14b0e /drivers/net/wireless/rt2x00/rt2x00lib.h | |
parent | 0b927a079106e5f66c736e297370d3feb008e28e (diff) |
rt2x00: Implement HW encryption (rt2500usb)
rt2500usb supports hardware encryption.
rt2500usb supports up to 4 shared and pairwise keys.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00lib.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00lib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h index 93997333d46d..1e1893772b6c 100644 --- a/drivers/net/wireless/rt2x00/rt2x00lib.h +++ b/drivers/net/wireless/rt2x00/rt2x00lib.h | |||
@@ -219,6 +219,7 @@ static inline void rt2x00debug_update_crypto(struct rt2x00_dev *rt2x00dev, | |||
219 | #ifdef CONFIG_RT2X00_LIB_CRYPTO | 219 | #ifdef CONFIG_RT2X00_LIB_CRYPTO |
220 | enum cipher rt2x00crypto_key_to_cipher(struct ieee80211_key_conf *key); | 220 | enum cipher rt2x00crypto_key_to_cipher(struct ieee80211_key_conf *key); |
221 | unsigned int rt2x00crypto_tx_overhead(struct ieee80211_tx_info *tx_info); | 221 | unsigned int rt2x00crypto_tx_overhead(struct ieee80211_tx_info *tx_info); |
222 | void rt2x00crypto_tx_copy_iv(struct sk_buff *skb, unsigned int iv_len); | ||
222 | void rt2x00crypto_tx_remove_iv(struct sk_buff *skb, unsigned int iv_len); | 223 | void rt2x00crypto_tx_remove_iv(struct sk_buff *skb, unsigned int iv_len); |
223 | void rt2x00crypto_tx_insert_iv(struct sk_buff *skb); | 224 | void rt2x00crypto_tx_insert_iv(struct sk_buff *skb); |
224 | void rt2x00crypto_rx_insert_iv(struct sk_buff *skb, unsigned int align, | 225 | void rt2x00crypto_rx_insert_iv(struct sk_buff *skb, unsigned int align, |
@@ -235,6 +236,11 @@ static inline unsigned int rt2x00crypto_tx_overhead(struct ieee80211_tx_info *tx | |||
235 | return 0; | 236 | return 0; |
236 | } | 237 | } |
237 | 238 | ||
239 | static inline void rt2x00crypto_tx_copy_iv(struct sk_buff *skb, | ||
240 | unsigned int iv_len) | ||
241 | { | ||
242 | } | ||
243 | |||
238 | static inline void rt2x00crypto_tx_remove_iv(struct sk_buff *skb, | 244 | static inline void rt2x00crypto_tx_remove_iv(struct sk_buff *skb, |
239 | unsigned int iv_len) | 245 | unsigned int iv_len) |
240 | { | 246 | { |