mac80211: allow driver to generate P1K for IV32
authorJohannes Berg <johannes.berg@intel.com>
Thu, 7 Jul 2011 16:58:01 +0000 (18:58 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Jul 2011 15:42:23 +0000 (11:42 -0400)
commit42d98795505314c7af42c7c6b988425300958ed3
tree75fc047570677de0a2ea6f9846ca41af61a74c68
parent3ea542d3c2862142ae511fac5ce2dfc7419dcc53
mac80211: allow driver to generate P1K for IV32

In order to support pre-populating the P1K cache in
iwlwifi hardware for WoWLAN, we need to calculate
the P1K for the current IV32. Allow drivers to get
the P1K for any given IV32 instead of for a given
packet, but keep the packet-based version around as
an inline.

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