]> err.no Git - linux-2.6/commit
mac80211: allows driver to request a Phase 1 RX key
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 20 Mar 2008 13:06:42 +0000 (15:06 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Mar 2008 20:41:53 +0000 (16:41 -0400)
commit9ae4fda332df616ef47d5bb710c39681641d4303
tree7cecfed1dfac8e6fdf7e33957d7da7767a35619c
parent5d2cdcd4e85c5187db30a6b29f79fbbe59f39f78
mac80211: allows driver to request a Phase 1 RX key

This patch makes mac80211 able to send a phase1 key for TKIP
decryption.
This is needed for drivers that don't do the rekeying by themselves
(i.e. iwlwifi). Upon IV16 wrap around, the packet is decrypted in SW,
if decryption is ok, mac80211 calls to update_tkip_key  with a new
phase 1 RX key.

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
net/mac80211/tkip.h
net/mac80211/wpa.c