mac80211: Skip tailroom reservation for full HW-crypto devices
authorYogesh Ashok Powar <yogeshp@marvell.com>
Wed, 27 Apr 2011 13:10:29 +0000 (18:40 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Apr 2011 18:53:21 +0000 (14:53 -0400)
commitaac6af5534fade2b18682a0b9efad1a6c04c34c6
tree786840d7b3dc0ea942e91075ffe6f2cf5ba9d5d9
parente2186b7c25ef9cdb6d631c8dd6a672f41abe22d5
mac80211: Skip tailroom reservation for full HW-crypto devices

In xmit path, devices that do full hardware crypto (including
TKIP MMIC) need no tailroom. For such devices, tailroom
reservation can be skipped if all the keys are programmed into
the hardware (i.e software crypto is not used for any of the
keys) and none of the keys wants software to generate Michael
MIC.

Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/key.c
net/mac80211/tx.c