rt2x00: Move iv_len into tx descriptor data
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 26 Apr 2009 14:08:30 +0000 (16:08 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:14:49 +0000 (15:14 -0400)
commit9eb4e21e289beba9cfe34f24920eee83c144e62f
treeab2da2b66f308e94159742b52a126787a8e2d1a5
parentbbb33881ae5bfe4197a005dc03b29b7dcc07fa28
rt2x00: Move iv_len into tx descriptor data

By placing the iv_len into the tx descriptor data and
by passing this data to the crypto IV handlers we can
save multiple calls to ieee80211_get_hdrlen_from_skb()
and some if-statements when copying/removing the IV data
from the outgoing frame.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00crypto.c
drivers/net/wireless/rt2x00/rt2x00lib.h
drivers/net/wireless/rt2x00/rt2x00queue.c
drivers/net/wireless/rt2x00/rt2x00queue.h