]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add function to create data frame template including key
authorJohannes Berg <johannes.berg@intel.com>
Sun, 9 Nov 2014 16:50:11 +0000 (18:50 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Nov 2014 17:44:43 +0000 (18:44 +0100)
commit8b042fa74237d264f39bddcc164e501b139a3f23
treeee4d7d9db3393669cf0c3daf01d092d15e945981
parentd5867a90af1931238e4b586ba19fe94c83e51c06
mac80211: add function to create data frame template including key

For some TDLS channel switch implementations data frames need to be
sent by the firmware based on a template. This template should be
created by mac80211, and thus needs to properly be built from an
802.3 frame into an 802.11 frame. In addition, the device will need
the key information so the select_key handler needs to be run.
However, the driver/device will be responsible for all of the crypto
encapsulation, as the sequence numbers etc. cannot be built by the
host anyway in this case since it's a template to be used multiple
times.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/tx.c