mac80211: get a TKIP phase key from skb
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 20 Mar 2008 13:06:41 +0000 (15:06 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Mar 2008 20:41:52 +0000 (16:41 -0400)
commit5d2cdcd4e85c5187db30a6b29f79fbbe59f39f78
tree0c7e079a30871fb593c282a7a711ccc90c31af1a
parent17e476b8db13790c03e2c46d93abc71468fca47e
mac80211: get a TKIP phase key from skb

This patch makes mac80211 able to compute a TKIP key from an skb.
The requested key can be a phase 1 or a phase 2 key.
This is useful for drivers who need to provide tkip key to their
HW to enable HW encryption.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/tkip.c