]> 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)
commit2f7c4f99e7f4e6bea579560c4d82b742cea13df4
tree4b2c5ab023fc4577748c2a340f10ab6cd0ea515e
parent2bd123ddf3c5b11b775a91a238db90d2c5f168ad
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