mac80211: allow driver access to TKIP RX P1K
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Jul 2011 17:50:34 +0000 (19:50 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 15 Jul 2011 17:38:32 +0000 (13:38 -0400)
commit8bca5d815311f53ada13b62f5e590df40fef317e
tree7cd6d9d7804c0aa86e1bf4226c4a8196acc3a5c7
parent66760eac005d569393bac34136bcbb8af55d8a5a
mac80211: allow driver access to TKIP RX P1K

When the driver wants to pre-program the TKIP
RX phase 1 key, it needs to be able to obtain
it for the peer's TA. Add API to allow it to
generate it.

The generation uses a dummy on-stack context
since it doesn't know the RX queue.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/tkip.c