cfg80211/nl80211: support GTK rekey offload
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Jul 2011 14:35:40 +0000 (16:35 +0200)
committerDmitry Shmidt <dimitrysh@google.com>
Fri, 24 Aug 2012 20:44:43 +0000 (13:44 -0700)
commit97ce108d89e5b98f64c6192aad66e70fb9a0f45e
tree1572b695eca23807b84e88ffa7346e69b91b9620
parenteca0e767ef4c74bd0b6ad6a7384fa2869a2a96b9
cfg80211/nl80211: support GTK rekey offload

In certain circumstances, like WoWLAN scenarios,
devices may implement (partial) GTK rekeying on
the device to avoid waking up the host for it.

In order to successfully go through GTK rekeying,
the KEK, KCK and the replay counter are required.

Add API to let the supplicant hand the parameters
to the driver which may store it for future GTK
rekey operations.

Note that, of course, if GTK rekeying is done by
the device, the EAP frame must not be passed up
to userspace, instead a rekey event needs to be
sent to let userspace update its replay counter.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Conflicts:

include/linux/nl80211.h
net/wireless/nl80211.c

Change-Id: Icd3a157742b08c01a3be20d46d4112e5d4b93a58
include/linux/nl80211.h
include/net/cfg80211.h
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/nl80211.h