]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1858382d801d8305c1acfdeaab47d14580bffcc6
tree75fc047570677de0a2ea6f9846ca41af61a74c68
parent91f61b83e48dc30146ff29675b2895b57a988cd1
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