aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00lib.h
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-12-02 12:20:42 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-12-05 09:35:51 -0500
commitdddfb478b26e29a2b47f655ec219e743b8111015 (patch)
tree040ba518fcddc9b2e89a8bbf9d3a2e2d24f14b0e /drivers/net/wireless/rt2x00/rt2x00lib.h
parent0b927a079106e5f66c736e297370d3feb008e28e (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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h
index 93997333d46..1e1893772b6 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
220enum cipher rt2x00crypto_key_to_cipher(struct ieee80211_key_conf *key); 220enum cipher rt2x00crypto_key_to_cipher(struct ieee80211_key_conf *key);
221unsigned int rt2x00crypto_tx_overhead(struct ieee80211_tx_info *tx_info); 221unsigned int rt2x00crypto_tx_overhead(struct ieee80211_tx_info *tx_info);
222void rt2x00crypto_tx_copy_iv(struct sk_buff *skb, unsigned int iv_len);
222void rt2x00crypto_tx_remove_iv(struct sk_buff *skb, unsigned int iv_len); 223void rt2x00crypto_tx_remove_iv(struct sk_buff *skb, unsigned int iv_len);
223void rt2x00crypto_tx_insert_iv(struct sk_buff *skb); 224void rt2x00crypto_tx_insert_iv(struct sk_buff *skb);
224void rt2x00crypto_rx_insert_iv(struct sk_buff *skb, unsigned int align, 225void 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
239static inline void rt2x00crypto_tx_copy_iv(struct sk_buff *skb,
240 unsigned int iv_len)
241{
242}
243
238static inline void rt2x00crypto_tx_remove_iv(struct sk_buff *skb, 244static inline void rt2x00crypto_tx_remove_iv(struct sk_buff *skb,
239 unsigned int iv_len) 245 unsigned int iv_len)
240{ 246{