mac80211: Add MIC space only for TX key option
authorDavid Spinadel <david.spinadel@intel.com>
Fri, 1 Dec 2017 11:50:52 +0000 (13:50 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Dec 2017 11:20:17 +0000 (12:20 +0100)
commit9de18d8186cb070d22ed67a3f75a2ef5fbf3ef6f
tree936a15e2817360d322ebe90373099da0d3f478a9
parentc7c477b52c4caa2cfb44bf3841f806d1bf20e0bf
mac80211: Add MIC space only for TX key option

Add a key flag to indicates that the device only needs
MIC space and not a real MIC.
In such cases, keep the MIC zeroed for ease of debug.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/key.c
net/mac80211/tx.c
net/mac80211/wpa.c