]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: mvm: Support TKIP on gen2 data path
authorDavid Spinadel <david.spinadel@intel.com>
Tue, 7 Nov 2017 09:59:57 +0000 (11:59 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 28 Sep 2018 05:57:24 +0000 (08:57 +0300)
commit7f768ad5eb46a8a12c9bb8e37e73fe5b4a66533b
tree0ccd212a1b3a69223644146d5671d9b768f76bfb
parent84fb372c892e231e9a2ffdaa5c2df52d94aa536c
iwlwifi: mvm: Support TKIP on gen2 data path

Make the adjustments for gen2 TX and RX of TKIP packets.  Strip MIC on
RX.  Don't add IV space and keep the MIC space zeroed on TX.

Devices that support gen2 data path support TKIP only in station mode.
In all other modes, fall back to SW encryption. Do this early in the
set_key() callback so that the key flags would not be incorrectly set.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c