mac80211: allow drivers to access key sequence counter
commit3ea542d3c2862142ae511fac5ce2dfc7419dcc53
authorJohannes Berg <johannes.berg@intel.com>
Thu, 7 Jul 2011 16:58:00 +0000 (7 18:58 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Jul 2011 15:42:22 +0000 (8 11:42 -0400)
tree472807c6d2a0aefa050a63cc34d9e2a2f7a3f2a6
parent9e26297a56453315ae6829aec609b5a6309af7b4
mac80211: allow drivers to access key sequence counter

In order to implement GTK rekeying, the device needs
to be able to encrypt frames with the right PN/IV and
check the PN/IV in RX frames. To be able to tell it
about all those counters, we need to be able to get
them from mac80211, this adds the required API.

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