]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add op to configure default key id
authorYoni Divinsky <yoni.divinsky@ti.com>
Wed, 30 May 2012 08:36:39 +0000 (11:36 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jan 2013 12:30:21 +0000 (13:30 +0100)
commitfb13c31324e097c72df28a59e64ad15cb6e119b0
tree4b2c5ab023fc4577748c2a340f10ab6cd0ea515e
parent687723c1aaf373d630b6185d9646fee4a2489a62
mac80211: add op to configure default key id

There are hardwares which support offload of data packets
for example when auto ARP is enabled the hw will send
the ARP response. In such cases if WEP encryption is
configured the hw must know the default WEP key in order
to encrypt the packets correctly.

When hw_accel is enabled and encryption type is set to WEP,
the driver should get the default key index from mac80211.

Signed-off-by: Yoni Divinsky <yoni.divinsky@ti.com>
[cleanups, fixes, documentation]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/key.c
net/mac80211/trace.h